ワンクリックで
opencode-agent-devkit
Generate OpenCode agent markdown definitions with safe permission presets and an interactive question flow.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generate OpenCode agent markdown definitions with safe permission presets and an interactive question flow.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Generate JSON wireframe with HTML preview
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
Evaluate and enforce whether OpenSpec artifacts can be executed by openspec/applier without scope changes or design rediscovery. Use before proposer finalization, analyzer review, and applier delegation.
Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.
Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.
Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta spec, without archiving the change.
| name | opencode-agent-devkit |
| description | Generate OpenCode agent markdown definitions with safe permission presets and an interactive question flow. |
| compatibility | opencode |
Create .opencode/agents/<name>.md (or ~/.config/opencode/agents/<name>.md) in the same format as opencode agent create, but driven by the question tool.
question tool (name, description, mode, model, permissions).Use this when you want to add or update an OpenCode agent under .opencode/agents/.
Ask follow-up questions (still via the question tool) when:
kebab-case, filename-safe)description (required; 1-2 sentences)mode (primary, subagent, or all){file:./prompts/...} reference)Optional inputs:
model, temperature, maxSteps, hidden, provider-specific optionsOpenCode decides model and provider options based on whether you explicitly set them.
model:
primary agents use the globally configured model (from your OpenCode config).subagent agents inherit the model from the invoking primary agent.model, it is pinned to that model (independent of the primary).Provider-specific knobs (for example: reasoningEffort: "high", textVerbosity: "low", etc.) can be placed as additional frontmatter keys and will be passed through to the provider.
Recommendation:
model and omit provider-specific options.model + low temperature explicitly..opencode/agents/<name>.md~/.config/opencode/agents/<name>.md@<name>)question call for the baseline.custom permissions, ask a second question call for details.kebab-case names for stability.permission: (not deprecated tools: booleans).permission.bash), rules are evaluated by wildcard match with the last matching rule winning. Put "*" first, and put specific deny/allow exceptions after it.permission.task), also start with "*": deny, then allow only explicit subagent names. Do not allow the agent to call itself.bash allowlists, always deny destructive patterns like rm *.These are suggested starting points. Customize as needed.
Note: lsp is experimental and only available when OPENCODE_EXPERIMENTAL_LSP_TOOL=true (or OPENCODE_EXPERIMENTAL=true).
permission:
edit: deny
bash: deny
webfetch: deny
task: deny
read: allow
glob: allow
grep: allow
list: allow
lsp: allow
permission:
edit: deny
webfetch: deny
task: deny
read: allow
glob: allow
grep: allow
list: allow
lsp: allow
bash:
'*': ask
'git branch --show-current*': allow
'git ls-files*': allow
'git rev-parse*': allow
'git worktree list*': allow
'git diff*': allow
'git status*': allow
'git log*': allow
'git show*': allow
'git grep*': allow
'rm *': deny
permission:
edit: allow
webfetch: deny
task: deny
read: allow
glob: allow
grep: allow
list: allow
lsp: allow
bash:
'*': allow
'git add*': deny
'git commit*': deny
'git status*': allow
'git diff*': allow
'git log*': allow
'pnpm lint*': allow
'pnpm test*': allow
'pnpm gen*': allow
'pnpm build*': allow
'rm *': deny
'git push*': deny
"*": allow), still deny destructive commands (e.g. rm *, git push*, git commit*, git add*) and keep the rest least-privilege where possible.permission.task (start with "*": deny, then allow only explicit subagent names). Never allow the agent to invoke itself, and avoid permitting other delegators to reduce the risk of infinite call loops.scripts/new_agent.pyscripts/validate_agents.pyscripts/README.mdassets/agent.body.template.mdassets/README.mdreferences/repo-agent-examples.mdreferences/README.mdSKILL.md is spelled in all capsname and description exist in YAML frontmatternamepermission.skill is not set to deny