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-skill-create)<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-skill-create"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-skill-create/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-skill-create"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-skill-create.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.00052 | $0.01070 |
| Opus 5.5 | $0.00021 | $0.00428 |
| Sonnet 5.5 | $0.00010 | $0.00214 |
| Haiku 4.5 | $0.00005 | $0.00107 |
Grade A, and why
ccc-skill-create 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 6d 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.
This is a copy
95% identical to skill-create — 217 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/ccc-skill-create — a project skill from git history
CC Commander · /ccc-skill-create · a reviewed SKILL.md describing how this repository is actually worked on.
Arguments
$ARGUMENTS:
| Flag | Meaning |
|---|---|
--commits <n> |
Commits to analyze (default 200) |
--output <dir> |
Skills directory to write into (default .claude/skills) |
--instincts |
Also write instincts for the continuous-learning-v2 system |
What happens
-
Confirm a git repository:
git rev-parse --show-toplevel. If it fails, say so and stop. Use the top-level directory name as<repo-name>. -
Gather history (replace
200with--commits):git log -n 200 --name-only --pretty=format:"%H|%s|%ad" --date=short git log -n 200 --name-only --pretty=format: | grep -v '^$' | sort | uniq -c | sort -rn | head -20 git log -n 200 --pretty=format:%s | head -50If the repository has fewer commits than requested, analyze what exists and report the actual count.
-
Detect patterns, each backed by evidence from step 2:
Pattern How to detect Commit conventions Prefixes in subjects ( feat:,fix:,chore:) and the share that follow themFile co-changes Files that appear in the same commits repeatedly Workflow sequences Recurring sets of files changed for one kind of task Architecture Folder structure and naming, from git ls-filesTesting Test file locations, naming, and the framework in the manifest Report a pattern only when it recurs; give its count (for example "41 of 50 subjects use conventional prefixes").
-
Draft
<output>/<repo-name>-patterns/SKILL.mdin this shape:--- name: <repo-name>-patterns description: "Coding conventions and workflows used in <repo-name>. Use when writing commits, adding features or tests in this repository." metadata: source: local-git-analysis analyzed_commits: <n> --- # <Repo name> patterns ## Commit conventions ## Code architecture ## Workflows (numbered steps per recurring task, with the exact files and commands) ## Testing patterns
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.
- 6d ago Changed · -69 lines · +24 tokens per session 7c31ad883295
- 1mo ago First seen · 175 lines · 28 tokens per session scan A 0d0d60a3e3f8
ccc-skill-create is a command published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 1,070 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to skill-create, differing in 217 lines, and is treated as a copy.
Other commands, from other repositories
undo-commit
Soft-undo the last commit. Restores its changes as staged, leaves working tree intact. Refuses if HEAD is already pushed to a tracked remote.
session-report
Capture what changed this session and why, scoped to the current branch. Read by ship verbs when synthesizing the commit message; deleted after a successful commit.
commit
Stage, commit, and optionally ship further. Pass an escalation token (push, pr, merge, squash, squash merge) to skip the prompt. With no token, commits then asks how far to ship. Delegates message format to the atomic-git-discipline skill.
autocommit
Toggle auto git commits on/off for this project. Run without args to see status, or with "on"/"off" to set.
commit
Split the changes into atomic commits, preflight and push them. Pass --skip-preflight or --no-push to skip a step.
commit-message
Generate a conventional commit message from staged changes.