What I do
When you need to understand how opencode works — its configuration, features, skills, rules, MCP servers, providers, or any other aspect — I point you to the authoritative source: the opencode repo's documentation.
When to use me
- •You need to understand an opencode feature, config option, or API
- •You are unsure how opencode handles something (skills, rules, providers, tools, etc.)
- •You want to verify opencode behavior rather than guessing
Instructions
- •
Clone the opencode repo (if not already cloned):
bashgit clone --depth 1 https://github.com/anomalyco/opencode.git /tmp/opencode
- •
Documentation lives at:
code/tmp/opencode/packages/web/src/content/docs/
Files are in
.mdxformat organized by topic. - •
Read the relevant docs using local file tools (Read, Grep, Glob) to find accurate answers.
- •
For implementation details, also check the source code in:
- •
/tmp/opencode/packages/opencode/— core agent logic - •
/tmp/opencode/packages/tui/— terminal UI
- •
- •
Reuse existing clone — if
/tmp/opencodealready exists, don't re-clone.
Key rules
- •Always prefer reading the actual docs/source over guessing about opencode behavior
- •The repo is at
github.com/anomalyco/opencode(moved fromsst/opencode) - •Docs are MDX files — read them as markdown