Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/KevinZai/commandernpx agentmods add commands/kevinzai/commander/ccc-clawWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/kevinzai/commander/ccc-claw)<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-claw"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-claw/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-claw"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-claw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.00543 |
| Opus 5.5 | $0.00020 | $0.00217 |
| Sonnet 5.5 | $0.00010 | $0.00109 |
| Haiku 4.5 | $0.00005 | $0.00054 |
Grade A, and why
ccc-claw scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
95% identical to claw — 70 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/ccc-claw — NanoClaw REPL
CC Commander · /ccc-claw · launches NanoClaw from the vendored everything-claude-code package.
What happens
-
Confirm the script exists.
ls vendor/everything-claude-code/scripts/claw.jsIf it is missing, report that the everything-claude-code vendor package is not present in this checkout and stop.
-
Tell the user to start it in their own terminal (it is interactive and needs a TTY), optionally with the variables below:
node vendor/everything-claude-code/scripts/claw.js # or, inside vendor/everything-claude-code: npm run clawExample:
CLAW_SESSION=api-refactor CLAW_SKILLS=tdd-workflow,coding-standards node vendor/everything-claude-code/scripts/claw.js
Environment variables
| Variable | Default | Meaning |
|---|---|---|
CLAW_SESSION |
default |
Session name (letters, digits, hyphens) |
CLAW_SKILLS |
empty | Comma-separated skills loaded at startup |
CLAW_MODEL |
sonnet |
Model alias for the session; the user's choice is kept |
REPL commands
/help Show help
/clear Clear the current session history
/history Print the full conversation history
/sessions List saved sessions
/model [name] Show or set the model
/load <skill-name> Hot-load a skill into context
/branch <session-name> Branch the current session
/search <query> Search across sessions
/compact Compact old turns, keep recent context
/export <md|json|txt> [path] Export the session
/metrics Show session metrics
exit Quit
Notes
- Sessions are stored at
~/.claude/claw/<session>.md. - Compaction keeps the most recent turns and writes a compaction header.
- Export supports markdown, JSON turns and plain text.
Done when
The script path check has passed and the user has the exact launch command.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago Changed · +15 lines · +16 tokens per session 5e6770c2ffa9
- 1mo ago First seen · 52 lines · 34 tokens per session scan A d241e07e72ff
ccc-claw is a command published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 543 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to claw, differing in 70 lines, and is treated as a copy.
Other commands, from other repositories
loop
Autonomous execution loop. Runs the TDD cycle repeatedly until all tasks in an epic are complete, with circuit breaker protection and PR workflow.
phase
Orchestrate a full roadmap phase. Designs features, imports to tracker, creates issues, then executes.
status
Show current execution status with progress, dependencies, file ownership, and parallelization opportunities.
justone-publish
Publish a completed JustOne build — create a public GitHub repo, push, and register on the gallery.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.