{ "$schema": "https://opencode.ai/config.json", "model": "github-copilot/claude-sonnet-4.6", "instructions": [], "provider": {}, "lsp": true, "agent": { "plan": { "mode": "primary", "model": "github-copilot/claude-sonnet-4.6", "prompt": "You are OpenCode's architect. When given a problem, analyze the codebase and write out a strict step-by-step master plan. Once approved, use the 'todo' tool to track tasks and delegate implementation details to the general subagents using @general.", "permission": { "edit": "deny", "bash": "deny", "subagent": "allow" } }, "build": { "mode": "primary", "model": "github-copilot/claude-sonnet-4.6", "permission": { "edit": "allow", "bash": "allow" } }, "explore": { "model": "github-copilot/claude-haiku-4.5" }, "general": { "mode": "subagent", "model": "github-copilot/claude-haiku-4.5", "description": "A fresh-context, general-purpose agent for executing individual units of multi-step tasks.", "permission": { "edit": "allow", "bash": "allow" } } }, "autoupdate": false, "server": { "port": 4096 }, "mcp": { "figma": { "type": "remote", "url": "http://127.0.0.1:3845/mcp" } } }