← 返回 Skills 市场
deciding

easy-opencode

作者 deciding · GitHub ↗ · v1.1.1
cross-platform ⚠ suspicious
825
总下载
2
收藏
4
当前安装
3
版本数
在 OpenClaw 中安装
/install easy-opencode
功能描述
opencode can do all the things related to code
使用说明 (SKILL.md)

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.
安全使用建议
This skill is internally consistent, but it relies on a local 'opencode' CLI — before installing or using the skill verify the origin and integrity of that binary (where it was installed from, its version, and its documentation). Specifically: 1) confirm the opencode binary is from a trusted vendor (check checksums/signatures or package manager provenance); 2) review what opencode does at runtime (network access, telemetry, credentials it may prompt for) because the skill will run it against your repository; 3) consider running it in an isolated environment (container/VM) or on non-sensitive repos first. If you cannot verify the opencode binary, treat the skill as higher risk.
功能分析
Type: OpenClaw Skill Name: easy-opencode Version: 1.1.1 The skill instructs the agent to execute an external binary `opencode` via shell commands (`cd [repo dir] && opencode run "[instructions/questions]" ...`) as seen in `SKILL.md`. The `[instructions/questions]` argument is likely derived from user input or agent-generated content. Without explicit sanitization or escaping of this argument before it's embedded into the shell command, this creates a significant shell injection vulnerability, potentially leading to arbitrary code execution (RCE) on the host system. The `opencode` binary itself is an unknown dependency, and its capabilities are not specified, adding to the overall risk.
能力评估
Purpose & Capability
Name/description claim 'code-related' operations and the only required binary is 'opencode', which is exactly the tool the instructions tell the agent to invoke. There are no unrelated env vars, binaries, or config paths requested.
Instruction Scope
SKILL.md instructs the agent to run the opencode CLI inside a repository directory and to follow a Plan→Build loop. It does not instruct the agent to read unrelated system files, environment variables, or to send data to arbitrary endpoints. The scope is narrowly focused on using the opencode CLI for repository coding tasks.
Install Mechanism
No install spec is provided (instruction-only). Nothing is downloaded or written by the skill itself, so there is no install-related risk from the skill bundle.
Credentials
No environment variables, credentials, or config paths are requested. The absence of additional secrets is proportionate to the stated purpose. Note: the opencode binary itself (outside this skill) may request credentials or network access at runtime — that's external to the skill.
Persistence & Privilege
The skill does not request always:true or any elevated/persistent presence, and it does not modify other skills or system-wide settings. Autonomous invocation is allowed (platform default) but not unusual here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install easy-opencode
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /easy-opencode 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.1
fix warnings
v1.1.0
Fixes
v1.0.0
- Initial release of easy-opencode skill. - Provides CLI-based control for Opencode, avoiding remote TUI hangs. - Automates credential checks and model selection (defaults to opencode/minimax-m2.5-free). - Implements session management and tracks repository/model mappings in a config file. - Guides users through a strict Plan → Build loop using Opencode agents. - Ensures that all planning and code generation are managed in Opencode, with clear separation of agent behaviors.
元数据
Slug easy-opencode
版本 1.1.1
许可证
累计安装 4
当前安装数 4
历史版本数 3
常见问题

easy-opencode 是什么?

opencode can do all the things related to code. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 825 次。

如何安装 easy-opencode?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install easy-opencode」即可一键安装,无需额外配置。

easy-opencode 是免费的吗?

是的,easy-opencode 完全免费(开源免费),可自由下载、安装和使用。

easy-opencode 支持哪些平台?

easy-opencode 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 easy-opencode?

由 deciding(@deciding)开发并维护,当前版本 v1.1.1。

💬 留言讨论