/kit-audit
Synced from
factory-kit/commands/kit-audit.mdat v0.3.0. The source of truth is the factory-kit repo.
You’re auditing the factory-kit’s token cost. This is a read-only report — no files change, no symlinks touched.
What to do
Section titled “What to do”-
Resolve the kit root. The script lives in
bin/kit-audit.shinside the kit, which is not symlinked into~/.claude/(only skills/agents/commands are). Resolve via one of:readlink ~/.claude/skills/factory-voice.mdand walk up two directoriesreadlink ~/.claude/CLAUDE.mdand walk up one directory- Fall back to
~/Documents/nonlinear/factory-kit/if symlinks aren’t present
If the kit can’t be found, tell the user to run the kit’s
install.shfirst and stop. -
Run the audit. Execute
<kit_root>/bin/kit-audit.shvia Bash. The script prints the report to stdout. -
Show the output verbatim in a fenced code block. Don’t reformat it — the column alignment matters.
-
One-line takeaway. Below the code block, a single sentence calling out what matters most. Pick from:
- Baseline cost framing — “Baseline is Xk tokens per session; everything else is on-demand.”
- Outlier flag — if the trim section named outliers, restate the action
- All-good — “Kit is balanced; no trim work needed.”
No further commentary. The numbers speak; you point at the one thing worth doing.
Follow factory-voice.md. This is a diagnostic — terse, numbers-first, no narration. If the user asks “why X is so large,” then dig in. Don’t volunteer interpretation beyond the one-line takeaway.
The script’s estimate is ~4 chars per token. Real tokenizer counts differ by 10-20%. Don’t overstate precision — the relative shape across assets is what’s actionable, not the absolute numbers.