ccc-loop-status

ccc-loop-status is a command for Claude Code from KevinZai/commander. It costs 43 tokens per session (728 once invoked), scanned A, a copy of loop-status, MIT.

A command for inspecting an active autonomous work loop, including its current phase, progress, completed checkpoints, failed checks, and possible cost or time drift.

In plain words
What is it for?
Use it to monitor a running loop, watch for state changes, and decide whether to continue, pause, or stop it.
Why use it?
It shows whether unattended agent work is progressing normally or needs human intervention.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: names the AskUserQuestion tool.

Good fit Use it to monitor a running loop, watch for state changes, and decide whether to continue, pause, or stop it.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/kevinzai/commander/ccc-loop-status
Install

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.

Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

Made for: Claude Code.

Wrote 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.

agentmods badge for ccc-loop-status

README.md
[![agentmods](https://agentmods.dev/badge/commands/kevinzai/commander/ccc-loop-status/github.svg)](https://agentmods.dev/commands/kevinzai/commander/ccc-loop-status)
Your own site
<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-loop-status"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-loop-status/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.

agentmods 80×15 button for ccc-loop-status

Your own site · 80×15
<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-loop-status"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-loop-status.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 728 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.00728
Opus 5.5 $0.00017 $0.00291
Sonnet 5.5 $0.00009 $0.00146
Haiku 4.5 $0.00004 $0.00073

Measured 1mo ago against content hash e01505305526, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ccc-loop-status 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.

Origin

This is a copy

92% identical to loop-status — 74 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.

commands/ccc-loop-status.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/ccc-loop-status — check a running loop

CC Commander · /ccc-loop-status · one status block per active loop and a recommended intervention.

Usage

/ccc-loop-status [--watch]

$ARGUMENTS: --watch (optional) refreshes the status periodically and reports changes.

What happens

  1. Find loops.

    ls -t .claude/loop-state/*.json 2>/dev/null
    ls -t .claude/plans/loop-*.md 2>/dev/null
    

    No state file: say no managed loop is recorded here and point to /ccc-loop-start. Also check the runtime's own loop surfaces when exposed: /goal with no arguments (active goal and turns used), /workflows (running workflows) and the Routines list through /schedule.

  2. Read each state file with the Read tool and its runbook. A file that fails to parse is itself a failure signal; report it.

  3. Check live signals.

    git log --oneline -5
    git status --short
    

    Run the gate command named in the runbook (for example the test command) to confirm the current state rather than trusting the last recorded result. Compare iteration with the cap, and lastRun with the expected interval.

  4. Report per loop:

    Loop: <name> · <pattern> · <mode>
    Phase: <current phase> · iteration <n>/<cap>
    Last checkpoint: <time> (<commit or file>)
    Failing checks: <none | list with command and exit code>
    Drift: <elapsed vs expected; spend from /usage when available>
    Recommendation: 🟢 continue | 🟡 pause | 🔴 stop — <one-line reason>
    

    Recommend stop when the same root cause failed twice, the cap is reached, or iterations show no measurable progress. Recommend pause when spend or time drifts beyond the runbook's budget.

  5. Act only on request. If the recommendation is pause or stop, ask with AskUserQuestion (plain-text question where unavailable):

    • 🟢 Follow the recommendation — show how to stop it (Ctrl+C or the loop tag's stop button for /loop, /goal clear, turning off the Routine)
    • Keep it running — record the decision in the state file's history
    • Run /ccc-harness-audit — diagnose before deciding

Read the full file on GitHub · 71 lines

Changes

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.

  1. 1mo ago Changed · +42 lines · +29 tokens per session e01505305526
  2. 2mo ago First seen · 29 lines · 14 tokens per session scan A bd0aaea8e011

Subscribe to this mod's changes

ccc-loop-status is a command published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 728 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to loop-status, differing in 74 lines, and is treated as a copy.

Related

ccc-loop-status compared with commands from other repositories

ccc-loop-status next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ccc-loop-statusKevinZai/commanderCommand6yesterdayMITA43Claude Code
loopskullninja/coco-workflowCommand71mo agoMITA28Claude Code
phaseskullninja/coco-workflowCommand71mo agoMITA21Claude Code
statusskullninja/coco-workflowCommand71mo agoMITA17Claude Code
justone-publishGodsB1025/justoneCommand26mo agoMITA22Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code