2026-02-20 01:11:30 -08:00
{
"$schema" : "https://opencode.ai/config.json" ,
"model" : "anthropic/claude-sonnet-4-5" ,
"small_model" : "anthropic/claude-haiku-4-5" ,
"default_agent" : "build" ,
"instructions" : [
2026-02-25 10:45:29 -08:00
"AGENTS.md" ,
2026-02-20 01:11:30 -08:00
"CONTRIBUTING.md" ,
".opencode/instructions/INSTRUCTIONS.md" ,
"skills/tdd-workflow/SKILL.md" ,
"skills/security-review/SKILL.md" ,
2026-02-25 10:45:29 -08:00
"skills/coding-standards/SKILL.md" ,
"skills/frontend-patterns/SKILL.md" ,
2026-02-27 05:39:31 -08:00
"skills/frontend-slides/SKILL.md" ,
2026-02-25 10:45:29 -08:00
"skills/backend-patterns/SKILL.md" ,
"skills/e2e-testing/SKILL.md" ,
"skills/verification-loop/SKILL.md" ,
"skills/api-design/SKILL.md" ,
"skills/strategic-compact/SKILL.md" ,
"skills/eval-harness/SKILL.md"
2026-02-20 01:11:30 -08:00
],
"plugin" : [
"./.opencode/plugins"
],
"agent" : {
"build" : {
"description" : "Primary coding agent for development work" ,
"mode" : "primary" ,
"model" : "anthropic/claude-sonnet-4-5" ,
"tools" : {
"write" : true ,
"edit" : true ,
"bash" : true ,
"read" : true
}
},
"planner" : {
"description" : "Expert planning specialist for complex features and refactoring. Use for implementation planning, architectural changes, or complex refactoring." ,
"mode" : "subagent" ,
"model" : "anthropic/claude-opus-4-5" ,
2026-03-07 20:26:04 -08:00
"prompt" : "{file:.opencode/prompts/agents/planner.txt}" ,
2026-02-20 01:11:30 -08:00
"tools" : {
"read" : true ,
"bash" : true ,
"write" : false ,
"edit" : false
}
},
"architect" : {
"description" : "Software architecture specialist for system design, scalability, and technical decision-making." ,
"mode" : "subagent" ,
"model" : "anthropic/claude-opus-4-5" ,
2026-03-07 20:26:04 -08:00
"prompt" : "{file:.opencode/prompts/agents/architect.txt}" ,
2026-02-20 01:11:30 -08:00
"tools" : {
"read" : true ,
"bash" : true ,
"write" : false ,
"edit" : false
}
},
"code-reviewer" : {
"description" : "Expert code review specialist. Reviews code for quality, security, and maintainability. Use immediately after writing or modifying code." ,
"mode" : "subagent" ,
"model" : "anthropic/claude-opus-4-5" ,
2026-03-07 20:26:04 -08:00
"prompt" : "{file:.opencode/prompts/agents/code-reviewer.txt}" ,
2026-02-20 01:11:30 -08:00
"tools" : {
"read" : true ,
"bash" : true ,
"write" : false ,
"edit" : false
}
},
"security-reviewer" : {
"description" : "Security vulnerability detection and remediation specialist. Use after writing code that handles user input, authentication, API endpoints, or sensitive data." ,
"mode" : "subagent" ,
"model" : "anthropic/claude-opus-4-5" ,
2026-03-07 20:26:04 -08:00
"prompt" : "{file:.opencode/prompts/agents/security-reviewer.txt}" ,
2026-02-20 01:11:30 -08:00
"tools" : {
"read" : true ,
"bash" : true ,
"write" : true ,
"edit" : true
}
},
"tdd-guide" : {
"description" : "Test-Driven Development specialist enforcing write-tests-first methodology. Use when writing new features, fixing bugs, or refactoring code. Ensures 80%+ test coverage." ,
"mode" : "subagent" ,
"model" : "anthropic/claude-opus-4-5" ,
2026-03-07 20:26:04 -08:00
"prompt" : "{file:.opencode/prompts/agents/tdd-guide.txt}" ,
2026-02-20 01:11:30 -08:00
"tools" : {
"read" : true ,
"write" : true ,
"edit" : true ,
"bash" : true
}
},
"build-error-resolver" : {
"description" : "Build and TypeScript error resolution specialist. Use when build fails or type errors occur. Fixes build/type errors only with minimal diffs." ,
"mode" : "subagent" ,
"model" : "anthropic/claude-opus-4-5" ,
2026-03-07 20:26:04 -08:00
"prompt" : "{file:.opencode/prompts/agents/build-error-resolver.txt}" ,
2026-02-20 01:11:30 -08:00
"tools" : {
"read" : true ,
"write" : true ,
"edit" : true ,
"bash" : true
}
},
"e2e-runner" : {
"description" : "End-to-end testing specialist using Playwright. Generates, maintains, and runs E2E tests for critical user flows." ,
"mode" : "subagent" ,
"model" : "anthropic/claude-opus-4-5" ,
2026-03-07 20:26:04 -08:00
"prompt" : "{file:.opencode/prompts/agents/e2e-runner.txt}" ,
2026-02-20 01:11:30 -08:00
"tools" : {
"read" : true ,
"write" : true ,
"edit" : true ,
"bash" : true
}
},
"doc-updater" : {
"description" : "Documentation and codemap specialist. Use for updating codemaps and documentation." ,
"mode" : "subagent" ,
"model" : "anthropic/claude-opus-4-5" ,
2026-03-07 20:26:04 -08:00
"prompt" : "{file:.opencode/prompts/agents/doc-updater.txt}" ,
2026-02-20 01:11:30 -08:00
"tools" : {
"read" : true ,
"write" : true ,
"edit" : true ,
"bash" : true
}
},
"refactor-cleaner" : {
"description" : "Dead code cleanup and consolidation specialist. Use for removing unused code, duplicates, and refactoring." ,
"mode" : "subagent" ,
"model" : "anthropic/claude-opus-4-5" ,
2026-03-07 20:26:04 -08:00
"prompt" : "{file:.opencode/prompts/agents/refactor-cleaner.txt}" ,
2026-02-20 01:11:30 -08:00
"tools" : {
"read" : true ,
"write" : true ,
"edit" : true ,
"bash" : true
}
},
"go-reviewer" : {
"description" : "Expert Go code reviewer specializing in idiomatic Go, concurrency patterns, error handling, and performance." ,
"mode" : "subagent" ,
"model" : "anthropic/claude-opus-4-5" ,
2026-03-07 20:26:04 -08:00
"prompt" : "{file:.opencode/prompts/agents/go-reviewer.txt}" ,
2026-02-20 01:11:30 -08:00
"tools" : {
"read" : true ,
"bash" : true ,
"write" : false ,
"edit" : false
}
},
"go-build-resolver" : {
"description" : "Go build, vet, and compilation error resolution specialist. Fixes Go build errors with minimal changes." ,
"mode" : "subagent" ,
"model" : "anthropic/claude-opus-4-5" ,
2026-03-07 20:26:04 -08:00
"prompt" : "{file:.opencode/prompts/agents/go-build-resolver.txt}" ,
2026-02-20 01:11:30 -08:00
"tools" : {
"read" : true ,
"write" : true ,
"edit" : true ,
"bash" : true
}
},
"database-reviewer" : {
"description" : "PostgreSQL database specialist for query optimization, schema design, security, and performance. Incorporates Supabase best practices." ,
"mode" : "subagent" ,
"model" : "anthropic/claude-opus-4-5" ,
2026-03-07 20:26:04 -08:00
"prompt" : "{file:.opencode/prompts/agents/database-reviewer.txt}" ,
2026-02-20 01:11:30 -08:00
"tools" : {
"read" : true ,
"write" : true ,
"edit" : true ,
"bash" : true
}
}
},
"command" : {
"plan" : {
"description" : "Create a detailed implementation plan for complex features" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/plan.md}\n\n$ARGUMENTS" ,
2026-02-20 01:11:30 -08:00
"agent" : "planner" ,
"subtask" : true
},
"tdd" : {
"description" : "Enforce TDD workflow with 80%+ test coverage" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/tdd.md}\n\n$ARGUMENTS" ,
2026-02-20 01:11:30 -08:00
"agent" : "tdd-guide" ,
"subtask" : true
},
"code-review" : {
"description" : "Review code for quality, security, and maintainability" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/code-review.md}\n\n$ARGUMENTS" ,
2026-02-20 01:11:30 -08:00
"agent" : "code-reviewer" ,
"subtask" : true
},
"security" : {
"description" : "Run comprehensive security review" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/security.md}\n\n$ARGUMENTS" ,
2026-02-20 01:11:30 -08:00
"agent" : "security-reviewer" ,
"subtask" : true
},
"build-fix" : {
"description" : "Fix build and TypeScript errors with minimal changes" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/build-fix.md}\n\n$ARGUMENTS" ,
2026-02-20 01:11:30 -08:00
"agent" : "build-error-resolver" ,
"subtask" : true
},
"e2e" : {
"description" : "Generate and run E2E tests with Playwright" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/e2e.md}\n\n$ARGUMENTS" ,
2026-02-20 01:11:30 -08:00
"agent" : "e2e-runner" ,
"subtask" : true
},
"refactor-clean" : {
"description" : "Remove dead code and consolidate duplicates" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/refactor-clean.md}\n\n$ARGUMENTS" ,
2026-02-20 01:11:30 -08:00
"agent" : "refactor-cleaner" ,
"subtask" : true
},
"orchestrate" : {
"description" : "Orchestrate multiple agents for complex tasks" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/orchestrate.md}\n\n$ARGUMENTS" ,
2026-02-20 01:11:30 -08:00
"agent" : "planner" ,
"subtask" : true
},
"learn" : {
"description" : "Extract patterns and learnings from session" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/learn.md}\n\n$ARGUMENTS"
2026-02-20 01:11:30 -08:00
},
"checkpoint" : {
"description" : "Save verification state and progress" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/checkpoint.md}\n\n$ARGUMENTS"
2026-02-20 01:11:30 -08:00
},
"verify" : {
"description" : "Run verification loop" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/verify.md}\n\n$ARGUMENTS"
2026-02-20 01:11:30 -08:00
},
"eval" : {
"description" : "Run evaluation against criteria" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/eval.md}\n\n$ARGUMENTS"
2026-02-20 01:11:30 -08:00
},
"update-docs" : {
"description" : "Update documentation" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/update-docs.md}\n\n$ARGUMENTS" ,
2026-02-20 01:11:30 -08:00
"agent" : "doc-updater" ,
"subtask" : true
},
"update-codemaps" : {
"description" : "Update codemaps" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/update-codemaps.md}\n\n$ARGUMENTS" ,
2026-02-20 01:11:30 -08:00
"agent" : "doc-updater" ,
"subtask" : true
},
"test-coverage" : {
"description" : "Analyze test coverage" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/test-coverage.md}\n\n$ARGUMENTS" ,
2026-02-20 01:11:30 -08:00
"agent" : "tdd-guide" ,
"subtask" : true
},
"setup-pm" : {
"description" : "Configure package manager" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/setup-pm.md}\n\n$ARGUMENTS"
2026-02-20 01:11:30 -08:00
},
"go-review" : {
"description" : "Go code review" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/go-review.md}\n\n$ARGUMENTS" ,
2026-02-20 01:11:30 -08:00
"agent" : "go-reviewer" ,
"subtask" : true
},
"go-test" : {
"description" : "Go TDD workflow" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/go-test.md}\n\n$ARGUMENTS" ,
2026-02-20 01:11:30 -08:00
"agent" : "tdd-guide" ,
"subtask" : true
},
"go-build" : {
"description" : "Fix Go build errors" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/go-build.md}\n\n$ARGUMENTS" ,
2026-02-20 01:11:30 -08:00
"agent" : "go-build-resolver" ,
"subtask" : true
},
"skill-create" : {
"description" : "Generate skills from git history" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/skill-create.md}\n\n$ARGUMENTS"
2026-02-20 01:11:30 -08:00
},
"instinct-status" : {
"description" : "View learned instincts" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/instinct-status.md}\n\n$ARGUMENTS"
2026-02-20 01:11:30 -08:00
},
"instinct-import" : {
"description" : "Import instincts" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/instinct-import.md}\n\n$ARGUMENTS"
2026-02-20 01:11:30 -08:00
},
"instinct-export" : {
"description" : "Export instincts" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/instinct-export.md}\n\n$ARGUMENTS"
2026-02-20 01:11:30 -08:00
},
"evolve" : {
"description" : "Cluster instincts into skills" ,
2026-03-07 20:26:04 -08:00
"template" : "{file:.opencode/commands/evolve.md}\n\n$ARGUMENTS"
},
"promote" : {
"description" : "Promote project instincts to global scope" ,
"template" : "{file:.opencode/commands/promote.md}\n\n$ARGUMENTS"
},
"projects" : {
"description" : "List known projects and instinct stats" ,
"template" : "{file:.opencode/commands/projects.md}\n\n$ARGUMENTS"
2026-02-20 01:11:30 -08:00
}
},
"permission" : {
"mcp_*" : "ask"
}
}