← 返回 Skills 市场
279
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install occ
功能描述
Control OpenCode to execute development tasks. Provides session management and task execution capabilities.
安全使用建议
This skill appears to legitimately control a local OpenCode server, but take these precautions before installing: 1) Confirm you have a trusted 'opencode' CLI and Node/npm installed — the metadata does not declare these prerequisites. 2) Expect the script to run 'npm install' in the skill folder (network fetch and possible postinstall scripts). If you don’t want network installs, create node_modules yourself or inspect package.json first. 3) Run the CLI from a throwaway or sandbox directory — the OpenCode server will operate in the current directory and may modify files. 4) Review the included scripts (they are present and readable) and ensure 'opencode' is the expected binary in your PATH. 5) If you need higher assurance, run the tool in an isolated environment (container/VM) to observe behavior before granting it access to real projects.
功能分析
Type: OpenClaw Skill
Name: occ
Version: 0.1.0
The 'occ' skill is a legitimate controller for the OpenCode development tool, allowing an AI agent to manage coding sessions. It operates by spawning a local 'opencode' server on 127.0.0.1 (scanning ports 4096–4200) and communicating with it via standard HTTP requests. While the script includes an automatic dependency installer (npm install) in 'opencode-server.js', its behavior is transparent, confined to the local environment, and aligns perfectly with its stated purpose of automating development workflows.
能力评估
Purpose & Capability
The code matches the stated purpose (starting/querying a local OpenCode server and managing sessions). However the registry metadata does not declare required binaries (it should declare the 'opencode' CLI and at least Node/npm), which is an incoherence between what the skill needs and what the metadata advertises. package.json lists axios (installed by npm) though the code uses only core http, indicating sloppy packaging.
Instruction Scope
SKILL.md instructs running the included Node script in the working directory; the script will (a) auto-install npm dependencies if node_modules is missing, (b) spawn the external 'opencode' process bound to the current directory, and (c) interact with the local OpenCode HTTP API. These actions can modify files in the current directory and perform network fetches (npm install). SKILL.md omits that Node/npm will be used and that npm install may run, which is a material omission.
Install Mechanism
There is no explicit install spec in registry metadata, but the runtime script will run 'npm install' inside the skill's scripts directory if dependencies are missing. That fetches packages from the public npm registry (a standard source) and can execute package postinstall scripts — moderate risk compared with a purely instruction-only skill.
Credentials
The skill does not request credentials, environment variables, or external config paths. It only interacts with a local server and spawns an 'opencode' binary; no secrets are declared or used.
Persistence & Privilege
The skill is not always-included and does not modify other skills or global agent settings. It spawns a local process and will kill it on close; no persistent system-wide privileges are requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install occ - 安装完成后,直接呼叫该 Skill 的名称或使用
/occ触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of the OCC (OpenCode Controller) skill.
- Enables session management and task execution for OpenCode via CLI.
- Supports querying, creating, and continuing OpenCode development sessions.
- Automatically detects and starts the OpenCode Server as needed.
- Designed for integration with external systems or to automate coding workflows.
元数据
常见问题
occ 是什么?
Control OpenCode to execute development tasks. Provides session management and task execution capabilities. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 279 次。
如何安装 occ?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install occ」即可一键安装,无需额外配置。
occ 是免费的吗?
是的,occ 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
occ 支持哪些平台?
occ 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 occ?
由 gongxh13(@gongxh13)开发并维护,当前版本 v0.1.0。
推荐 Skills