ccc-retro

ccc-retro is a command for Claude Code from KevinZai/commander. It costs 52 tokens per session (1,357 once invoked), scanned B, original, MIT.

A periodic report about project work, including shipped changes, activity metrics, estimated costs, and reflection.

In plain words
What is it for?
Use it for a weekly, sprint, monthly, or custom-date retrospective based on Git history and Claude Code session data.
Why use it?
It gives you a regular view of what changed, where work concentrated, how many sessions occurred, and how much the work may have cost.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; positional $N argument; mentions Claude Code.

Good fit Use it for a weekly, sprint, monthly, or custom-date retrospective based on Git history and Claude Code session data.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/kevinzai/commander/ccc-retro
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-retro

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-retro"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-retro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,357 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00052 $0.01357
Opus 5.5 $0.00021 $0.00543
Sonnet 5.5 $0.00010 $0.00271
Haiku 4.5 $0.00005 $0.00136

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

Security

Grade B, and why

ccc-retro scanned grade B with 1 finding 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- Claude Code transcripts for this project: files under `~/.claude/projects/` whose directory name matches the repo path, modified within the period (`find ~/.claude/projects -name '*.jsonl' -newermt "<start date>"`). Co
commands/ccc-retro.md · 111 lines

How it starts

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

/ccc-retro — productivity retrospective

CC Commander · /ccc-retro · a scannable report of what shipped in the period, where the churn was, and what to change next.

Arguments

Parse the period from $ARGUMENTS:

Input Range
empty or week last 7 days
sprint last 14 days
month last 30 days
YYYY-MM-DD..YYYY-MM-DD explicit range, inclusive

Set SINCE and UNTIL (for example SINCE="7 days ago", UNTIL="now", or the two dates). Reject any other input with the accepted forms and stop.

What happens

  1. Confirm a repository. Run git rev-parse --show-toplevel; if it fails, say a retro needs a git repository and stop. Record the repo name and git branch --show-current.

  2. Gather git data (run these in parallel):

    git log --since="$SINCE" --until="$UNTIL" --oneline --no-merges
    git rev-list --count --no-merges --since="$SINCE" --until="$UNTIL" HEAD
    git shortlog -sn --no-merges --since="$SINCE" --until="$UNTIL" HEAD
    git log --since="$SINCE" --until="$UNTIL" --no-merges --numstat --format="" \
      | awk '{a+=\$1; d+=\$2} END {print "added", a+0, "removed", d+0}'
    git log --since="$SINCE" --until="$UNTIL" --no-merges --name-only --format="" \
      | sort | uniq -c | sort -rn | head -10
    git log --since="$SINCE" --until="$UNTIL" --no-merges --name-only --format="" \
      | awk 'NF' | xargs -n1 dirname | sort | uniq -c | sort -rn | head -5
    git log --since="$SINCE" --until="$UNTIL" --no-merges --format="%ad" --date=format:%a | sort | uniq -c
    git log --since="$SINCE" --until="$UNTIL" --no-merges --shortstat --format="%h %s"
    

    If the commit count is 0, report "No commits in this period" with the range and skip to step 5.

  3. Gather session and cost data, each optional:

    • Claude Code transcripts for this project: files under ~/.claude/projects/ whose directory name matches the repo path, modified within the period (find ~/.claude/projects -name '*.jsonl' -newermt "<start date>"). Count them as sessions.
    • Cost: use /ccc-cost's sources. When ccusage is installed (opt-in, absent by default; command -v ccusage), run ccusage daily --json --since <YYYYMMDD> --until <YYYYMMDD> and sum the period. Otherwise write "Session cost data not available for this period."
  4. Analyze:

    • Group commit subjects by conventional-commit type (feat, fix, refactor, then docs/test/chore).
    • Work distribution: share of commits per type.
    • Churn: files changed 5 or more times in the period; flag them as possible design issues.
    • Large changesets: commits touching 10 or more files; note whether they could have been split.
    • Streaks: days with zero commits and unusually busy days.
    • Largest commit by lines changed, from the --shortstat output.
  5. Write the report in the format below, then ask the reflection questions.

Read the full file on GitHub · 111 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 d4e34db958ac
  2. 1mo ago Changed · -11 lines · +34 tokens per session scan A → B 0a8cfaccfc28
  3. 2mo ago First seen · 122 lines · 18 tokens per session scan A 1f7a50807b35

Subscribe to this mod's changes

ccc-retro is a command published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 52 tokens to every session and 1,357 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

ccc-retro compared with commands from other repositories

ccc-retro next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ccc-retroKevinZai/commanderCommand6yesterdayMITB52Claude 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