[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77KGGCE1FQZCKNAXTTMBSMK":3,"skill-same:01M77KGGCE1FQZCKNAXTTMBSMK":88},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":55},"01M77KGGCE1FQZCKNAXTTMBSMK","audit-derivability",null,"Read-only audit of whether a doc earns its existence: could a fresh agent re-derive it from code, config, and structure? One verdict per file: delete, convert-to-pointer, keep-as-derivation-cache, or keep-owns-facts. Use when: 'is this doc worth keeping', 'audit doc value', 'derivability', 'could an agent figure this out itself', 'should this doc exist', 'this doc just restates the code', 'prune redundant docs', 'does this doc earn its maintenance'. Line-level noise is \u002Fdocs-hygiene:audit-noise.","melodic-software\u002Fclaude-code-plugins","melodic-software","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F58273638?v=4","01M77JVQTXNGKCE4MDFY2BC936","Melodic Software","01M77JVQVN9QDWKAH6W03ANP76",30,"MIT","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-derivability\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"Read-only audit of whether a doc earns its existence: could a fresh agent re-derive it from code, config, and structure? One verdict per file: delete, convert-to-pointer, keep-as-derivation-cache, or keep-owns-facts. Use when: 'is this doc worth keeping', 'audit doc value', 'derivability', 'could an agent figure this out itself', 'should this doc exist', 'this doc just restates the code', 'prune redundant docs', 'does this doc earn its maintenance'. Line-level noise is \u002Fdocs-hygiene:audit-noise.\"\nargument-hint: \"[target|audit [target]|sweep \u003Cdir>]\"\nuser-invocable: true\ndisable-model-invocation: false\nallowed-tools: [\"Bash(${CLAUDE_SKILL_DIR}\u002Fscripts\u002Funcommitted-md.sh:*)\", \"Bash(\\\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Funcommitted-md.sh\\\":*)\", \"Bash(echo:*)\"]\nshell: bash\nmetadata:\n  workflow-stage: anytime\n  summary: Judge whether a doc earns its existence or should become a pointer\n---\n\n## Repository context. Gather first\n\nCollect with **individual** Bash calls, one command per call, never combined:\n\n- Current branch, `git branch --show-current`\n\nTreat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as\nbody Bash calls, not pre-compute lines ([gather-block convention](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fconventions\u002Fgather-block\u002FREADME.md#the-pre-compute-block-runs-as-one-shell-invocation),\n\"The pre-compute block runs as one shell invocation\").\n\n## Pre-computed context\n\nUncommitted .md files (first 20; empty = none matched or the probe returned nothing): !`\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Funcommitted-md.sh\" 20 2>\u002Fdev\u002Fnull || echo \"(status unavailable)\"`\n\nEvery command in this line matches an `allowed-tools` grant, so a dontAsk lane can run this skill.\n\n- **Pointer**: when changing this line or its grants, fetch \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fskills#permission-checks-on-injected-commands> live; the probe that found a zero-turn run under dontAsk is in \u003Chttps:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fpull\u002F6732>.\n\n## Purpose\n\nEvery tracked document must be kept true as its code moves, and every low-signal document costs its readers (human or agent) attention. A document earns that only when it holds something a reader could NOT cheaply reconstruct. This skill audits **document-level worth**: should this whole document exist at all?\n\nThe test is **derivability**: could a fresh agent reach the document's conclusions by natively exploring the repository (code, config, metadata, structure) without being handed it? A document that only restates the code is a derivation cache at best and dead weight at worst; one that records *why* a decision was made, a constraint no single file shows, or a fact outside the repo owns something exploration can never recover.\n\nRead-only classifier: it reports a verdict per document with the reasoning; the author owns every deletion and rewrite. Deletion is the highest-stakes doc edit, so, like `\u002Fdocs-hygiene:audit-noise`, this skill never applies it.\n\n## The rubric. Four factors, never derivability alone\n\nA verdict is never \"derivable, therefore delete.\" Weigh all four factors together. `context\u002Frubric.md` holds the scoring detail: factor definitions, the Diataxis fact-ownership mapping, the audience cost model, the spot-test protocol, and worked examples. Load it when a verdict is close.\n\n| Factor | Question | Pushes toward |\n|---|---|---|\n| **Derivable?** | Could a fresh agent reconstruct these conclusions from native exploration alone? | derivable → delete\u002Fpointer; not derivable → keep |\n| **Re-derivation cost** | If deleted, what does the next reader pay to rebuild it: a 2-second grep, or a multi-file investigation? | cheap → delete; expensive → keep-as-cache |\n| **Drift risk** | How fast does the source move, and how silently does the doc rot when it does? | high drift → delete\u002Fpointer; low drift → cache is safer |\n| **Fact ownership** | Does the document OWN non-derivable facts: rationale, decisions, constraints, external facts, cross-cutting invariants no single file states? | owns facts → keep, regardless of derivability of the rest |\n\nFact ownership is the trump card: a document owning even one non-derivable fact is kept (`keep-owns-facts`), and the derivable remainder routes to trimming (`\u002Fdocs-hygiene:audit-noise`, `\u002Fdocs-hygiene:extract-ssot`), not deletion.\n\n## Verdict classes\n\n| Verdict | Meaning | Condition |\n|---|---|---|\n| `delete` | Derivable, cheap to re-derive, owns no non-derivable fact: dead weight. | All of: derivable, low re-derivation cost, no owned facts. Load-bearing or contested candidates require the empirical spot-test below before a confident `delete`. |\n| `convert-to-pointer` | Exists to route readers to a truth that lives elsewhere (code, another doc, an external source). Replace the body with a one-line pointer to the source of truth. | Derivable OR duplicative, but the routing\u002Forientation value is real. The verdict MUST name its pointer target as a repo path verified to exist (or an external URL), with the verification in the rationale; a pointer at a nonexistent anchor is worse than the doc it replaces. |\n| `keep-as-derivation-cache` | Derivable, but re-derivation is expensive enough that a cached rendering earns its keep, IF the cache cannot silently rot. | Derivable + high re-derivation cost + **a drift-control condition is present**: a regeneration\u002Fverification path, or a recorded recheck trigger. Absent that condition, this verdict **demotes** to `convert-to-pointer` or `delete`. |\n| `keep-owns-facts` | Owns at least one non-derivable fact (rationale, decision, constraint, external fact, cross-cutting invariant). | Any owned non-derivable fact. Route the derivable remainder to the trimming siblings. |\n\n### Out of scope. Functional artifacts\n\nA file a component CONSUMES or copies at runtime (a checklist template a skill instructs agents to copy and tick, an eval fixture, a scaffold) is machinery, not documentation, and gets NO verdict. Test: is this file an INPUT a tool or skill consumes, rather than prose a reader learns from? If yes, record it as `out-of-scope: functional artifact` in the ledger and move on: the four factors presuppose a document read for its claims, and a scaffold has none.\n\n## Audience-awareness\n\nRe-derivation cost is paid by the reader, and agent and human readers pay differently, so the same content can score differently by audience. Classify each document's primary audience and name it in the verdict; a document serving both is classified for each, taking the more conservative (keep-leaning) verdict. Agent-facing surfaces (`CLAUDE.md`, `AGENTS.md`, `.claude\u002Frules\u002F`, skill and agent bodies) get the full axe: exploration is cheap and redundant context is a standing token tax. Human-facing docs (onboarding, READMEs, tutorials, architecture explainers) clear a higher bar: human re-derivation cost is real. Cost model and examples: `context\u002Frubric.md`.\n\n## Establishing derivability\n\nDo NOT guess derivability from a skim. Two passes, escalating only where the stakes justify it:\n\n1. **Heuristic claim-source classification (every document).** Classify each load-bearing claim by where its truth lives: *code\u002Fconfig\u002Fstructure* (derivable), *another tracked doc* (duplication → `\u002Fdocs-hygiene:extract-ssot`), or *nowhere else* (owned, non-derivable); the mix drives a provisional verdict. Before EVERY `delete` or `convert-to-pointer` verdict that recommends a change (not `convert-to-pointer (already satisfied)`), check `git log` for the file: a commit recording a decision about the doc (a deliberate creation, or a deliberate empty or reset state) is an owned fact (Factor 4). Mechanical history is derivable; a decision or rationale in a commit message is not. Where the decision IS the file's state (a deliberately emptied file) the verdict is `keep-owns-facts`; otherwise it ships **provisional** with the text `reverses a recorded decision`, never as confirmed-actionable.\n2. **Empirical spot-test (load-bearing or contested deletions only).** Having read the document, this context knows the answers and will overestimate how derivable they were: a self-grade. Confirm a `delete`\u002F`convert-to-pointer` by delegating to a **fresh-context, non-fork subagent** that has NOT seen the document. When the audited file loads at launch (root `CLAUDE.md`, `AGENTS.md`, an unscoped `.claude\u002Frules` file), the subagent MUST be `Explore` or `Plan`, this skill's choice: which subagent types load those files before they start is the Sources pointer's to state, and the skill does not rely on any other type skipping them. The subagent reproduces the document's conclusions from native exploration only; then compare. Prefer a cross-vendor advisor for the spot-test **when one is installed and set up**, e.g. the OpenAI Codex plugin, when its documented surface can take this artifact, invoked per its own docs, with the fresh-context same-vendor subagent as the stated fallback, never a route to a command that may not resolve (per `docs\u002Fplugin-philosophy.md` \"Fresh-eyes checkpoints\" in the marketplace repository). Convergence confirms derivable; divergence means the document owns something exploration could not recover: keep it. Never the Agent tool's `fork` subagent type: a fork inherits the parent conversation, carrying the contamination the spot-test exists to avoid. A skill's own `context: fork` frontmatter is different and starts blank. Full protocol: `context\u002Frubric.md`.\n\nGate the spot-test by stakes: skip it for an obviously trivial derivable file (an auto-generated index, a verbatim config restatement); run it whenever being wrong about the deletion costs a reader something real.\n\n**The verification level** decides how many spot-tests run. Resolve it once before the first verdict with `bash \"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fread-verification.sh\" --plugin docs-hygiene --skill audit-derivability --file docs\u002Fconventions\u002Fdocs-hygiene.yaml` and report its line ([levels](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fcontracts\u002Fverification-level\u002FREADME.md)). This skill's `allowed-tools` does not grant the reader, so the call may prompt; a refused or denied call resolves `light`. `standard` is the two paragraphs above. `strict` spot-tests every `delete`\u002F`convert-to-pointer` verdict, trivial files included, and a sweep's cap defers none. Under `light`, and `off`, which acts as `light` here, dispatch no spot-test or keep-sample and never grade one from this context: each verdict that needed one ships provisional, its `Spot-test:` line reading `verification: skipped (\u003Clevel>)`, and is never routed as actionable.\n\nKeep verdicts get a sampled spot-test too, so false-keeps are bounded. A **diverged** keep-sample confirms the keep. A **converged** one sends the doc back through the four factors; any `delete`\u002F`convert-to-pointer` result ships provisional (never confirmed-actionable) and counts as overturned. Sizing, selection, and recording: `context\u002Frubric.md`, \"Keep-sample protocol\".\n\n## Action router\n\n| Action | Args | Behavior |\n|---|---|---|\n| `\u003Ctarget>` (default, no action keyword) | empty → uncommitted `.md` files; file path → single doc; dir path → each `.md` directly in it | Run the rubric per document: heuristic pass, spot-test where gated, emit the verdict ledger |\n| `audit [target]` | same target rules | Explicit form of the default; identical behavior |\n| `sweep \u003Cdir>` | a directory to walk recursively | Corpus audit of the directory's tracked markdown. Enumerate via `git ls-files -- '\u003Cdir>\u002F*.md'`, one combined pathspec: two pathspecs (`'*.md' -- \u003Cdir>`) OR together and silently escalate the sweep to the whole repo. Gitignored and untracked files are out of scope, and so are `\u002Fdocs-hygiene:extract-ssot`'s codified survey exclusions (vendored trees, eval fixtures, test data, run logs; `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fextract-ssot\u002Factions\u002Fidentify.md` owns that list; read it there, don't paraphrase it). Report the scope root and enumerated file count before fan-out. Fan out fresh read-only subagents (no concurrency ceiling of the skill's own; the runtime may cap, which is fine; an actual rate-limit error is the only reason to back off). Small corpus: one document per subagent. Large corpus: batch ~15-25 documents per subagent, grouped by directory affinity so siblings share one exploration context, and route same-basename or near-identical files into ONE batch; where they still split, reconcile divergent verdicts on near-identical documents before the aggregate. Each subagent writes its per-document verdict blocks to a batch ledger file (session scratchpad or similar) and returns compact verdicts and counts; the reply carries the aggregate, the actionable subset, and pointers to the batch ledgers. Corpus-scale per-document detail never streams through one context or one reply. Spot-test a sample of `keep-owns-facts` verdicts too, so false-keeps are bounded, not only false-deletes: every tenth keep in lexical filename order, at least one per batch ledger (the ten is judgment). Record the sampled file list beside the batch ledger when it is drawn; never reconstruct it later. Outcomes: `context\u002Frubric.md`, \"Keep-sample protocol\". |\n\nOne action per response; actions do not chain implicitly. `sweep` is the only recursive mode; the bare\u002F`audit` default never walks subdirectories, so a large tree is never audited by accident.\n\n**Sweep subagent model and effort.** Every `sweep` fan-out, explicit or reached through the repo-wide escalation, sets these per subagent; a tier the user pins wins. When `\u002Fmulti-agent:route` resolves in this session, run `\u002Fmulti-agent:route worker session=\u003Cthis session's model alias>` and pass its `fanout` variant: the model unless `omit_model` is true, and the effort always. When it does not resolve, omit the model so subagents inherit the session's, except when the session model is frontier or unknown, where pass `opus`; pass effort `medium`. That fallback is this skill's stand-in for the role map `\u002Fmulti-agent:route` applies, not an upstream default; say once in the reply that enabling the multi-agent plugin makes this routing configurable.\n\n## Auto-detect default\n\nShared clean-tree \u002F no-scope shape: [`..\u002F..\u002Fcontext\u002Fclean-tree-fallback.md`](..\u002F..\u002Fcontext\u002Fclean-tree-fallback.md). Read it when the bare invocation is unattended or non-interactive, the case the rules below leave unstated, or when editing those rules.\n\n1. Empty arg AND clean tree → no default target exists. Report that, then OFFER escalation to a repo-wide corpus sweep; never start it unprompted. Confirm with the user first (via `AskUserQuestion` where available, a plain prose question otherwise), with the prescribed defaults below pre-filled so a bare \"yes\" suffices; the interview may adjust any knob. Declining, or no answer, ends as the friendly no-op exit 0 (\"No uncommitted .md files. Pass a file\u002Fdir target, or `sweep \u003Cdir>` for a corpus.\")\n2. Empty arg AND uncommitted `.md` files → audit those files\n3. Single file path → single-document audit\n4. Directory path (bare\u002F`audit`) → audit each `.md` directly in the directory (non-recursive; filenames sorted lexically)\n5. First positional == `sweep` → recursive corpus audit on the rest\n\n### Repo-wide escalation. Prescribed defaults\n\nThe interview knobs for the confirmation in rule 1, each with its default. A confirmed escalation runs as a `sweep` over the resolved scope; every hard rule (read-only above all) still applies.\n\n- **Scope**. All tracked `.md` files (`git ls-files '*.md'`); the user may narrow to a directory.\n- **Execution**, the `sweep` contract: fresh read-only subagents, batched for a large corpus.\n- **Concurrency**, no ceiling of the skill's own; the runtime's cap applies. Back off on an actual rate-limit error, never on guessed usage headroom.\n- **Subagent model and effort**, per **Sweep subagent model and effort** under Action router; the user may pin a tier.\n- **Spot-tests**. Run for load-bearing `delete`\u002F`convert-to-pointer` verdicts up to a stated cap per pass. A flagged verdict past the cap is emitted as **provisional**: pending its spot-test, excluded from the actionable-routing offer, never presented as a confirmed delete. The cap *defers* the hard rule's spot-test to a follow-up pass; it never waives it. Under a `strict` verification level there is no cap.\n\n## Output schema\n\nPer document:\n\n```text\n\u003Cfile> — verdict: \u003Cdelete | convert-to-pointer | keep-as-derivation-cache | keep-owns-facts>  [audience: agent | human | both]\n\n| Factor | Reading |\n|--------|---------|\n| Derivable? | \u003Cyes\u002Fpartial\u002Fno> — \u003Cwhere the truth lives> |\n| Re-derivation cost | \u003Ccheap\u002Fmoderate\u002Fexpensive> — \u003Cwhy> |\n| Drift risk | \u003Clow\u002Fmoderate\u002Fhigh> — \u003Cwhat moves underneath it> |\n| Fact ownership | \u003Cnone | owns: rationale \u002F decision \u002F constraint \u002F external fact> |\n\nVerdict rationale: \u003C1-2 lines>.\nSpot-test: \u003Cnot run (trivial) | verification: skipped (\u003Clevel>) | run — converged\u002Fdiverged, subagent reproduced X of Y conclusions | keep-sample: converged\u002Fdiverged>.\nProvisional (if any): \u003Creverses a recorded decision | spot-test deferred | verification skipped (\u003Clevel>) | keep-sample converged, verdict overturned>.\nOwned-fact salvage (if keep-owns-facts): \u003Cthe non-derivable facts to preserve; route the rest to \u002Fdocs-hygiene:audit-noise or extract-ssot>.\nCache drift-control (if keep-as-derivation-cache): \u003Cthe regeneration path or recheck trigger that keeps it honest>.\n```\n\nBatch \u002F sweep aggregate at the end:\n\n```text\nAudited \u003CN> document(s): \u003Cd> delete, \u003Cp> convert-to-pointer, \u003Cc> keep-as-cache, \u003Ck> keep-owns-facts, \u003Cf> out-of-scope functional artifacts; \u003Cr> of the verdicts also carry a route-to-sibling annotation; keep-sample: \u003Cs> sampled, \u003Co> overturned.\n```\n\nRoute-to-sibling is an ANNOTATION on a verdict, never a fifth verdict class: the verdict stands (usually a keep) but its rationale routes material to a sibling (doc-to-doc duplication to `\u002Fdocs-hygiene:extract-ssot`, line-level noise to `\u002Fdocs-hygiene:audit-noise`). Record the route in the rationale; `\u003Cr>` counts the documents carrying one, so routed work shows in the aggregate instead of vanishing into the keep bucket. `\u003Cs>` counts sampled keep verdicts and `\u003Co>` those a converged sample overturned into a provisional `delete`\u002F`convert-to-pointer`, so a false-keep rate is readable from the aggregate. In-tree follow-up status for the 2026-08-15 repo-wide routed set: [`..\u002F..\u002Fcontext\u002Fderivability-route-followups.md`](..\u002F..\u002Fcontext\u002Fderivability-route-followups.md).\n\nCorpus-scale sweeps (more documents than one reply can carry): the per-document blocks live in the batch ledger files; the reply carries the aggregate line, the confirmed-actionable (`delete` \u002F `convert-to-pointer`) subset, the provisional (cap-deferred) verdicts listed separately, never in the actionable subset, and the ledger file locations.\n\nAfter the ledger, OFFER to route actionable verdicts (delete \u002F convert-to-pointer) to the consumer's work-item tracker, one item per document, and stop. Never auto-file, never auto-edit.\n\n## Hard rules\n\n- **Read-only with respect to the repository.** No `Edit` or `Write` inside the repo, no `Bash` that mutates it; session-scratchpad ledgers and artifacts are the one sanctioned write surface. The author applies every deletion and rewrite. Deletion is the highest-stakes doc edit; the classifier only recommends.\n- **Never derivability alone.** A `delete` verdict requires all of: derivable, low re-derivation cost, no owned facts. Any owned non-derivable fact forces `keep-owns-facts`.\n- **Cache verdicts carry a drift-control condition or they demote.** No regeneration path and no recheck trigger → not a cache, demote to pointer\u002Fdelete. A pointer is its own drift control and needs no as-of date or recheck trigger (`context\u002Frubric.md`, Factor 3).\n- **Load-bearing or contested deletions are spot-tested by a fresh, non-fork subagent**, never confirmed from this (contaminated) context, never by the Agent tool's `fork` subagent type, which inherits the parent conversation. A launch-loaded audited file is spot-tested only by `Explore` or `Plan` (this skill's choice; see Sources for which agents load those files). A verdict whose spot-test is deferred (e.g. past a sweep's cap) or skipped by a `light` or `off` verification level stays provisional and is never routed as actionable.\n- **Audience named in every verdict.** Agent-facing and human-facing docs clear different deletion bars.\n- **The empty-target escalation is offer-only.** A repo-wide sweep from the no-op path runs only after explicit user confirmation; decline or silence ends as the no-op.\n- **Owned facts are salvaged before anything is deleted.** When a doc is mostly derivable but owns a fact, the verdict is keep + route-the-remainder, never delete-and-lose.\n- **Output deterministic.** Filenames sort lexically; no timestamps in output.\n\n## Gotchas\n\n- **Derivable is not a verdict.** Check re-derivation cost, drift risk, and fact ownership first. The most common misfire is deleting a mostly-derivable doc that owned one buried rationale line.\n- **The self-grade trap.** After reading a doc it always *looks* re-derivable; never confirm a load-bearing deletion from this context.\n- **Launch-loaded files reach most subagents already.** A subagent that starts with `CLAUDE.md`, `AGENTS.md`, and project rules loaded grades its spot-test of those files having read them; which types do is the Sources pointer's to state. Use `Explore` or `Plan`.\n- **Cache without drift control is not a cache.** It is an unmaintained copy; demote it.\n- **Code-derivable ≠ duplicates-another-doc.** A doc restating *another doc* is `\u002Fdocs-hygiene:extract-ssot`, not a `delete` here.\n- **Audience changes the verdict.** The same restatement can be dead weight on an agent surface and worth keeping for humans; do not carry one surface's verdict to the other.\n\n## What this skill is NOT\n\n- **Not `\u002Fdocs-hygiene:audit-noise`.** That classifies line-level noise *inside* a document worth keeping; this decides whether the whole document is. A `keep-owns-facts` doc can still have noise lines for audit-noise to trim.\n- **Not `\u002Fdocs-hygiene:extract-ssot`.** That deduplicates a unit repeated across files into one home, at any multiplicity (a new home is created only at 3+). Derivability is re-derivation from CODE\u002Fconfig\u002Fstructure, not from another markdown file: a doc that duplicates *another doc* is extract-ssot's; a doc that restates *the code* is this skill's.\n- **Not `\u002Fdocs-hygiene:compress`.** That trims prose within a doc that stays; this deletes or repoints whole docs.\n- **Not a doc-drift \u002F staleness detector.** Those ask \"does this doc still match the code?\" This asks \"should this doc exist even when it is perfectly accurate?\": a currently-correct doc can still be dead weight because it is trivially re-derivable and carries drift risk.\n- **Not a doc generator or an Edit operation.** It recommends; the author acts.\n\n## Sources\n\n- [Diátaxis](https:\u002F\u002Fdiataxis.fr), the four documentation modes; the fact-ownership factor leans on its separation of derivable reference material from explanation, which owns the non-derivable *why*.\n- Which subagents skip launch-loaded files. Pointer: [Create custom subagents: built-in subagents](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fsub-agents#built-in-subagents) and [what loads at startup](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fsub-agents#what-loads-at-startup). Recheck trigger: the Recheck triggers table below.\n\n## Recheck triggers\n\n| Condition | Action |\n|---|---|\n| The rubric is proven over real audits | Route it upstream to `melodic-software\u002Fstandards` as shared doc-value policy (deferred; ledger E-a) |\n| Demand surfaces for applying verdicts, not just classifying | Revisit the deferred remediation\u002Fapply action (deferred; ledger E-b) |\n| The sub-agents page's \"What loads at startup\" lists a different set of subagents that skip `CLAUDE.md` or project rules | Re-read the page by the [fetch-route rungs](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fcontracts\u002Fupstream-drift\u002FREADME.md#the-rungs) (rung 1, fresh bytes), re-derive the `Explore`\u002F`Plan` requirement in the spot-test protocol and the Sources record, refresh the as-of date |\n| A native \"regenerate this doc from source\" mechanism ships | Strengthen the `keep-as-derivation-cache` drift-control test to prefer regeneration over a recorded recheck trigger |\n","## Repository context. Gather first\n\nCollect with **individual** Bash calls, one command per call, never combined:\n\n- Current branch, `git branch --show-current`\n\nTreat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as\nbody Bash calls, not pre-compute lines ([gather-block convention](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fconventions\u002Fgather-block\u002FREADME.md#the-pre-compute-block-runs-as-one-shell-invocation),\n\"The pre-compute block runs as one shell invocation\").\n\n## Pre-computed context\n\nUncommitted .md files (first 20; empty = none matched or the probe returned nothing): !`\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Funcommitted-md.sh\" 20 2>\u002Fdev\u002Fnull || echo \"(status unavailable)\"`\n\nEvery command in this line matches an `allowed-tools` grant, so a dontAsk lane can run this skill.\n\n- **Pointer**: when changing this line or its grants, fetch \u003Chttps:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fskills#permission-checks-on-injected-commands> live; the probe that found a zero-turn run under dontAsk is in \u003Chttps:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fpull\u002F6732>.\n\n## Purpose\n\nEvery tracked document must be kept true as its code moves, and every low-signal document costs its readers (human or agent) attention. A document earns that only when it holds something a reader could NOT cheaply reconstruct. This skill audits **document-level worth**: should this whole document exist at all?\n\nThe test is **derivability**: could a fresh agent reach the document's conclusions by natively exploring the repository (code, config, metadata, structure) without being handed it? A document that only restates the code is a derivation cache at best and dead weight at worst; one that records *why* a decision was made, a constraint no single file shows, or a fact outside the repo owns something exploration can never recover.\n\nRead-only classifier: it reports a verdict per document with the reasoning; the author owns every deletion and rewrite. Deletion is the highest-stakes doc edit, so, like `\u002Fdocs-hygiene:audit-noise`, this skill never applies it.\n\n## The rubric. Four factors, never derivability alone\n\nA verdict is never \"derivable, therefore delete.\" Weigh all four factors together. `context\u002Frubric.md` holds the scoring detail: factor definitions, the Diataxis fact-ownership mapping, the audience cost model, the spot-test protocol, and worked examples. Load it when a verdict is close.\n\n| Factor | Question | Pushes toward |\n|---|---|---|\n| **Derivable?** | Could a fresh agent reconstruct these conclusions from native exploration alone? | derivable → delete\u002Fpointer; not derivable → keep |\n| **Re-derivation cost** | If deleted, what does the next reader pay to rebuild it: a 2-second grep, or a multi-file investigation? | cheap → delete; expensive → keep-as-cache |\n| **Drift risk** | How fast does the source move, and how silently does the doc rot when it does? | high drift → delete\u002Fpointer; low drift → cache is safer |\n| **Fact ownership** | Does the document OWN non-derivable facts: rationale, decisions, constraints, external facts, cross-cutting invariants no single file states? | owns facts → keep, regardless of derivability of the rest |\n\nFact ownership is the trump card: a document owning even one non-derivable fact is kept (`keep-owns-facts`), and the derivable remainder routes to trimming (`\u002Fdocs-hygiene:audit-noise`, `\u002Fdocs-hygiene:extract-ssot`), not deletion.\n\n## Verdict classes\n\n| Verdict | Meaning | Condition |\n|---|---|---|\n| `delete` | Derivable, cheap to re-derive, owns no non-derivable fact: dead weight. | All of: derivable, low re-derivation cost, no owned facts. Load-bearing or contested candidates require the empirical spot-test below before a confident `delete`. |\n| `convert-to-pointer` | Exists to route readers to a truth that lives elsewhere (code, another doc, an external source). Replace the body with a one-line pointer to the source of truth. | Derivable OR duplicative, but the routing\u002Forientation value is real. The verdict MUST name its pointer target as a repo path verified to exist (or an external URL), with the verification in the rationale; a pointer at a nonexistent anchor is worse than the doc it replaces. |\n| `keep-as-derivation-cache` | Derivable, but re-derivation is expensive enough that a cached rendering earns its keep, IF the cache cannot silently rot. | Derivable + high re-derivation cost + **a drift-control condition is present**: a regeneration\u002Fverification path, or a recorded recheck trigger. Absent that condition, this verdict **demotes** to `convert-to-pointer` or `delete`. |\n| `keep-owns-facts` | Owns at least one non-derivable fact (rationale, decision, constraint, external fact, cross-cutting invariant). | Any owned non-derivable fact. Route the derivable remainder to the trimming siblings. |\n\n### Out of scope. Functional artifacts\n\nA file a component CONSUMES or copies at runtime (a checklist template a skill instructs agents to copy and tick, an eval fixture, a scaffold) is machinery, not documentation, and gets NO verdict. Test: is this file an INPUT a tool or skill consumes, rather than prose a reader learns from? If yes, record it as `out-of-scope: functional artifact` in the ledger and move on: the four factors presuppose a document read for its claims, and a scaffold has none.\n\n## Audience-awareness\n\nRe-derivation cost is paid by the reader, and agent and human readers pay differently, so the same content can score differently by audience. Classify each document's primary audience and name it in the verdict; a document serving both is classified for each, taking the more conservative (keep-leaning) verdict. Agent-facing surfaces (`CLAUDE.md`, `AGENTS.md`, `.claude\u002Frules\u002F`, skill and agent bodies) get the full axe: exploration is cheap and redundant context is a standing token tax. Human-facing docs (onboarding, READMEs, tutorials, architecture explainers) clear a higher bar: human re-derivation cost is real. Cost model and examples: `context\u002Frubric.md`.\n\n## Establishing derivability\n\nDo NOT guess derivability from a skim. Two passes, escalating only where the stakes justify it:\n\n1. **Heuristic claim-source classification (every document).** Classify each load-bearing claim by where its truth lives: *code\u002Fconfig\u002Fstructure* (derivable), *another tracked doc* (duplication → `\u002Fdocs-hygiene:extract-ssot`), or *nowhere else* (owned, non-derivable); the mix drives a provisional verdict. Before EVERY `delete` or `convert-to-pointer` verdict that recommends a change (not `convert-to-pointer (already satisfied)`), check `git log` for the file: a commit recording a decision about the doc (a deliberate creation, or a deliberate empty or reset state) is an owned fact (Factor 4). Mechanical history is derivable; a decision or rationale in a commit message is not. Where the decision IS the file's state (a deliberately emptied file) the verdict is `keep-owns-facts`; otherwise it ships **provisional** with the text `reverses a recorded decision`, never as confirmed-actionable.\n2. **Empirical spot-test (load-bearing or contested deletions only).** Having read the document, this context knows the answers and will overestimate how derivable they were: a self-grade. Confirm a `delete`\u002F`convert-to-pointer` by delegating to a **fresh-context, non-fork subagent** that has NOT seen the document. When the audited file loads at launch (root `CLAUDE.md`, `AGENTS.md`, an unscoped `.claude\u002Frules` file), the subagent MUST be `Explore` or `Plan`, this skill's choice: which subagent types load those files before they start is the Sources pointer's to state, and the skill does not rely on any other type skipping them. The subagent reproduces the document's conclusions from native exploration only; then compare. Prefer a cross-vendor advisor for the spot-test **when one is installed and set up**, e.g. the OpenAI Codex plugin, when its documented surface can take this artifact, invoked per its own docs, with the fresh-context same-vendor subagent as the stated fallback, never a route to a command that may not resolve (per `docs\u002Fplugin-philosophy.md` \"Fresh-eyes checkpoints\" in the marketplace repository). Convergence confirms derivable; divergence means the document owns something exploration could not recover: keep it. Never the Agent tool's `fork` subagent type: a fork inherits the parent conversation, carrying the contamination the spot-test exists to avoid. A skill's own `context: fork` frontmatter is different and starts blank. Full protocol: `context\u002Frubric.md`.\n\nGate the spot-test by stakes: skip it for an obviously trivial derivable file (an auto-generated index, a verbatim config restatement); run it whenever being wrong about the deletion costs a reader something real.\n\n**The verification level** decides how many spot-tests run. Resolve it once before the first verdict with `bash \"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fread-verification.sh\" --plugin docs-hygiene --skill audit-derivability --file docs\u002Fconventions\u002Fdocs-hygiene.yaml` and report its line ([levels](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fcontracts\u002Fverification-level\u002FREADME.md)). This skill's `allowed-tools` does not grant the reader, so the call may prompt; a refused or denied call resolves `light`. `standard` is the two paragraphs above. `strict` spot-tests every `delete`\u002F`convert-to-pointer` verdict, trivial files included, and a sweep's cap defers none. Under `light`, and `off`, which acts as `light` here, dispatch no spot-test or keep-sample and never grade one from this context: each verdict that needed one ships provisional, its `Spot-test:` line reading `verification: skipped (\u003Clevel>)`, and is never routed as actionable.\n\nKeep verdicts get a sampled spot-test too, so false-keeps are bounded. A **diverged** keep-sample confirms the keep. A **converged** one sends the doc back through the four factors; any `delete`\u002F`convert-to-pointer` result ships provisional (never confirmed-actionable) and counts as overturned. Sizing, selection, and recording: `context\u002Frubric.md`, \"Keep-sample protocol\".\n\n## Action router\n\n| Action | Args | Behavior |\n|---|---|---|\n| `\u003Ctarget>` (default, no action keyword) | empty → uncommitted `.md` files; file path → single doc; dir path → each `.md` directly in it | Run the rubric per document: heuristic pass, spot-test where gated, emit the verdict ledger |\n| `audit [target]` | same target rules | Explicit form of the default; identical behavior |\n| `sweep \u003Cdir>` | a directory to walk recursively | Corpus audit of the directory's tracked markdown. Enumerate via `git ls-files -- '\u003Cdir>\u002F*.md'`, one combined pathspec: two pathspecs (`'*.md' -- \u003Cdir>`) OR together and silently escalate the sweep to the whole repo. Gitignored and untracked files are out of scope, and so are `\u002Fdocs-hygiene:extract-ssot`'s codified survey exclusions (vendored trees, eval fixtures, test data, run logs; `${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fextract-ssot\u002Factions\u002Fidentify.md` owns that list; read it there, don't paraphrase it). Report the scope root and enumerated file count before fan-out. Fan out fresh read-only subagents (no concurrency ceiling of the skill's own; the runtime may cap, which is fine; an actual rate-limit error is the only reason to back off). Small corpus: one document per subagent. Large corpus: batch ~15-25 documents per subagent, grouped by directory affinity so siblings share one exploration context, and route same-basename or near-identical files into ONE batch; where they still split, reconcile divergent verdicts on near-identical documents before the aggregate. Each subagent writes its per-document verdict blocks to a batch ledger file (session scratchpad or similar) and returns compact verdicts and counts; the reply carries the aggregate, the actionable subset, and pointers to the batch ledgers. Corpus-scale per-document detail never streams through one context or one reply. Spot-test a sample of `keep-owns-facts` verdicts too, so false-keeps are bounded, not only false-deletes: every tenth keep in lexical filename order, at least one per batch ledger (the ten is judgment). Record the sampled file list beside the batch ledger when it is drawn; never reconstruct it later. Outcomes: `context\u002Frubric.md`, \"Keep-sample protocol\". |\n\nOne action per response; actions do not chain implicitly. `sweep` is the only recursive mode; the bare\u002F`audit` default never walks subdirectories, so a large tree is never audited by accident.\n\n**Sweep subagent model and effort.** Every `sweep` fan-out, explicit or reached through the repo-wide escalation, sets these per subagent; a tier the user pins wins. When `\u002Fmulti-agent:route` resolves in this session, run `\u002Fmulti-agent:route worker session=\u003Cthis session's model alias>` and pass its `fanout` variant: the model unless `omit_model` is true, and the effort always. When it does not resolve, omit the model so subagents inherit the session's, except when the session model is frontier or unknown, where pass `opus`; pass effort `medium`. That fallback is this skill's stand-in for the role map `\u002Fmulti-agent:route` applies, not an upstream default; say once in the reply that enabling the multi-agent plugin makes this routing configurable.\n\n## Auto-detect default\n\nShared clean-tree \u002F no-scope shape: [`..\u002F..\u002Fcontext\u002Fclean-tree-fallback.md`](..\u002F..\u002Fcontext\u002Fclean-tree-fallback.md). Read it when the bare invocation is unattended or non-interactive, the case the rules below leave unstated, or when editing those rules.\n\n1. Empty arg AND clean tree → no default target exists. Report that, then OFFER escalation to a repo-wide corpus sweep; never start it unprompted. Confirm with the user first (via `AskUserQuestion` where available, a plain prose question otherwise), with the prescribed defaults below pre-filled so a bare \"yes\" suffices; the interview may adjust any knob. Declining, or no answer, ends as the friendly no-op exit 0 (\"No uncommitted .md files. Pass a file\u002Fdir target, or `sweep \u003Cdir>` for a corpus.\")\n2. Empty arg AND uncommitted `.md` files → audit those files\n3. Single file path → single-document audit\n4. Directory path (bare\u002F`audit`) → audit each `.md` directly in the directory (non-recursive; filenames sorted lexically)\n5. First positional == `sweep` → recursive corpus audit on the rest\n\n### Repo-wide escalation. Prescribed defaults\n\nThe interview knobs for the confirmation in rule 1, each with its default. A confirmed escalation runs as a `sweep` over the resolved scope; every hard rule (read-only above all) still applies.\n\n- **Scope**. All tracked `.md` files (`git ls-files '*.md'`); the user may narrow to a directory.\n- **Execution**, the `sweep` contract: fresh read-only subagents, batched for a large corpus.\n- **Concurrency**, no ceiling of the skill's own; the runtime's cap applies. Back off on an actual rate-limit error, never on guessed usage headroom.\n- **Subagent model and effort**, per **Sweep subagent model and effort** under Action router; the user may pin a tier.\n- **Spot-tests**. Run for load-bearing `delete`\u002F`convert-to-pointer` verdicts up to a stated cap per pass. A flagged verdict past the cap is emitted as **provisional**: pending its spot-test, excluded from the actionable-routing offer, never presented as a confirmed delete. The cap *defers* the hard rule's spot-test to a follow-up pass; it never waives it. Under a `strict` verification level there is no cap.\n\n## Output schema\n\nPer document:\n\n```text\n\u003Cfile> — verdict: \u003Cdelete | convert-to-pointer | keep-as-derivation-cache | keep-owns-facts>  [audience: agent | human | both]\n\n| Factor | Reading |\n|--------|---------|\n| Derivable? | \u003Cyes\u002Fpartial\u002Fno> — \u003Cwhere the truth lives> |\n| Re-derivation cost | \u003Ccheap\u002Fmoderate\u002Fexpensive> — \u003Cwhy> |\n| Drift risk | \u003Clow\u002Fmoderate\u002Fhigh> — \u003Cwhat moves underneath it> |\n| Fact ownership | \u003Cnone | owns: rationale \u002F decision \u002F constraint \u002F external fact> |\n\nVerdict rationale: \u003C1-2 lines>.\nSpot-test: \u003Cnot run (trivial) | verification: skipped (\u003Clevel>) | run — converged\u002Fdiverged, subagent reproduced X of Y conclusions | keep-sample: converged\u002Fdiverged>.\nProvisional (if any): \u003Creverses a recorded decision | spot-test deferred | verification skipped (\u003Clevel>) | keep-sample converged, verdict overturned>.\nOwned-fact salvage (if keep-owns-facts): \u003Cthe non-derivable facts to preserve; route the rest to \u002Fdocs-hygiene:audit-noise or extract-ssot>.\nCache drift-control (if keep-as-derivation-cache): \u003Cthe regeneration path or recheck trigger that keeps it honest>.\n```\n\nBatch \u002F sweep aggregate at the end:\n\n```text\nAudited \u003CN> document(s): \u003Cd> delete, \u003Cp> convert-to-pointer, \u003Cc> keep-as-cache, \u003Ck> keep-owns-facts, \u003Cf> out-of-scope functional artifacts; \u003Cr> of the verdicts also carry a route-to-sibling annotation; keep-sample: \u003Cs> sampled, \u003Co> overturned.\n```\n\nRoute-to-sibling is an ANNOTATION on a verdict, never a fifth verdict class: the verdict stands (usually a keep) but its rationale routes material to a sibling (doc-to-doc duplication to `\u002Fdocs-hygiene:extract-ssot`, line-level noise to `\u002Fdocs-hygiene:audit-noise`). Record the route in the rationale; `\u003Cr>` counts the documents carrying one, so routed work shows in the aggregate instead of vanishing into the keep bucket. `\u003Cs>` counts sampled keep verdicts and `\u003Co>` those a converged sample overturned into a provisional `delete`\u002F`convert-to-pointer`, so a false-keep rate is readable from the aggregate. In-tree follow-up status for the 2026-08-15 repo-wide routed set: [`..\u002F..\u002Fcontext\u002Fderivability-route-followups.md`](..\u002F..\u002Fcontext\u002Fderivability-route-followups.md).\n\nCorpus-scale sweeps (more documents than one reply can carry): the per-document blocks live in the batch ledger files; the reply carries the aggregate line, the confirmed-actionable (`delete` \u002F `convert-to-pointer`) subset, the provisional (cap-deferred) verdicts listed separately, never in the actionable subset, and the ledger file locations.\n\nAfter the ledger, OFFER to route actionable verdicts (delete \u002F convert-to-pointer) to the consumer's work-item tracker, one item per document, and stop. Never auto-file, never auto-edit.\n\n## Hard rules\n\n- **Read-only with respect to the repository.** No `Edit` or `Write` inside the repo, no `Bash` that mutates it; session-scratchpad ledgers and artifacts are the one sanctioned write surface. The author applies every deletion and rewrite. Deletion is the highest-stakes doc edit; the classifier only recommends.\n- **Never derivability alone.** A `delete` verdict requires all of: derivable, low re-derivation cost, no owned facts. Any owned non-derivable fact forces `keep-owns-facts`.\n- **Cache verdicts carry a drift-control condition or they demote.** No regeneration path and no recheck trigger → not a cache, demote to pointer\u002Fdelete. A pointer is its own drift control and needs no as-of date or recheck trigger (`context\u002Frubric.md`, Factor 3).\n- **Load-bearing or contested deletions are spot-tested by a fresh, non-fork subagent**, never confirmed from this (contaminated) context, never by the Agent tool's `fork` subagent type, which inherits the parent conversation. A launch-loaded audited file is spot-tested only by `Explore` or `Plan` (this skill's choice; see Sources for which agents load those files). A verdict whose spot-test is deferred (e.g. past a sweep's cap) or skipped by a `light` or `off` verification level stays provisional and is never routed as actionable.\n- **Audience named in every verdict.** Agent-facing and human-facing docs clear different deletion bars.\n- **The empty-target escalation is offer-only.** A repo-wide sweep from the no-op path runs only after explicit user confirmation; decline or silence ends as the no-op.\n- **Owned facts are salvaged before anything is deleted.** When a doc is mostly derivable but owns a fact, the verdict is keep + route-the-remainder, never delete-and-lose.\n- **Output deterministic.** Filenames sort lexically; no timestamps in output.\n\n## Gotchas\n\n- **Derivable is not a verdict.** Check re-derivation cost, drift risk, and fact ownership first. The most common misfire is deleting a mostly-derivable doc that owned one buried rationale line.\n- **The self-grade trap.** After reading a doc it always *looks* re-derivable; never confirm a load-bearing deletion from this context.\n- **Launch-loaded files reach most subagents already.** A subagent that starts with `CLAUDE.md`, `AGENTS.md`, and project rules loaded grades its spot-test of those files having read them; which types do is the Sources pointer's to state. Use `Explore` or `Plan`.\n- **Cache without drift control is not a cache.** It is an unmaintained copy; demote it.\n- **Code-derivable ≠ duplicates-another-doc.** A doc restating *another doc* is `\u002Fdocs-hygiene:extract-ssot`, not a `delete` here.\n- **Audience changes the verdict.** The same restatement can be dead weight on an agent surface and worth keeping for humans; do not carry one surface's verdict to the other.\n\n## What this skill is NOT\n\n- **Not `\u002Fdocs-hygiene:audit-noise`.** That classifies line-level noise *inside* a document worth keeping; this decides whether the whole document is. A `keep-owns-facts` doc can still have noise lines for audit-noise to trim.\n- **Not `\u002Fdocs-hygiene:extract-ssot`.** That deduplicates a unit repeated across files into one home, at any multiplicity (a new home is created only at 3+). Derivability is re-derivation from CODE\u002Fconfig\u002Fstructure, not from another markdown file: a doc that duplicates *another doc* is extract-ssot's; a doc that restates *the code* is this skill's.\n- **Not `\u002Fdocs-hygiene:compress`.** That trims prose within a doc that stays; this deletes or repoints whole docs.\n- **Not a doc-drift \u002F staleness detector.** Those ask \"does this doc still match the code?\" This asks \"should this doc exist even when it is perfectly accurate?\": a currently-correct doc can still be dead weight because it is trivially re-derivable and carries drift risk.\n- **Not a doc generator or an Edit operation.** It recommends; the author acts.\n\n## Sources\n\n- [Diátaxis](https:\u002F\u002Fdiataxis.fr), the four documentation modes; the fact-ownership factor leans on its separation of derivable reference material from explanation, which owns the non-derivable *why*.\n- Which subagents skip launch-loaded files. Pointer: [Create custom subagents: built-in subagents](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fsub-agents#built-in-subagents) and [what loads at startup](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fsub-agents#what-loads-at-startup). Recheck trigger: the Recheck triggers table below.\n\n## Recheck triggers\n\n| Condition | Action |\n|---|---|\n| The rubric is proven over real audits | Route it upstream to `melodic-software\u002Fstandards` as shared doc-value policy (deferred; ledger E-a) |\n| Demand surfaces for applying verdicts, not just classifying | Revisit the deferred remediation\u002Fapply action (deferred; ledger E-b) |\n| The sub-agents page's \"What loads at startup\" lists a different set of subagents that skip `CLAUDE.md` or project rules | Re-read the page by the [fetch-route rungs](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fcontracts\u002Fupstream-drift\u002FREADME.md#the-rungs) (rung 1, fresh bytes), re-derive the `Explore`\u002F`Plan` requirement in the spot-test protocol and the Sources record, refresh the as-of date |\n| A native \"regenerate this doc from source\" mechanism ships | Strengthen the `keep-as-derivation-cache` drift-control test to prefer regeneration over a recorded recheck trigger |\n",{"shell":24,"metadata":25,"description":7,"allowed-tools":28,"argument-hint":32,"user-invocable":33,"disable-model-invocation":20},"bash",{"summary":26,"workflow-stage":27},"Judge whether a doc earns its existence or should become a pointer","anytime",[29,30,31],"Bash(${CLAUDE_SKILL_DIR}\u002Fscripts\u002Funcommitted-md.sh:*)","Bash(\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Funcommitted-md.sh\":*)","Bash(echo:*)","[target|audit [target]|sweep \u003Cdir>]",true,"main","5aff8ba54896bc54fd0eb46e4a954099449cf67d","plugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-derivability",7,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins","https:\u002F\u002Fgithub.com\u002Fmelodic-software","https:\u002F\u002Fmelodicsoftware.com","Independent software studio building developer tools, automation, and application services, with roots in music.","2026-11-15 05:15:06",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":33},[45,48,51],{"tool":46,"command":47},"npx","npx skills add melodic-software\u002Fclaude-code-plugins --skill audit-derivability",{"tool":49,"command":50},"bunx","bunx skills add melodic-software\u002Fclaude-code-plugins --skill audit-derivability",{"tool":52,"command":53},"pnpm","pnpm dlx skills add melodic-software\u002Fclaude-code-plugins --skill audit-derivability","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-derivability\u002FSKILL.md",[56,62,66,70,74,78,84],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"context\u002Frubric.md","REFERENCE","参考文档",15109,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-derivability\u002Fcontext\u002Frubric.md",{"path":63,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":64,"sourceHtmlUrl":65},"evals\u002Fevals.json",21467,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-derivability\u002Fevals\u002Fevals.json",{"path":67,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":68,"sourceHtmlUrl":69},"evals\u002Ffixtures\u002Fdecision-rationale.md",1027,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-derivability\u002Fevals\u002Ffixtures\u002Fdecision-rationale.md",{"path":71,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Ffixtures\u002Fderivable-with-source\u002Fruntime-settings.md",241,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-derivability\u002Fevals\u002Ffixtures\u002Fderivable-with-source\u002Fruntime-settings.md",{"path":75,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Ffixtures\u002Fderivable-with-source\u002Fsettings.json",210,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-derivability\u002Fevals\u002Ffixtures\u002Fderivable-with-source\u002Fsettings.json",{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002Funcommitted-md.sh","SCRIPT","脚本",827,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-derivability\u002Fscripts\u002Funcommitted-md.sh",{"path":85,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":86,"sourceHtmlUrl":87},"scripts\u002Funcommitted-md.test.sh",3357,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-derivability\u002Fscripts\u002Funcommitted-md.test.sh",[89,96,103,110,115,122],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7DYYDG31B9YX7N9MB9QW2GW","track","Backlog reads through the bound tracker: search open and closed items, view one item with its comments and state history. Use when another skill searches or reads tracker items.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fsession-flow\u002Fevals\u002Frecall-still-reports-reopened-bug\u002Fwork-items-stub\u002Fskills\u002Ftrack\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7DYXVBAVG3NV30PA7GKW9Q6","reviewer-media","Reviewer media for one pull request: decides whether it needs a narrated walkthrough, builds the storyboard from \u002Freview:explain-change's digest, has \u002Fexplainer-video:produce render it and hands the manifest to \u002Fsource-control:pull-request media. Use when asked for 'reviewer media', 'a walkthrough video for this PR', 'a produced video of this change', or when pull-request ready or monitor hands a PR over.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Freview\u002Fskills\u002Freviewer-media\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M7DYRZ5YD44AMYH26YR25GZ8","route","Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdiscovery\u002Fevals\u002Fex-model-pin-without-override\u002Fmulti-agent-stub\u002Fskills\u002Froute\u002FSKILL.md",[],[],{"skillNo":111,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":19},"01M7DYRTVT4FWTGDJY0HCCFJMZ","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdiscovery\u002Fevals\u002Fex-model-override-from-route\u002Fmulti-agent-stub\u002Fskills\u002Froute\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":19},"01M7DYNZC8PNW3T27V2ADKECKJ","principles","Module-design vocabulary for architecture findings, and the checks built on it. Use when: 'what is a deep module', 'what is a seam', 'deep vs shallow module', 'what is the deletion test', 'leverage and locality', 'module design vocabulary', 'which word do we use for X in architecture findings'. Scanning a codebase for friction is \u002Farchitecture:improve.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Farchitecture\u002Fskills\u002Fprinciples\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":19},"01M7DYNMCZNEWBFHV9KTSS6H60","write","Structured five-field bug report (title, steps to reproduce, expected vs actual, justified severity, suggested fix location) from an informal description, read-only. Use when the user names a defect they observed, or asks for one written up ('report a bug', 'file a bug', 'write this up as a bug').","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Farchitecture\u002Fevals\u002Fdeepening-defect-goes-to-bugs-write\u002Fbugs-stub\u002Fskills\u002Fwrite\u002FSKILL.md",[],[]]