{
  "name": "opencode",
  "displayName": "OpenCode",
  "version": "2.1.0",
  "description": "OpenCode uses .md files with YAML frontmatter. Agent tools use boolean format (tools: { name: true }). Permission config in opencode.json uses allow/ask/deny.",
  "outputDir": "agents",
  "fileExtension": ".md",
  "toolsFormat": "object",
  "frontmatter": {
    "include": [
      "description",
      "mode",
      "reasoning_effort",
      "permission",
      "temperature",
      "steps",
      "mcp_tools"
    ],
    "exclude": [
      "model",
      "disable-model-invocation",
      "name",
      "tools",
      "skills",
      "instructions",
      "handoffs",
      "agents",
      "user-invocable",
      "hooks",
      "globs",
      "mcpServers"
    ],
    "transform": {
      "tools": {
        "strategy": "identity"
      },
      "mode": {
        "strategy": "identity"
      }
    }
  },
  "toolMap": {
    "search/codebase": "grep",
    "search/usages": "grep",
    "search/fileSearch": "glob",
    "search/textSearch": "grep",
    "search/listDirectory": "list",
    "read/readFile": "read",
    "edit/editFiles": "edit",
    "execute/runInTerminal": "bash",
    "execute/testFailure": "bash",
    "execute/getTerminalOutput": "bash",
    "web/fetch": "webfetch",
    "agent": "task",
    "vscode/askQuestions": "question"
  },
  "excludeTools": [
    "context7_resolve-library-id",
    "context7_query-docs",
    "search/changes",
    "read/problems",
    "execute/createAndRunTask",
    "vscode/runCommand",
    "browser/openBrowserPage",
    "browser/navigatePage",
    "browser/readPage",
    "browser/clickElement",
    "browser/typeInPage",
    "browser/hoverElement",
    "browser/dragElement",
    "browser/handleDialog",
    "browser/screenshotPage"
  ],
  "agentModeOverrides": {
    "zeus": "primary",
    "athena": "primary",
    "hermes": "subagent",
    "aphrodite": "subagent",
    "demeter": "subagent",
    "prometheus": "subagent",
    "hephaestus": "subagent",
    "gaia": "subagent",
    "themis": "subagent",
    "apollo": "subagent",
    "iris": "subagent",
    "mnemosyne": "subagent",
    "nyx": "subagent",
    "talos": "subagent"
  },
  "capabilityFlags": {
    "orchestration": true,
    "approval": false,
    "diagnostics": false,
    "browser-ui": false,
    "ide-local": false,
    "github-service": false
  },
  "bodyFilters": [
    {
      "pattern": "Handoff Strategy",
      "action": "omit-section"
    },
    {
      "action": "inject-routing"
    }
  ],
  "skillsOutputDir": ".opencode/skills",
  "deploySkills": true,
  "commandsOutputDir": ".opencode/commands",
  "deployCommands": true,
  "handoffStrategy": "native",
  "ensureAgentTool": true
}
