Xpersona
O

Opencode-controller

CLAWHUB · Unverified

Control and operate Opencode via slash commands. Use this skill to manage sessions, select models, switch agents (plan/build), and coordinate coding through Opencode. Skill: Opencode-controller Owner: karatla Summary: Control and operate Opencode via slash commands. Use this skill to manage sessions, select models, switch agents (plan/build), and coordinate coding through Opencode. Tags: latest:1.0.0 Version history: v1.0.0 | 2026-01-28T20:57:33.391Z | user opencode-controller 1.0.0 - Initial release. - Enables controlling Opencode sessions and workflows via slash commands. - Guid

62
Rank
84
Safety
26k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 26K downloads reported by the source. Last updated 11/16/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17d4t46jxqb7z2vq635s29981884h16:opencode-controller
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-karatla-opencode-controller-ntroller-2/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

8,371 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
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.

_meta.json

{
  "ownerId": "kn76x9kj4xk50a8zzc3j64vx1180396s",
  "slug": "opencode-controller",
  "version": "1.0.0",
  "publishedAt": 1769633853391
}

references/command-cheatsheet.md

## Core Opencode commands

- Start Opencode:
  opencode

- Session selection:
  /sessions

- Agent (mode) selection:
  /agents

- Model selection:
  /models

references/failure-handling.md

## Common failures and responses

### Login link does not work
- Ask the user to retry
- Do not proceed without confirmation

### Model not available
- Inform the user
- Ask for an alternative provider

### Plan is unclear or contradictory
- Ask Opencode to rewrite the plan
- Do not switch to Build mode

references/model-selection.md

## Model selection procedure

- Open model selector with:
  /models

- Select the provider requested by the user

### Auth-based providers (e.g. OpenAI)

- Opencode will generate a login URL
- Copy the URL exactly
- Send it to the user
- Wait for confirmation before continuing

Never assume authentication is complete.

Sponsored

Ads related to Opencode-controller and adjacent AI workflows.