occ-use

GitHub

用于在本地环境中运行 Open Claude Code CLI 执行受限编程任务。涵盖版本验证、API Key 配置及读写操作,确保不泄露凭证并报告执行结果。

skills/occ-use/SKILL.md ruvnet/open-claude-code

Trigger Scenarios

用户要求使用 OCC 进行编码 需要验证 OCC CLI 安装状态 通过 CLI 执行受控的读取或编辑任务

Install

npx skills add ruvnet/open-claude-code --skill occ-use -g -y
More Options

Use without installing

npx skills use ruvnet/open-claude-code@occ-use

指定 Agent (Claude Code)

npx skills add ruvnet/open-claude-code --skill occ-use -a claude-code -g -y

安装 repo 全部 skill

npx skills add ruvnet/open-claude-code --all -g -y

预览 repo 内 skill

npx skills add ruvnet/open-claude-code --list

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

  1. Identify the requested repository and task. Inspect its instructions before executing.
  2. Check the pinned CLI without a provider call: npx --yes @ruvnet/open-claude-code@2.1.3 --version Expect v2.1.3. Use --help for the exact supported flags.
  3. 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.
  4. 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.
  5. For edits, preserve repository instructions and user scope. Do not assume that installing this skill authorizes publishing, deletion, or external messages.
  6. 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

Same Skill Collection

skills/occ-diagnose/SKILL.md
skills/occ-verify-release/SKILL.md

Metadata

Files
0
Version
5313112
Hash
207ca45f
Indexed
2026-10-19 00:25

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-23 07:44
浙ICP备14020137号-1