English | 简体中文
A standalone, minimal rock-cli skill package (SKILL.md + references/sandbox.md) teaching AI coding agents how to operate ROCK sandboxes via rockcli (rc).
- ROCK (Reinforcement Open Construction Kit) is Alibaba's sandbox environment management framework built for agentic reinforcement learning and coding-agent evaluation.
rockcli(rc) is the command-line client for creating, inspecting, debugging, and managing ROCK sandboxes.
Language note:
SKILL.mdandreferences/sandbox.mdare written in Simplified Chinese alongside CLI examples and parameter tables.
rock-cli-skills is the lightweight standalone rock-cli skill package. Compare the three xdlkc ROCK skill repositories before installing:
| Repository | Scope & Included Skills | Packaging & Install Path | Best For |
|---|---|---|---|
rock-marketplace |
Unified rock plugin (v1.4.7): rock-cli (v2.7), rock-debug, rock-agent-debug (remote + in-sandbox), rock-eval, rock-feedback |
.claude-plugin/marketplace.json (/plugin install rock@rock-marketplace) & skills/ symlinks (npx skills add) |
Most users: full ROCK CLI v2.7 (agent, expr, image, datasets), sandbox diagnostics, job debugging, and Harbor regression eval |
rock-agents |
Two plugins: rock-agent-sdk (v1.0.0: Python rock.sdk.agent & rock_agent_config.yaml) and rock-agent (v1.3.0: in-sandbox rock-agent-debug) |
.claude-plugin/marketplace.json (/plugin install rock-agent-sdk@rock-agents & rock-agent@rock-agents) & skills/ symlinks (npx skills add) |
Developers writing Python SDK / YAML benchmark integrations (rock-agent-sdk) or installing rock-agent standalone |
rock-cli-skills (this repo) |
Standalone rock-cli skill (SKILL.md + references/sandbox.md) covering core sandbox lifecycle, exec, upload/download, attach, log, history, replay |
Root SKILL.md (npx skills add xdlkc/rock-cli-skills or manual copy; no .claude-plugin/ wrapper) |
Minimal single-skill install focused solely on core rockcli sandbox commands |
- Setup & authentication (
SKILL.md):rockcliinstallation/self-update (rockcli update), auth priority (ROCK_API_KEY,--api-key,~/.rock/setting.json), and global flags (--verbose,--base-url,--cluster,-H/--extra-header). - Seven core sandbox workflows:
- One-off tasks (
sandbox start --wait-for-alive,exec,stop) - Project upload, execution, and result retrieval (
upload --recursive [-a],download) - Interactive REPL (
sandbox <id> attach, distinguishing/exitvs/close) - Log searching and live tailing (
log search --log-file ...,log tail) - API operation history (
sandbox <id> history) - Request replay (
sandbox <id> replay) - Lifecycle state inspection (
sandbox <id> status:pending→alive→stopping→stopped)
- One-off tasks (
- Parameter reference (
references/sandbox.md): Flag tables forstart,stop,exec,status,upload,download,attachREPL slash commands,log search(including--log-fileand time-window/field filters),log tail, andhistory.
Looking for
rockcliv2.7 subcommands (agent run/view/fs,expr,image,datasets, Windows sandboxes)? Install the expandedrock-cliskill fromrock-marketplace.
Because this repository places SKILL.md directly at the root without a .claude-plugin/ or plugins/ marketplace wrapper, install via skills CLI or manual copy (use rock-marketplace if you want Claude Code /plugin marketplace add):
# Install globally across detected agents
npx skills add xdlkc/rock-cli-skills -g
# Or install to the current project only
npx skills add xdlkc/rock-cli-skillsCopy both SKILL.md and references/ into your agent's skill directory:
git clone https://github.com/xdlkc/rock-cli-skills.git
# Example for Claude Code
mkdir -p ~/.claude/skills/rock-cli
cp -r rock-cli-skills/SKILL.md rock-cli-skills/references ~/.claude/skills/rock-cli/(For Cursor, Codex, or OpenCode, copy into ~/.cursor/skills/rock-cli/, ~/.codex/skills/rock-cli/, or ~/.opencode/skills/rock-cli/ respectively.)
rock-cli-skills/
├── SKILL.md # Main `rock-cli` skill definition and workflow playbooks
└── references/
└── sandbox.md # Detailed parameter reference for `rockcli sandbox` subcommands