opencode-v2-config
Installation
SKILL.md
OpenCode V2 Configuration
Docs: https://opencode.ai/v2/docs/config and https://opencode.ai/v2/docs/migrate-v1.
Format: JSON or JSONC with "$schema": "https://opencode.ai/config.json".
Locations (merged farthest-ancestor-first, .opencode/ variants override):
~/.config/opencode/opencode.json(c) global
<project>/opencode.json(c) project
<project>/.opencode/opencode.json(c) project (higher precedence)
Terminal-only settings (theme, keybinds) belong in ~/.config/opencode/cli.json,
never in opencode.json.