Opencode Controller for Openclaw

A professional-grade command interface for orchestrating Opencode sessions, agent modes, and model provider configurations.

karatla
v1.0.0
Jan 29, 2026
75
22.5k
192

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install opencode-controller

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install opencode-controller using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Opencode Controller?

The Opencode Controller serves as the central orchestration layer for your AI-assisted development environment. It is designed to bridge the gap between human instruction and autonomous execution by providing a structured framework for managing sessions and agent states. By utilizing Openclaw Skills, this tool ensures that your coding environment remains organized, secure, and highly efficient.

This skill is built on a philosophy of separation of concerns. It differentiates between the planning phase and the building phase, ensuring that code is never written without a verified architectural plan. It streamlines the complexities of provider authentication and session persistence, making it an essential component for developers leveraging Openclaw Skills in their daily operations.

Opencode Controller Use Cases

  • Managing multiple concurrent coding projects via the session selector.
  • Enforcing a Plan-then-Build workflow to minimize architectural errors.
  • Rapidly switching between different LLM providers like Anthropic or OpenAI for specific tasks.
  • Centralizing authentication workflows for various AI model providers.

How Opencode Controller Works

  1. The user initiates the controller and selects a preferred AI provider and authentication method.
  2. The skill opens the session management interface using the /sessions command to either resume or create a workspace.
  3. The user activates the Plan agent via the /agents command to analyze the task and generate a step-by-step roadmap.
  4. Once the plan is verified, the user switches to the Build agent for implementation.
  5. The controller manages a continuous loop between planning and building until the task is complete.

Opencode Controller Setup

To integrate this skill into your local environment, follow these steps:

  1. Ensure your environment is configured to support Openclaw Skills.
  2. Add the opencode-controller to your skill manifest.
  3. Run the initialization command to start the session manager:
/sessions
  1. Configure your AI model provider and handle authentication:
/models

Opencode Controller Data Schema & Taxonomy

Data Element Type Purpose
Session Registry Metadata Tracks existing project IDs and session history
Agent State Enum Defines current mode: Plan or Build
Provider Config Object Stores provider-specific settings and auth status
Login Verbatim String Captures and relays secure authentication links

Opencode Controller Advanced Features

  • Context-aware session switching to prevent project overlap.
  • Strict state machine enforcement that prevents code generation in Plan mode.
  • Automated transition hooks that force a return to Plan mode when the Build agent encounters ambiguity.
  • Verbatim login link handling to ensure secure, manual authentication by the user.
  • Deep integration with other Openclaw Skills for comprehensive automation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*