
Opencode Config
Guided setup for opencode.json and AGENTS.md covering models, permissions, rules, and validation of config edits.
- skills.sh installs
- 315
- GitHub stars
- 121
- last updated
- Jun 3, 2026
What it does
- Covers global and project config locations, with project settings merged over global ones rather than replacing them
- Includes key options such as
model,small_model,theme,autoupdate, andshare, plus a permission block for edit and bash rules - Enforces validation by running
opencode run "test"after edits and migrating legacytoolsandmaxStepsfields topermissionandsteps - Designed for users changing OpenCode provider, model, permission, or formatter settings and writing project instructions in AGENTS.md
Install
$ npx -y skills add igorwarzocha/opencode-workflows --skill opencode-config -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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:
Details
- Repository
- github.com/igorwarzocha/opencode-workflows
- First seen
- Jun 3, 2026
More from igorwarzocha/opencode-workflows
All 7Similar to Opencode Config
cavemanjuliusbrussee/caveman630.7K installsUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels
grill-memattpocock/skills1.6M installsA relentless interview to sharpen a plan or design.
improveshadcn/improve42.5K installsSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s
systematic-debuggingobra/superpowers336.3K installsUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes
karpathy-guidelinesforrestchang/andrej-karpathy-skills17.9K installsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.
find-skillsvercel-labs/skills4.4M installsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int