opencode-controller-zh

opencode-controller-zh is a skill for Claude Code, Codex from L-LesterYu/OpenClaw-hot-skills-zh. It costs 46 tokens per session (539 once invoked), scanned A, original, MIT.

A set of slash-command instructions for controlling OpenCode, an AI coding tool, through sessions, model choices, and planning or building modes.

In plain words
What is it for?
It is for selecting an AI provider and model, managing OpenCode sessions, switching between planning and coding modes, and coordinating implementation.
Why use it?
It gives coding work a fixed Plan-then-Build process and requires approval before starting sessions or authentication.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit It is for selecting an AI provider and model, managing OpenCode sessions, switching between planning and coding modes, and coordinating implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/l-lesteryu/openclaw-hot-skills-zh/opencode-controller-zh
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add L-LesterYu/OpenClaw-hot-skills-zh --skill opencode-controller-zh
Clone the repo
git clone --depth 1 https://github.com/L-LesterYu/OpenClaw-hot-skills-zh

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for opencode-controller-zh

README.md
[![agentmods](https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/opencode-controller-zh/github.svg)](https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/opencode-controller-zh)
Your own site
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/opencode-controller-zh"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/opencode-controller-zh/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for opencode-controller-zh

Your own site · 80×15
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/opencode-controller-zh"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/opencode-controller-zh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 539 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00539
Opus 5 $0.00023 $0.00269
Sonnet 5 $0.00009 $0.00108
Haiku 4.5 $0.00005 $0.00054

Measured 9d ago against content hash f4ecedd00e7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

opencode-controller-zh scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/opencode-controller-zh/SKILL.md · 78 lines

What it actually says

Opencode 控制器

核心规则

Clawdbot 不编写代码。 所有规划和编码工作均在 Opencode 中完成。

预检

  • 询问用户要使用哪个 AI 提供商。
  • 询问提供商应如何进行身份验证。
  • 未经用户确认,不得继续操作。

会话管理

  • 启动 Opencode。
  • 使用以下命令打开会话选择器: /sessions
  • 如果当前项目已存在:
    • 选择已有会话。
  • 未经用户批准,不得创建新会话。

智能体(模式)控制

  • 使用以下命令打开智能体选择器: /agents
  • 可用智能体:
    • Plan(规划)
    • Build(构建)
  • 始终先选择 Plan 模式。
  • 需要时使用 /agents 切换智能体。

模型选择

  • 使用以下命令打开模型选择器: /models
  • 选择用户请求的提供商。
  • 如果需要身份验证:
    • 复制 Opencode 提供的登录链接。
    • 将链接发送给用户。
    • 等待用户确认后再继续。

Plan 智能体行为

  • 要求 Opencode 分析任务。
  • 请求生成清晰的分步计划。
  • 允许 Opencode 提出澄清问题。
  • 仔细审查计划。
  • 如果计划不正确或不完整:
    • 要求 Opencode 修改计划。
  • 在 Plan 模式下不允许生成代码。

Build 智能体行为

  • 使用 /agents 切换到 Build 模式。
  • 要求 Opencode 执行已批准的计划。
  • 如果 Opencode 提出任何问题:
    • 立即切换回 Plan 模式。
    • 回答问题并确认计划。
    • 再切换回 Build 模式。

完成标准

  • 重复 Plan → Build 循环,直到满足所有用户需求。
  • 永远不要跳过 Plan 阶段。
  • 永远不要在 Build 模式下回答问题。

输出格式

  • 明确显示所有斜杠命令。
  • 说明选择了哪个选项。
  • 原样提供登录链接。
Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 78 lines · 46 tokens per session scan A f4ecedd00e7d

Subscribe to this mod's changes

opencode-controller-zh is a skill published in the GitHub repository L-LesterYu/OpenClaw-hot-skills-zh (54 stars, last pushed 5mo ago), licensed MIT. It adds 46 tokens to every session and 539 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens