← Back to Skills Marketplace
deciding

easy-opencode

by deciding · GitHub ↗ · v1.1.1
cross-platform ⚠ suspicious
825
Downloads
2
Stars
4
Active Installs
3
Versions
Install in OpenClaw
/install easy-opencode
Description
opencode can do all the things related to code
README (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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install easy-opencode
  3. After installation, invoke the skill by name or use /easy-opencode
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug easy-opencode
Version 1.1.1
License
All-time Installs 4
Active Installs 4
Total Versions 3
Frequently Asked Questions

What is easy-opencode?

opencode can do all the things related to code. It is an AI Agent Skill for Claude Code / OpenClaw, with 825 downloads so far.

How do I install easy-opencode?

Run "/install easy-opencode" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is easy-opencode free?

Yes, easy-opencode is completely free (open-source). You can download, install and use it at no cost.

Which platforms does easy-opencode support?

easy-opencode is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created easy-opencode?

It is built and maintained by deciding (@deciding); the current version is v1.1.1.

💬 Comments