← ClaudeAtlas

compound-refreshlisted

Garbage-collect the knowledge stores — audit AGENTS.md, and docs/solutions/ where that store is enabled, against the current code.
toverux/cantrips · ★ 2 · AI & Automation · score 74
Install: claude install-skill toverux/cantrips
Audit the knowledge stores against the current codebase and prune what no longer earns its place. Two stores: the project's `AGENTS.md`, always, and `docs/solutions/` when the loop config enables it. The loop config is `docs/agents/cantrips-loop.md`; when that doc is absent, the solutions store is off. The opt-in `docs/adr/` store stays out of scope by design — supersession is its own hygiene mechanism. Every change is user-gated. ## Scope An argument narrows the sweep to matching `docs/solutions/` docs — try it as a filename, then a frontmatter `area`/`tags` value, then a content keyword. No argument → every doc plus `AGENTS.md`. `AGENTS.md` is in scope on every run: when the solutions store is off, or no doc matches the argument, say so in one line and audit `AGENTS.md` alone. ## Audit docs/solutions/ The format contract is [`../compound/solutions-format.md`](../compound/solutions-format.md). For each doc in scope, cross-check its claims against the current code — cited paths and names still exist, the fix still matches how the code works today, snippets reflect the current implementation — and against its sibling docs for overlap and contradiction. Verdict per file: - **Keep** — still accurate and useful. No edit: reported as reviewed, zero churn. - **Update** — the problem is still real but the doc drifted, from moved paths and renamed names up to a fix the current code now contradicts. On approval: evidence-backed in-place edits; on a contradicted fix, rewrite t