ccc-xray

ccc-xray is a command for coding agents from KevinZai/commander. It costs 19 tokens per session (238 once invoked), scanned A, original, MIT.

A project health scanner that checks six areas of a codebase: security, testing, DevOps, code quality, documentation, and architecture. It produces scores, a maturity level, and recommended skills.

In plain words
What is it for?
Use it to check for secrets, old dependencies, missing tests, CI/CD and Docker setup, weak documentation, and architecture issues.
Why use it?
It replaces a broad manual review with one report showing where a project needs attention. Prioritized recommendations help turn findings into next actions.

Command

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 commands/kevinzai/commander/ccc-xray
Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/kevinzai/commander/ccc-xray.svg)](https://agentmods.dev/commands/kevinzai/commander/ccc-xray)
Your own site
<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-xray"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-xray.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 238 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 $0.00019 $0.00238
Opus 5 $0.00010 $0.00119
Sonnet 5 $0.00004 $0.00048
Haiku 4.5 $0.00002 $0.00024

Measured today against content hash eac80dbfbf9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ccc-xray 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 today.

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-xray.md · 39 lines

What it actually says

/ccc-xray

Run a comprehensive project X-Ray analysis.

What It Does

  1. Scans the current project for signals across 6 dimensions:

    • Security (secrets, lockfiles, dependency age)
    • Testing (coverage, E2E, test files)
    • DevOps (CI/CD, Docker, deploy config)
    • Quality (linting, formatting, file sizes)
    • Documentation (README, CLAUDE.md, API docs)
    • Architecture (error handling, validation, modularity)
  2. Scores each dimension 0-100 and calculates overall health

  3. Assigns maturity level (1-5: Initial through Optimizing)

  4. Recommends skills sorted by impact score

Usage

/ccc-xray

Output

Markdown report with:

  • Overall health score and maturity level
  • Per-dimension score bars
  • Prioritized recommendations with skill links
  • Quick-fix commands for each finding
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. today First seen · 39 lines · 19 tokens per session scan A eac80dbfbf9a

Subscribe to this mod's changes

ccc-xray is a command published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 19 tokens to every session and 238 once invoked, about $0.0001 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-09-04.