360 Secure SkillHub
360 安全技能中心

easy-opencode

该 Skill 将仓库相关的编码问答与实现全部委派给 opencode CLI:先用 --agent plan 生成并审阅分步计划,再用 --agent build 实施代码;期间可来回切换,循环直至需求满足。宿主只负责传递问题、消化结果并决定下一步。

deciding
deciding
热度 68.70
最近更新 2026-05-17 12:36:04
分类:开发依赖:代码执行 / 读写文件应用场景:代码生成 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add easy-opencode
Metadata
name
easy-opencode
description
opencode can do all the things related to code
metadata
{"clawdbot":{"emoji":"💯🚀🎯","requires":{"bins":["opencode"]}}}

Opencode

Core rule

For any problem related to coding of a repository, please use opencode directly, the major burden of question-answering and coding should be given to opencode which is very capable to do it well. Your job to pass the question to opencode, digest the result from opencode and select what to do next (plan or build) based on the result from opencode. All planning and coding happens inside Opencode.

Usages

  • Available agents:
    • plan
    • build
  • Always select Plan first.
  • plan agent: run with cd [repo dir] && opencode run "[instructions/questions]" --continue --agent plan
  • build agent: run with cd [repo dir] && opencode run "[instructions/questions]" --continue --agent build

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

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