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.
July
@karatla
Install
$ openclaw skills install @karatla/opencode-controllerOpencode 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.
Related skills
Claude Code Agent
@enderfgaProgrammatically control Claude Code via MCP protocol to execute commands, manage sessions, search and edit code, and coordinate agent teams for development...
Tmux Agents
@cuba6112Manage background coding agents in tmux sessions. Spawn Claude Code or other agents, check progress, get results.
Agent of Empires
@njbrakeManage AI coding agent sessions via Agent of Empires (aoe)
Claude Code Integration
@hw10181913Claude Code integration for OpenClaw. This skill provides interfaces to: - Query Claude Code documentation from https://code.claude.com/docs - Manage subagents and coding tasks - Execute AI-assisted coding workflows - Access best practices and common workflows Use this skill when users want to: - Get help with coding tasks - Query Claude Code documentation - Manage AI-assisted development workflows - Execute complex programming tasks
Agentic Coding
@ivangdavilaShip production code with AI agents through acceptance contracts, micro diffs, red green loops, and deterministic handoff checkpoints.
Vibe Coding
@ivangdavilaBuild software with AI by describing what you want. Covers prompting techniques, workflow patterns, rules files, and when to intervene.