Borrowing it
Nothing to install: this file belongs to tomdwipo/claude-soul. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/tomdwipo/claude-soul/main/.claude/commands/audit-catalog.mdgit clone --depth 1 https://github.com/tomdwipo/claude-soulWrote 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/tomdwipo/claude-soul/audit-catalog)<a href="https://agentmods.dev/commands/tomdwipo/claude-soul/audit-catalog"><img src="https://agentmods.dev/badge/commands/tomdwipo/claude-soul/audit-catalog/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/tomdwipo/claude-soul/audit-catalog"><img src="https://agentmods.dev/badge/commands/tomdwipo/claude-soul/audit-catalog.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.00000 | $0.00863 |
| Opus 5 | $0.00000 | $0.00432 |
| Sonnet 5 | $0.00000 | $0.00173 |
| Haiku 4.5 | $0.00000 | $0.00086 |
Grade A, and why
audit-catalog 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 10d 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 — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/audit-catalog — periodic by-mechanism audit of the .docs catalogs (dedup / cross-link / drift)
Run a SYSTEMATIC, exhaustive audit of .docs/common-issues/ (default) — or .docs/principles/ if
$ARGUMENTS says "principles" (or "both"). Cross-session catalogs accrete overlap, broken links, and
doc↔code drift that incremental passes miss; this finds them in one pass. Common-issues need this more
often than principles (raw incidents vs distilled-via-how-to-learn).
Why a command, not a cron: findings need judgment to act on (which links are genuine, what to skip), so this runs with review, not autonomously. Invoke it periodically (e.g. every ~15–20 new entries, or after a big feature batch).
Method (the lesson this encodes)
Scan by MECHANISM, not by label — the same gotcha filed under a different topic label hides from a keyword grep and from a skim. And run a disconfirmation pass: don't stop at the comfortable "it's clean."
Steps
- Extract mechanisms (delegate, fresh). Spawn a fresh general-purpose sub-agent (independent →
no bias from prior conclusions). Have it: list every
.mdin the target dir (excl.README.md,how-to-learn.md,android/); read EACH and write its core mechanism in one line (the cognitive move, independent of topic/stack); group by shared mechanism; for each group ≥2, grep members for[[other-slug]]to see what's already linked. It must report, conservatively: (a) same-mechanism clusters with a MISSING cross-link (members + which links absent), (b) true near-duplicate / merge candidates, (c) broken wikilinks (a[[slug]]whose file doesn't exist), (d) counts (files read, distinct mechanisms). Read-only; tag each finding [High/Med/Low]. Tell it which clusters are already-linked (exclude them) so it doesn't re-report. - Verify each candidate yourself by READING the files — never link on the sub-agent's abstraction alone (a one-line mechanism can over-group). Confirm the cognitive move genuinely matches.
- Cross-link the genuine ones, don't merge — each entry keeps its specific "how"; add a one-line
"shared mechanism" note + bidirectional
[[ ]]links (+ a sibling-ref in the index row for recall). Merge only a TRUE duplicate (one fully absorbs the other) — rare; merge ≠ free. - Fix broken wikilinks (slug typos) and repair drift on sight — if an entry describes a state that now contradicts the code (e.g. "we kept X loose" but X was since fixed), update it (doc-tracks-code). The by-mechanism read surfaces drift a label-skim never would.
- Be conservative — skip loose ones, say so. Don't mechanically link every thematic adjacency (over-linking dilutes recall too). If a cluster's real home is an existing principle, point each member at the principle instead of peer-linking.
- Idempotent: re-running is safe — already-linked pairs are excluded, edits are additive. If a
parallel session may have touched the catalog,
git fetchfirst. - Log + review: add a dated
recent-updatesline (clusters linked, drift/broken-links fixed, what was consciously skipped + why). Show the diff and STOP for review; commit only when told. Propagate generic findings to a public mirror if one exists (if a public mirror exists); note any cluster whose member isn't there.
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.
- 10d ago First seen · 46 lines · 0 tokens per session scan A d0408d284ab4
audit-catalog is a command published in the GitHub repository tomdwipo/claude-soul (24 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 863 tokens. 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-30.
Other commands, from other repositories
sdd-init
Initialize SDD context — detects project stack and bootstraps persistence backend.
review-branch
Review the current branch's diff against base by dispatching atomic-reviewer. No orchestration loop, no spec required — pre-flight before /commit pr or /commit merge.
init
Install the formatters this repository needs, with every command visible before it runs.
merge-conflict-analysis
You are analyzing merge conflicts for PR #${{ pr-number }}.
repo-audit
Audit a codebase (local or remote GitHub/GitLab) against architecture principles and requirements, surfacing drift, risk, and missing decisions.
argos
A command for checking whether an implementation matches its design deliverables. Its Korean description compares the work to the design as part of a completion inspection.