Skip to main content
ZICQ

Skills ZICQ category:Engineering opencode-controller OpenClaw

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.

786 installs · 80 stars

Official URL:ClawHub

What this skill does

Intro in this page language first. The official description stays in its original wording; we do not rewrite SKILL.md.

What it does

Control and operate Opencode via slash commands. Use this skill to manage sessions, select models, switch agents (plan/build), and coordinate coding through Opencode.

When to use it

The official description does not include a separate “Use when”. Per the spec, agents activate this skill when the task matches keywords in that description.

How agents load it

Per Agent Skills progressive disclosure: name and description load at startup (~100 tokens); the full SKILL.md body loads when the skill activates; scripts/, references/, and assets/ load only as needed. This file's sections: Opencode Controller; Core rule; Pre-flight; Session management; Agent (mode) control; Model selection.

File analysis

File analysis: instruction-only skill (SKILL.md). The agent loads the full body when activated.

Opencode ControllerCore rulePre-flightSession managementAgent (mode) controlModel selectionPlan agent behaviorBuild agent behaviorCompletionOutput format

Source category:ClawHub Coding

SKILL.md & Agent activation

Official spec ↗
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.
  1. DiscoverThe client exposes names and descriptions to the agent.
  2. ActivateYour request or the task context selects the skill and loads its instructions.
  3. Load resourcesReferenced scripts, documentation and assets are used when needed.

Invocation syntax and available tools depend on your Agent client. Client integration guide ↗

Install this skill

Skills CLI ↗

Choose the target agent and installation scope, keep referenced package files, then verify the skill appears in the client's catalog.

Ask your Agent to install

Copy these instructions to a compatible agent and confirm the target directory matches your client.

Install the agent skill "opencode-controller" into my project. The full SKILL.md and official description are at https://zicq.com/en/skills/skl-63d294feba0af8da-Opencode-Controller.html
Save it as .cursor/skills/opencode-controller/SKILL.md or .claude/skills/opencode-controller/SKILL.md and keep the frontmatter name and description exactly as-is.

No unambiguous GitHub package URL is recorded. Follow the original source's installer instructions.

ClawHub ↗

Readable layout

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.

Related skills

Engineering

Github

Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.

Engineering

Elite Longterm Memory

Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose c…

Engineering

Answeroverflow

Search indexed Discord community discussions via Answer Overflow. Find solutions to coding problems, library issues, and community Q&A that …

Engineering

Git Essentials

Essential Git commands and workflows for version control, branching, and collaboration.