ccc-improve

ccc-improve is a command for Claude Code from KevinZai/commander. It costs 47 tokens per session (2,430 once invoked), scanned A, original, MIT.

A continuous-improvement workflow for scanning a project, reviewing proposed changes, and tracking approved or completed improvements.

In plain words
What is it for?
Use it to scan for improvements, review or reject proposals, control low-risk automatic approvals, and view pipeline history.
Why use it?
It keeps improvement ideas in a visible queue so they can be prioritised and approved before implementation.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node hooks/daily-improvement-scan.js.

Good fit Use it to scan for improvements, review or reject proposals, control low-risk automatic approvals, and view pipeline history.

Compare 6 commands from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander
agentmods
npx agentmods add commands/kevinzai/commander/ccc-improve

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-improve

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-improve"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-improve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,430 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 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.00047 $0.02430
Opus 5.5 $0.00019 $0.00972
Sonnet 5.5 $0.00009 $0.00486
Haiku 4.5 $0.00005 $0.00243

Measured 5d ago against content hash 036321536a67, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ccc-improve 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.

commands/ccc-improve.md · 260 lines

How it starts

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

/ccc-improve — continuous improvement pipeline

CC Commander · /ccc-improve · a scored queue of improvement proposals with approve, reject, and history views.

Parse the subcommand from $ARGUMENTS and run the matching section. With no subcommand, show the dashboard.

Routing

Input Section
(none) Dashboard
scan Scan
scan --manual Manual proposal
queue Queue
evaluate <id> (or "evaluate " in chat) Evaluate
approve <id> Approve
reject <id> <reason> Reject
auto Toggle auto-approval
status Full statistics
implemented Implementation history

Data

Queue directory <queue>: $KZ_IMPROVE_QUEUE_DIR when set, otherwise ~/.claude/improvement-queue/.

File Contents
prop-*.json one proposal each; status is pending, approved, rejected or implemented
scan-log.json scan history: timestamp, findings, new proposals
approved.json implementation queue, sorted by priority (impact - effort)
implemented.json shipped proposals
config.json { "auto_approve": false }

If <queue> does not exist, say no scan has run yet and suggest /ccc-improve scan.

Dashboard (default)

Read every prop-*.json, count by status, and read the last entry of scan-log.json:

CONTINUOUS IMPROVEMENT PIPELINE
===============================
  Pending:      <n> proposals awaiting review
  Approved:     <n> queued for implementation
  Rejected:     <n> declined
  Implemented:  <n> shipped

  Last Scan:    <timestamp> (<n> findings)
  Auto-Approve: <ON/OFF> (documentation + impact <= 2)

Then ask what to do next with AskUserQuestion (plain-text question where unavailable): 🟢 Review the queue · Run a scan now · Full statistics.

Scan

  1. Run the scanner, first path that exists:

    node ~/.claude/hooks/daily-improvement-scan.js
    # repo checkout fallback:
    node hooks/daily-improvement-scan.js
    

Read the full file on GitHub · 260 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. 5d ago Changed · -72 lines · +25 tokens per session 036321536a67
  2. 1mo ago First seen · 332 lines · 22 tokens per session scan A 27154929549c

Subscribe to this mod's changes

ccc-improve is a command published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 2,430 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.