opencode-controller
/opencode-controller
Control and operate Opencode via slash commands. Use this skill to manage sessions, select models, switch agents (plan/build), and coordinate coding through Opencode.
- Author
- craftos-dev ↗
- Repository
- craftbot ↗
- Licence
- MIT
- Last repository change
- 04.11.2026
Assessment and security
- Files in this package
- 11
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 04.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Control and operate Opencode via slash commands. Use this skill to manage sessions, select models, switch agents (plan/build), and coordinate coding through Opencode.
Original author description
Control and operate Opencode via slash commands. Use this skill to manage sessions, select models, switch agents (plan/build), and coordinate coding through Opencode.
How it works
- Core rule
- Pre-flight
- Session management
- Agent (mode) control
- Model selection
- Plan agent behavior
- Build agent behavior
- Completion
- Output format
SKILL.md preview
--- name: opencode-controller description: Control and operate Opencode via slash commands. Use this skill to manage sessions, select models, switch agents (plan/build), and coordinate coding through Opencode. --- # Opencode Controller ## Core rule Clawdbot does not write code. All planning and coding happens inside Opencode. ## Pre-flight - Ask the user which AI provider to use. - Ask how the provider should be authenticated. - Do not proceed without confirmation. ## Session management - Start Opencode. - Open session selector using: /sessions - If the current project already exists: - Select the existing session. - Never create a new session without user approval. ## Agent (mode) control - Open agent selector using: /agents - Available agents: - Plan - Build - Always select Plan first. - Switch agents whenever required using `/agents`. ## Model selection - Open model selector using: /models - Select the user-requested provider. - If authentication is required: - Copy the login link provided by Opencode. - Send it to the user. - Wait for confirmation before continuing. ## Plan agent behavior - Ask Opencode to analyze the task. - Request a clear step-by-step plan. - Allow Opencode to ask clarification questions. - Review the plan carefully. - If the plan is incorrect or incomplete: - Ask Opencode to revise it. - Do not allow code generation in Plan. ## Build agent behavior - Switch to Build using `/agents`. - Ask Opencode to implement the approved plan. - If Opencode asks any question: - Immediately switch back to Plan. - Answer and confirm the plan. - Switch back to Build. ## Completion - Repeat the Plan → Build loop until all user requirements are satisfied. - Never skip Plan. - Never answer questions in Build. ## Output format - Show all slash commands explicitly. - State which option is selected. - Provide login links verbatim.
Files in this package (11)
- SKILL.md 2 KB
- _meta.json 1 KB
- .clawhub/origin.json 1 KB
- assets/operator-prompts.md 1 KB
- references/command-cheatsheet.md 1 KB
- references/failure-handling.md 1 KB
- references/model-selection.md 1 KB
- references/plan-vs-build.md 1 KB
- references/question-handling.md 1 KB
- references/session-management.md 1 KB
- references/workflow.md 1 KB
Versions
The database has no other skills named opencode-controller.
Database snapshot: 13.11.2026 · package version 2e012ea3512f (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100opencode
OpenCode is an open-source AI coding agent that runs in the terminal, reads a codebase, edits files and runs shell commands using any of 75+ model providers or a local model. Use it to set up OpenCode, write opencode.json, choose models and providers, restrict permissions,… - 100code-mate-opencode
Run OpenCode non-interactively for coding tasks. Use when the user asks to delegate work to OpenCode. - 100oc-create-command
Guides through creating a new OpenCode command with interactive interview, $VARIABLE configuration, and validation. Use when user says "create opencode command", "new opencode command", "build command for opencode", or wants to create an OpenCode command markdown file. - 90opencode-foreman
Use when the user asks to delegate implementation or code review to opencode ("use opencode", "สั่ง opencode", "ให้ opencode ทำ", "foreman"), or to execute a plan with opencode workers instead of Claude subagents. Claude stays the foreman; opencode does the work. - 100working-with-opencode
Use when working with OpenCode CLI, plugins, skills, hooks, configuration, or any OpenCode feature - provides comprehensive official documentation for all aspects of the OpenCode AI coding assistant - 100oc-create-skill
Guides through creating a new OpenCode-compatible skill with interactive interview, best-practice enforcement, and validation. Use when user says "create opencode skill", "new opencode skill", "build skill for opencode", or wants to create an OpenCode SKILL.md file.