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.
git clone --depth 1 https://github.com/KevinZai/commanderWrote 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.
[](https://agentmods.dev/commands/kevinzai/commander/ccc-xray)<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-xray"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-xray/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.
<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-xray"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-xray.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00056 | $0.01148 |
| Opus 5.5 | $0.00022 | $0.00459 |
| Sonnet 5.5 | $0.00011 | $0.00230 |
| Haiku 4.5 | $0.00006 | $0.00115 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/ccc-xray — project health scan
CC Commander · /ccc-xray · a read-only scan of the current project that returns dimension scores, a maturity level and impact-ranked skill recommendations.
Arguments
None. The scan always runs against the current working directory ($PWD).
What happens
-
Resolve the install. The scanner ships with the CC Commander CLI as
commander/xray-report.js:CCC_ROOT="$(cd "$(dirname "$(realpath "$(command -v ccc)")")/.." && pwd)"If
cccis not onPATH, setCCC_ROOTto the root of a CC Commander checkout (the directory that containscommander/xray-report.js). If neither exists, say the CLI is not installed, point to/ccc-auditfor a manual audit, and stop. Shell state does not carry between Bash calls, so repeat theCCC_ROOT=line at the top of the step 2 command. -
Run the scan. One call returns the structured result:
CCC_ROOT="$(cd "$(dirname "$(realpath "$(command -v ccc)")")/.." && pwd)" node -e 'const r=require(process.argv[1]+"/commander/xray-report").generateReport(process.argv[2]);console.log(JSON.stringify({overall:r.health.overall,maturity:r.maturity,dimensions:r.health.dimensions,issues:r.health.issueCounts,recommendations:r.recommendations}))' "$CCC_ROOT" "$PWD"The scanner reads project signals in six dimensions:
Dimension Signals security committed env secrets, lockfile presence, outdated dependencies testing test files, coverage, E2E config devops CI/CD workflows, Dockerfile, deploy config quality lint, formatter and TypeScript config, oversized files docs README, CLAUDE.md, CHANGELOG, API docs architecture error handling, input validation, circular dependencies, monolith size Each dimension starts at 100 and loses points per matching recommendation; the overall score is the average of the six. When the signal scanner cannot load, the script falls back to file-presence checks only; say so in the report. A non-zero exit or a stack trace means the scan failed: report the error text and stop rather than estimating scores.
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.
- 1mo ago Changed · +48 lines · +37 tokens per session feec060627bc
- 2mo ago First seen · 39 lines · 19 tokens per session scan A eac80dbfbf9a
ccc-xray is a command published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 56 tokens to every session and 1,148 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-04.
ccc-xray compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ccc-xrayKevinZai/commander | Command | 6 | yesterday | MIT | A | 56 | Claude Code |
| loopskullninja/coco-workflow | Command | 7 | 1mo ago | MIT | A | 28 | Claude Code |
| phaseskullninja/coco-workflow | Command | 7 | 1mo ago | MIT | A | 21 | Claude Code |
| statusskullninja/coco-workflow | Command | 7 | 1mo ago | MIT | A | 17 | Claude Code |
| justone-publishGodsB1025/justone | Command | 2 | 6mo ago | MIT | A | 22 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | today | MIT | A | 27 | Claude Code |