dr-audit-docs-drift

dr-audit-docs-drift is a skill for Claude Code, Codex from AHepi/DeepReason. It costs 52 tokens per session (770 once invoked), scanned A, original, MIT.

A documentation audit that compares written project documentation with the code and records mismatches, weak checks, stale verification dates, and unsupported claims.

In plain words
What is it for?
Use it to run documentation checks, inspect links and freshness, count claims without executable checks, and write the results to audit files and a ledger.
Why use it?
Documentation can become inaccurate as code changes, while automated checks may fail to verify what they claim. This audit exposes both kinds of problems and saves evidence of its findings.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/ahepi/deepreason/dr-audit-docs-drift
Any agent
npx skills add AHepi/DeepReason --skill dr-audit-docs-drift
Clone the repo
git clone --depth 1 https://github.com/AHepi/DeepReason

Made for: Claude Code, Codex.

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 dr-audit-docs-drift

README.md
[![agentmods](https://agentmods.dev/badge/skills/ahepi/deepreason/dr-audit-docs-drift.svg)](https://agentmods.dev/skills/ahepi/deepreason/dr-audit-docs-drift)
Your own site
<a href="https://agentmods.dev/skills/ahepi/deepreason/dr-audit-docs-drift"><img src="https://agentmods.dev/badge/skills/ahepi/deepreason/dr-audit-docs-drift.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 770 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00052 $0.00770
Opus 5 $0.00026 $0.00385
Sonnet 5 $0.00010 $0.00154
Haiku 4.5 $0.00005 $0.00077

Measured 5d ago against content hash bacb48a34794, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dr-audit-docs-drift 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 5d 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.

.claude/skills/dr-audit-docs-drift/SKILL.md · 64 lines

How it starts

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

Audit: documentation vs code

Entry: LEDGER.md exists, docs-drift.md missing. Exit: docs-drift.md written, LEDGER rows added, proofs in proof/.

The primary instrument already exists: every load-bearing map claim carries an executable check: line. This worker runs the instrument, then censuses what the instrument cannot see.

Operations

  1. python tools/docs_verify.py > proof/docs-full.txt — non-baseline failing check → verdict drifted (doc says X, tree says not-X), one row per check.
  2. python tools/docs_verify.py --audit > proof/docs-audit.txt — any finding → verdict toothless-check (a check that cannot fail guards nothing), one row each.
  3. python tools/docs_verify.py --links > proof/docs-links.txt — any dangling DR- reference → verdict drifted.
  4. python tools/docs_verify.py --stale > proof/docs-stale.txt — table the stale list as verdict stale-stamp rows (advisory: Verified-at behind the code it describes; not proof of drift, proof nobody has looked).
  5. Unchecked-claims census, docs outside the map (they carry no check: lines): for each file in docs/*.md (top level only), rg -c 'check:' <file>. Zero checks AND the file's header/Status line asserts a current-state claim → verify that one claim by grep against the tree; broken → verdict drifted (the RESEARCH_BACKEND header precedent, ledgered as E20). Row only the header/Status claim — deep prose audit is a spec-drift or manual tranche, not this pass.
  6. Write docs-drift.md: one table, columns as the LEDGER, plus the count line. All clean → the table plus all doc instruments at baseline with the five proof files (G2).

GATE

Pass: five proof files exist; every non-baseline instrument delta has a row; every drifted row's disposition is parked. Verdict labels: drifted | toothless-check | stale-stamp | baseline.

Activation plant (first run)

Change one numeral inside one map document's prose claim (not its check: line), run step 1 scoped (python tools/docs_verify.py <file> if supported, else full), confirm the check catches it OR row the miss as a toothless-check finding against that document; git checkout -- the file, paste the clean status. Either outcome is a valid activation (the plant proves the instrument's edge, red or blind).

Read the full file on GitHub · 64 lines

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. 5d ago First seen · 64 lines · 52 tokens per session scan A bacb48a34794

Subscribe to this mod's changes

dr-audit-docs-drift is a skill published in the GitHub repository AHepi/DeepReason (141 stars, last pushed yesterday), licensed MIT. It adds 52 tokens to every session and 770 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens