opencode-docslisted
Install: claude install-skill mrkhachaturov/agent-harness-docs
# OpenCode Documentation (local mirror)
The official OpenCode docs are mirrored at `~/opencode-docs/` — a flat folder
with ~34 `.md` files, auto-synced hourly from
`github.com/anomalyco/opencode` (`packages/web/src/content/docs/*.mdx`,
converted from MDX to plain Markdown).
## How to look up answers
No semantic-search tool is configured, so fall back to listing + grep:
1. **List or filter filenames** to find the relevant doc:
```
ls ~/opencode-docs/ # see all topics
ls ~/opencode-docs/ | grep -i mcp # filenames mentioning MCP
```
2. **Grep across the corpus** to find specific terms:
```
grep -l -i "subagent" ~/opencode-docs/*.md # files mentioning subagents
grep -i "opencode.jsonc" ~/opencode-docs/*.md # exact term lookup
```
3. **Read the file** fully (or with offset/limit for large ones) once you know which doc has the answer.
## When to read the full file
Fetch the raw file when grep results do not contain the exact detail
needed — typical reasons:
- exact JSON schema for `opencode.json` / `opencode.jsonc`
- full keybinds table or theme key list
- precise CLI flag spelling or full slash-command catalog
- complete list of skill / agent / MCP frontmatter fields and validation rules
To read the raw file, use the standard read tooling with the absolute path:
```
Read("/Users/<you>/opencode-docs/<filename>.md")
```
## File naming
Filenames mirror the upstream slugs at
`packages/web/src/co