audit-derivability

audit-derivability is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 100 tokens per session (5,720 once invoked), scanned A, original, MIT.

A read-only audit for deciding whether a documentation file contains information worth keeping.

In plain words
What is it for?
Use it to assess whether documentation should stay, become a pointer, or be removed.
Why use it?
It identifies documents that merely repeat facts an agent could reconstruct from the code, configuration, or repository structure.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the docs-hygiene plugin — 9 skills, 1 agent, 1 plugin shipped together

Good fit Use it to assess whether documentation should stay, become a pointer, or be removed.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
Claude Code
/plugin install docs-hygiene

Made for: Claude Code.

Or install docs-hygiene, the plugin that ships this one along with the rest of its 9 skills, 1 agent, 1 plugin.

Wrote 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.

agentmods badge for audit-derivability

README.md
[![agentmods](https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/audit-derivability/github.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/audit-derivability)
Your own site
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/audit-derivability"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/audit-derivability/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.

agentmods 80×15 button for audit-derivability

Your own site · 80×15
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/audit-derivability"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/audit-derivability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,720 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00100 $0.05720
Opus 5.5 $0.00040 $0.02288
Sonnet 5.5 $0.00020 $0.01144
Haiku 4.5 $0.00010 $0.00572

Measured yesterday against content hash 354b02f4f9de, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

audit-derivability 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 yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/uncommitted-md.sh, scripts/uncommitted-md.test.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/docs-hygiene/skills/audit-derivability/SKILL.md · 188 lines

How it starts

The opening of the file, as written. The whole thing — 188 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Audit derivability

Pre-computed context

Uncommitted .md files (first 20; empty = none matched or the probe returned nothing): !"${CLAUDE_SKILL_DIR}/scripts/uncommitted-md.sh" 20 2>/dev/null || echo "(status unavailable)"

Every command in this line matches an allowed-tools grant, so a dontAsk lane can run this skill.

Purpose

Every 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?

The 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.

Read-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 /docs-hygiene:audit-noise, this skill never applies it.

The rubric. Four factors, never derivability alone

A verdict is never "derivable, therefore delete." Weigh all four factors together. context/rubric.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.

Factor Question Pushes toward
Derivable? Could a fresh agent reconstruct these conclusions from native exploration alone? derivable → delete/pointer; not derivable → keep
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
Drift risk How fast does the source move, and how silently does the doc rot when it does? high drift → delete/pointer; low drift → cache is safer
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

Read the full file on GitHub · 188 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. yesterday Changed · +2 lines 354b02f4f9de
  2. 5d ago Changed · -24 tokens per session 30312f372ccb
  3. 6d ago Changed eb7415260d73
  4. 8d ago Changed · +1 lines f87f4059cac4
  5. 9d ago Changed · +1 lines 3c672f4ec59a
  6. 10d ago Changed · -4 lines 0e991f062653
  7. 14d ago Changed a2c3d881231b
  8. 17d ago Changed 82faac1568ac
  9. 18d ago Changed bc2bc6bc4b65
  10. 20d ago First seen · 188 lines · 124 tokens per session scan A 738eb9f54db9

Subscribe to this mod's changes

audit-derivability is a skill published in the GitHub repository melodic-software/claude-code-plugins (34 stars, last pushed today), licensed MIT. It adds 100 tokens to every session and 5,720 once invoked, about $0.0004 per session on Opus 5.5. 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-09-03.

Related

audit-derivability compared with skills from other repositories

audit-derivability next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
audit-derivabilitymelodic-software/claude-code-pluginsSkill34todayMITA100Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code