ccc-claudemd

ccc-claudemd is a skill for Claude Code from KevinZai/commander. It costs 50 tokens per session (1,369 once invoked), scanned A, original, MIT.

A project-instructions auditor for CLAUDE.md, the file that tells a coding agent how to work in a repository. It compares those instructions with the actual codebase and proposes fixes, but waits for approval before editing.

In plain words
What is it for?
Use it to check outdated file paths, commands, dependencies, tools, counts, and version references in CLAUDE.md. If the file does not exist, the supplied description says another workflow handles creating it.
Why use it?
Project instructions can become inaccurate as files, commands, dependencies, and versions change. This finds those mismatches and helps prevent the agent from following stale guidance.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

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.

agentmods
npx agentmods add skills/kevinzai/commander/ccc-claudemd
Any agent
npx skills add KevinZai/commander --skill ccc-claudemd
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-claudemd

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevinzai/commander/ccc-claudemd.svg)](https://agentmods.dev/skills/kevinzai/commander/ccc-claudemd)
Your own site
<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-claudemd"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-claudemd.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,369 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00050 $0.01369
Opus 5 $0.00025 $0.00685
Sonnet 5 $0.00010 $0.00274
Haiku 4.5 $0.00005 $0.00137

Measured 5d ago against content hash 3fec5f41ac32, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

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

commander/cowork-plugin-codex/skills/ccc-claudemd/SKILL.md · 117 lines

How it starts

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

$ccc-claudemd — CLAUDE.md Auditor

Compares the project's CLAUDE.md instructions against the real state of the codebase and proposes concrete fixes. Nothing is edited without explicit AskUserQuestion approval — the permission ask is native to this flow.

CC Commander · $ccc-claudemd · Keep your instructions honest

The ambient suggest engine recommends this skill when claudeMdAgeDays > 30 (from the per-project state at ~/.claude/commander/projects/<slug>/project-state.json — locate it with ls -d ~/.claude/commander/projects/$(basename "$PWD")-*; the flat pre-v7.3.0 path is no longer written). If the project has NO CLAUDE.md at all, route to $ccc-adopt instead — it owns the create flow (diff preview → approval → backup → delimited write).

What It Checks

1. Stale References

  • File paths mentioned in CLAUDE.md that no longer exist
  • Commands referenced that aren't in package.json scripts (or Makefile/justfile targets)
  • Dependencies mentioned that aren't in package.json / pyproject.toml / Cargo.toml
  • Tool/framework references that don't match installed versions
  • Counts and version strings that drifted from reality (prove before alarm — verify each against the live tree before flagging)

2. Missing Context

  • Key directories not documented (src/, lib/, tests/)
  • Package.json scripts not mentioned
  • Environment variables used in code but not documented
  • MCP servers configured but not referenced
  • Git hooks or CI workflows not mentioned

3. Cache Optimization

  • Is static content first, dynamic last? (cache-friendly ordering)
  • Are frequently-referenced paths at the top?
  • Is the file under 500 lines? (diminishing returns above this)
  • Are there duplicate instructions that waste tokens?

4. Token Efficiency

  • Verbose instructions that could be condensed
  • Commented-out or TODO sections wasting context
  • Redundant path listings that could use glob patterns
  • Long example blocks that could be shortened

Process

Step 1: Read CLAUDE.md

Read the project's CLAUDE.md file completely. If it doesn't exist, stop and offer $ccc-adopt via AskUserQuestion — do not create one here.

Read the full file on GitHub · 117 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 First seen · 117 lines · 50 tokens per session scan A 3fec5f41ac32

Subscribe to this mod's changes

ccc-claudemd is a skill published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 50 tokens to every session and 1,369 once invoked, about $0.0003 per session on Opus 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-08-31.