Skip to content

Controls Opencode through slash commands to manage sessions, models, and Plan/Build agent switching for coding work.

CCM score
44 of 100
skills.sh installs
168
GitHub stars
676
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full Opencode workflow: session selection, model and provider choice, and a Plan-then-Build coding loop
  • Uses the /sessions, /agents, and /models slash commands, with a pre-flight step asking the user to confirm provider and authentication
  • Enforces that Clawdbot writes no code, that Plan runs before Build, and that no new session is created without approval
  • Designed for users who want an assistant to coordinate planning and implementation inside Opencode rather than write code directly

Install

$ npx -y skills add sundial-org/awesome-openclaw-skills --skill opencode-controller -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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.

Details

Repository
github.com/sundial-org/awesome-openclaw-skills
Categories
Agent Workflow & Planning, AI Agents & LLM Apps, CLI & Terminal
First seen
Jun 3, 2026

Questions

What does the opencode-controller skill do?

The opencode-controller skill controls and operates Opencode through slash commands. It manages sessions, selects models, and switches between the Plan and Build agents so coding is coordinated through Opencode. The skill states that the agent itself does not write code; all planning and coding happens inside Opencode.

How do I install the opencode-controller skill?

Run npx -y skills add sundial-org/awesome-openclaw-skills --skill opencode-controller -y in a project to install it. Once installed, the agent can use the /sessions, /agents and /models commands to drive Opencode.

Where does opencode-controller stand in the Agent Workflow & Planning category?

The opencode-controller skill is listed in the Agent Workflow & Planning category on Claude Marketplaces. Other skills in this category include grill-me, grill-with-docs and setup-matt-pocock-skills. It stands apart by routing planning and coding through Opencode's Plan and Build agents.

Does opencode-controller require an AI provider login?

The skill asks which AI provider to use and how it should be authenticated before proceeding. If authentication is required, it copies the login link Opencode provides, sends it to the user, and waits for confirmation.

More from sundial-org/awesome-openclaw-skills

All 37

Similar to Opencode Controller

More Agent Workflow & Planning