
Opencode Config
This is your configuration hub for OpenCode. It handles opencode.json edits, AGENTS.md setup, and permission tuning through guided questions when things are ambiguous. The workflow is smart about batching related config questions together and validates changes by actually running opencode run test after modifications, not just suggesting you do it. The skill knows the difference between global and project configs, understands JSONC comment syntax, and will proactively migrate legacy fields like tools and maxSteps to the modern permission system. Use it when adding providers, locking down agent permissions, switching models, or setting up project rules. It beats manually editing JSON and hoping you didn't miss a comma.
- skills.sh installs
- 311
- GitHub stars
- 122
- last updated
- Jun 3, 2026
Install
$ npx -y skills add igorwarzocha/opencode-workflows --skill opencode-config --agent claude-codeInstalls into .claude/skills of the current project.
Files
OpenCode Configuration
Help users configure OpenCode through guided setup of config files and rules.
<question_tool>
Batching Rule: Use only for 2+ related questions; single questions use plain text.
Syntax Constraints: header max 12 chars, labels 1-5 words, mark defaults with (Recommended).
Purpose: Clarify config scope (models/permissions/rules), validate approach, and handle multiple valid options.
</question_tool>
File Locations
| Type | Global | Project |
|---|---|---|
| Config | ~/.config/opencode/opencode.json | ./opencode.json |
| Rules | ~/.config/opencode/AGENTS.md | ./AGENTS.md |
Precedence: Project > Global. Configs are merged, not replaced.
Question Tool
Batching: Use the question tool for 2+ related questions. Single questions → plain text.
Syntax: header ≤12 chars, label 1-5 words, add "(Recommended)" to default.
When to ask: Vague request ("configure opencode"), permission/security changes, or multiple valid options exist.
Workflow
Ask the user what they want to configure:
Sponsors
Details
- Repository
- github.com/igorwarzocha/opencode-workflows
- First seen
- Jun 3, 2026