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-code

Installs 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

TypeGlobalProject
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

More from igorwarzocha/opencode-workflows

All 7

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps 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 int4.3Mskills.sh installs