Dashboard › opencode › Distillation
f3e59bd9-9977-4a00-9771-66023b6e79c4["lore_tm_v1_v8IZOUv5UK0ESWG6ETueKqm0xtpbHFiSrG4AmiOYSyc","lore_tm_v1__6xx7CDb6OfqoYmAUMhkS-Uzh-1-IQKN57stMa2OTi0","lore_tm_v1_LfrFGGOilaitfZd7GGFdfr40ulJJeLK9ZQJ6hF2yFUQ","lore_tm_v1_2mripVHVa0lT9uDFwHZe85BykxuWhfcPK7yBNKZYKdU","lore_tm_v1_7NPc87wF0m9zEZZngmxPEJqqfVVqp_9kDOolhnxMtyg"]
Date: Sep 8, 2026
https://opencode.ai/config.json, and every opencode.json should declare "$schema": "https://opencode.ai/config.json".opencode.json, an agent file, a skill, a plugin, or another config-time file, opencode must be quit and restarted.model always carries a provider prefix, specifically "anthropic/claude-sonnet-4-6".skills is an object with paths and/or urls, never an array.references is an object keyed by alias; each value is a local path, Git repository, or string shorthand.agent is an object keyed by agent name, never an array.command is an object keyed by command name, never an array.plugin is an array containing strings or [name, options] tuples, never an object.mcp[name].command is an array of strings, never a single string, and type is required.permission is either a string action or an object keyed by tool name; top-level permission: "allow" allows everything and is rarely desirable, while per-agent permission: overrides top-level permissions.name of up to 64 characters that matches the folder name.description is effectively required: skills without one are filtered out and never surfaced to the model."Use when...", front-load concrete trigger keywords and filenames, and use "Use ONLY when..." to avoid activation on adjacent topics.path values may be relative to the declaring config, absolute, or use ~/; Git repository values accept Git URLs, host/path references, and GitHub owner/repo shorthand, with optional branch, description, and hidden.prompt; prompt: must not also appear in frontmatter.template; template: must not also appear in frontmatter. $ARGUMENTS expands to all text after the command, while $1, $2, etc. select positional arguments.environment sets environment variables; header tokens support {env:VAR} and {file:path} interpolation, while shell-style ${VAR} is not substituted./home/byk/.local/share/opencode-v2-pilot/config/opencode, which contains exactly 9 entries: bun.lock, node_modules/, opencode.json, package.json, plugins/, service-v2-pilot.json, test/, tsconfig.json, and types/./home/byk/.local/share/opencode-v2-pilot/config/opencode/test/followup.test.ts; the recursive file result was truncated after the first 100 entries./home/byk/.local/share/opencode-v2-pilot/config/opencode; visible technical details included PtyPluginOptions, SupervisorOptions, CLOSE_TIMEOUT_MS = 27_000, KillInput, SupervisorTransport, Plugin.define, authorize, requireSession, MAX_COMMAND_LENGTH, permission action "shell", and process termination using "SIGKILL".