Agent Skills
› ruvnet/open-claude-code
› occ-use
occ-use
GitHub用于在本地环境中运行 Open Claude Code CLI 执行受限编程任务。涵盖版本验证、API Key 配置及读写操作,确保不泄露凭证并报告执行结果。
Trigger Scenarios
用户要求使用 OCC 进行编码
需要验证 OCC CLI 安装状态
通过 CLI 执行受控的读取或编辑任务
Install
npx skills add ruvnet/open-claude-code --skill occ-use -g -y
SKILL.md
Frontmatter
{
"name": "occ-use",
"description": "Run Open Claude Code (OCC) for coding tasks and verify its CLI installation. Use when asked to use OCC, select its provider, or perform a bounded coding task through its CLI."
}
Use Open Claude Code
- Identify the requested repository and task. Inspect its instructions before executing.
- Check the pinned CLI without a provider call:
npx --yes @ruvnet/open-claude-code@2.1.3 --versionExpectv2.1.3. Use--helpfor the exact supported flags. - Use an existing provider binding. Anthropic uses ANTHROPIC_API_KEY; OpenAI compatible providers use OPENAI_API_KEY and optionally OPENAI_BASE_URL. Never display, copy, or persist credentials. This skill supplies no credentials or permissions.
- For a read task, restrict tools and turns:
npx --yes @ruvnet/open-claude-code@2.1.3 --print --allowedTools Read --max-turns 4 "Read README.md and summarize the project."For OpenAI compatible providers, also pass--model gpt-4.1-mini(or another supported OpenAI model ID); routing depends on the model name, not the API key alone. Provider calls may incur charges. - For edits, preserve repository instructions and user scope. Do not assume that installing this skill authorizes publishing, deletion, or external messages.
- Report the command exit status, observed result, and any missing provider access. Do not claim full upstream Claude Code parity.
If asked only to explain or plan, do not execute the task. If asked to verify installation, stop after version and help unless live inference was requested.
Version History
- 5313112 Current 2026-10-19 00:25


