Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/KevinZai/commanderWrote 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-loop-start)<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-loop-start"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-loop-start/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-loop-start"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-loop-start.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.00057 | $0.01333 |
| Opus 5.5 | $0.00023 | $0.00533 |
| Sonnet 5.5 | $0.00011 | $0.00267 |
| Haiku 4.5 | $0.00006 | $0.00133 |
Grade A, and why
ccc-loop-start 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 1mo 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
91% identical to loop-start — 109 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 — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/ccc-loop-start — set up a gated loop
CC Commander · /ccc-loop-start · a loop runbook with safety checks done, ready to launch and monitor.
Usage
/ccc-loop-start [pattern] [--mode safe|fast]
$ARGUMENTS:
pattern(optional):sequential·continuous-pr·rfc-dag·infinite--mode(optional):safe(default) runs strict quality gates and a checkpoint every iteration;fastruns reduced gates for speed
| Pattern | Use when | Typical primitive |
|---|---|---|
sequential (default) |
One task after another, each gated | /goal or /loop |
continuous-pr |
Every iteration lands as a PR that CI must pass | /loop or a Routine (/schedule) |
rfc-dag |
An RFC or spec splits into dependent units | Workflow tool (/workflows) |
infinite |
Exploratory parallel generation, still capped | Workflow tool or Agent fan-out |
What happens
-
Check the repository.
git status --short git rev-parse --abbrev-ref HEADAsk the branch strategy with AskUserQuestion (plain-text question where unavailable):
- 🟢 Isolated worktree — each iteration's agent runs with
isolation: worktree; the main checkout stays untouched - New branch — one loop branch, iterations commit there
- Current branch — only when the tree is clean and the user accepts direct changes
With uncommitted changes and a non-worktree choice, stop and ask the user to commit or stash first.
- 🟢 Isolated worktree — each iteration's agent runs with
-
Choose the pattern. If
patternwas not passed, ask with AskUserQuestion, recommending by this order: strict CI/PR control →continuous-pr; spec decomposition →rfc-dag; exploratory parallel generation →infinite; otherwise 🟢sequential. -
Choose model routing. The user's selected model is preserved unless they choose otherwise. Ask:
- 🟢 Keep the session model for every step
- Route bulk iterations to
sonnetorhaikuand the verify step toopusorfable - Mixed Codex executor — iterations through
codex exec -m gpt-6.1-sol, verification by a Claude agent
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.
- 1mo ago Changed · +63 lines · +39 tokens per session f1bc369ec2f4
- 2mo ago First seen · 37 lines · 18 tokens per session scan A 3bc7969696d7
ccc-loop-start is a command published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 57 tokens to every session and 1,333 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to loop-start, differing in 109 lines, and is treated as a copy.
ccc-loop-start compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ccc-loop-startKevinZai/commander | Command | 6 | yesterday | MIT | A | 57 | Claude Code |
| loopskullninja/coco-workflow | Command | 7 | 1mo ago | MIT | A | 28 | Claude Code |
| phaseskullninja/coco-workflow | Command | 7 | 1mo ago | MIT | A | 21 | Claude Code |
| statusskullninja/coco-workflow | Command | 7 | 1mo ago | MIT | A | 17 | Claude Code |
| justone-publishGodsB1025/justone | Command | 2 | 6mo ago | MIT | A | 22 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | today | MIT | A | 27 | Claude Code |