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.
npx skills add KevinZai/commander --skill ccc-doc-syncgit 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/skills/kevinzai/commander/ccc-doc-sync)<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-doc-sync"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-doc-sync/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/skills/kevinzai/commander/ccc-doc-sync"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-doc-sync.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.00060 | $0.01360 |
| Opus 5.5 | $0.00024 | $0.00544 |
| Sonnet 5.5 | $0.00012 | $0.00272 |
| Haiku 4.5 | $0.00006 | $0.00136 |
Grade A, and why
ccc-doc-sync 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 — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
$ccc-doc-sync — One source for counts
CC Commander · $ccc-doc-sync · every count and version string in the docs matches the canonical sources
When to use / when not to
- Use inside the Commander repository after a change to
commander/contract.json(plugin_skills,specialist_agents,hook_handlers) or topackage.jsonversion, or whennpm run docs:sync:checkfails. - Do not hand-edit counts in docs; add or fix a pattern in
patterns.jsoninstead. - Not for prose drift in a project's CLAUDE.md; use
$ccc-claudemd. - The script resolves the project root four levels above its own directory, so it runs only from a Commander repository checkout, not from an installed plugin cache.
How it works
| File | Role |
|---|---|
sync.js |
Runner: loads sources, applies patterns, prints drift, sets the exit code. Holds no counts. |
patterns.json |
Declarative per-file regex replacements (the contract). |
commander/contract.json |
Canonical plugin_skills, specialist_agents, hook_handlers. |
package.json |
Canonical version. |
Templates use ${plugin_skills}, ${specialist_agents}, ${hook_handlers} and ${version}; any other variable is an error. The run is idempotent: a second --apply changes nothing.
What happens
- Confirm the repo root. Run
git rev-parse --show-topleveland check thatcommander/contract.jsonandcommander/cowork-plugin/skills/ccc-doc-sync/sync.jsexist there. If not, stop and say the skill needs a Commander checkout. - Show the canonical values.
node -p "const c=require('./commander/contract.json'),p=require('./package.json');JSON.stringify({plugin_skills:c.plugin_skills,specialist_agents:c.specialist_agents,hook_handlers:c.hook_handlers,version:p.version})" - List covered files (never quote a fixed list; read it):
node -p "require('./commander/cowork-plugin/skills/ccc-doc-sync/patterns.json').patterns.map(p=>p.file).join('\n')" - Check for drift.
Exit codes:node commander/cowork-plugin/skills/ccc-doc-sync/sync.js --check # same as: npm run docs:sync:check0in sync,1drift found (file names printed),2regex or file error. On2, read the error, fix the pattern or missing path inpatterns.json, and rerun; do not apply. - Decide. If
$ARGUMENTSis--check, report the result and stop. If it is--apply, go to step 6. Otherwise, on drift, ask the picker below. - Apply.
Review the diff: only numbers and version strings should change. If a replacement touched historical text (a dated changelog entry, an old version reference), revert that hunk with Edit and narrow the regex innode commander/cowork-plugin/skills/ccc-doc-sync/sync.js --apply # same as: npm run docs:sync git diff --statpatterns.json. - Verify with the commands in Done when.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · -1 lines 357ee351ffaf
- 1mo ago Changed · +4 lines · +32 tokens per session dda906fded33
- 3mo ago First seen · 106 lines · 28 tokens per session scan A f731620e317e
ccc-doc-sync is a skill published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 1,360 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-08-31.
ccc-doc-sync compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ccc-doc-syncKevinZai/commander | Skill | 6 | yesterday | MIT | A | 60 | Claude Code, Codex |
| logingreenpolo/cc-multi-cli-plugin | Skill | 197 | 2d ago | Apache-2.0 | A | 10 | Claude Code |
| skill-devandisab/swe-marketplace | Skill | 23 | 2d ago | MIT | A | 86 | Claude Code |
| coordinatorandisab/swe-marketplace | Skill | 23 | 2d ago | MIT | A | 193 | Claude Code |
| mcp-tool-devandisab/swe-marketplace | Skill | 23 | 2d ago | MIT | A | 158 | Claude Code |
| debt-ops-addbcanfield/agentic-tech-debt | Skill | 9 | yesterday | MIT | A | 115 | Claude Code, Codex |
| debt-ops-metricsbcanfield/agentic-tech-debt | Skill | 9 | yesterday | MIT | A | 74 | Claude Code, Codex |