dr-audit-dead SKILL.md skillA

dr-audit-dead from ahepi/deepreason is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ahepi/deepreason/dr-audit-dead@git:20260813.1b2bc67

Pins git:20260813.1b2bc67 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
ahepi/deepreason
Path
.claude/skills/dr-audit-dead/SKILL.md
Versions recorded
2
Latest version
git:20260813.1b2bc67, committed Aug 13, 2026
First version recorded
Aug 13, 2026
Size
3,136 bytes
Repository stars
141
License
MIT

Audit dimension - find code that is no longer used, via a reference census over every top-level symbol, one package per invocation. Invoked by dr-audit-orchestrator when dead.md is missing or has pending package rows.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Audit: dead code

Entry: `LEDGER.md` exists; `dead.md` missing or contains a package
row marked `pending`. Exit for one invocation: ONE package's census
complete, its row flipped to `done`. The router re-invokes until no
`pending` rows remain (S1: the loop lives in the router).

On first invocation, write the package list into `dead.md`:
`ls -d src/deepreason/*/ src/deepreason/*.py`, one row each, all
`pending`.

## Operations (for the next pending package P)

1. Symbol census:
   `rg -n '^(def|class) [A-Za-z_]' <P> --type py > proof/dead-<P>-symbols.txt`
2. For each symbol NAME, count referencing files outside its defining
   file:
   `rg -l -w 'NAME' src/ tests/ scripts/ tools/ | grep -v <defining-file>`
   Hits ≥ 1 → verdict `referenced` (no LEDGER row; tally only).
   Hits = 0 → step 2b.
2b. Intra-file use check (a symbol called only from its own file is
   wired, not dead):
   `rg -c -w 'NAME' <defining-file>`
   Count ≥ 2 (the definition line plus at least one use) → verdict
   `referenced`, note `intra-file` (tally only). Count = 1 → step 3.
3. String-reference scan (dynamic dispatch, registries, config
   strings):
   `rg -l "['\"]NAME['\"]" src/ tests/ scripts/ tools/`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ahepi/deepreason/dr-audit-dead@sha256:2e55409cc28bb5ae

The line at the top of this page pins the label git:20260813.1b2bc67, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_s2a4zpkvbjy7nmcx.svg)](https://markdownregistry.com/a/art_s2a4zpkvbjy7nmcx)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, all committed on Aug 13, 2026.

versioncommittedcommitsizeaudit
git:20260813.1b2bc67 latest2026-08-13 1b2bc67 3,136 BA view · diff
git:20260813.51f16b92026-08-13 51f16b9 2,867 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3136 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

ahepi/deepreason · 141 stars · license MIT · pushed 2026-09-10 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_s2a4zpkvbjy7nmcx
GET https://markdownregistry.com/api/v1/resolve?ref=ahepi/deepreason/dr-audit-dead
GET https://markdownregistry.com/api/v1/blob/2e55409cc28bb5ae19c3d196523d206c1dba90a06607484a263361739aa039ee

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from ahepi/deepreason

authoring-skills SKILL.md skill
ahepi/deepreason · .claude/skills/authoring-skills/SKILL.md · Rules for writing, editing, and retiring skill and workflow files for LLM agents. Use when creating a SKILL.md or…
git:20260812.49486fe · audit A · 141 stars
deepreason-orchestrator SKILL.md skill
ahepi/deepreason · .claude/skills/deepreason-orchestrator/SKILL.md · Entry point for any DeepReason problem. Routes work to exactly one subskill at a time and enforces the scope contract…
git:20260903.8641470 · audit A · 141 stars
dr-ask-the-right-question SKILL.md skill
ahepi/deepreason · .claude/skills/dr-ask-the-right-question/SKILL.md · Question discipline for working DeepReason - route every question to the cheapest authority (record, then framework…
git:20260813.5683bc4 · audit A · 141 stars
dr-audit-broken SKILL.md skill
ahepi/deepreason · .claude/skills/dr-audit-broken/SKILL.md · Audit dimension - find broken code by running every committed verification instrument and tabling deltas against the…
git:20260822.12aca6d · audit A · 141 stars
dr-audit-docs-drift SKILL.md skill
ahepi/deepreason · .claude/skills/dr-audit-docs-drift/SKILL.md · Audit dimension - find where documentation deviates from code, using the executable doc checks plus a staleness and…
git:20260813.51f16b9 · audit A · 141 stars
dr-audit-goal-trace SKILL.md skill
ahepi/deepreason · .claude/skills/dr-audit-goal-trace/SKILL.md · Audit dimension - verify every ledgered operator design law is actually enforced somewhere in code or gates, so stated…
git:20260813.51f16b9 · audit A · 141 stars
dr-audit-orchestrator SKILL.md skill
ahepi/deepreason · .claude/skills/dr-audit-orchestrator/SKILL.md · Router for the code-audit family. Runs five read-only audit dimensions (broken, dead, docs-drift, spec-drift…
git:20260905.c67e9d2 · audit A · 141 stars
dr-audit-spec-drift SKILL.md skill
ahepi/deepreason · .claude/skills/dr-audit-spec-drift/SKILL.md · Audit dimension - find where the code deviates from the spec series and where shipped surface is spec-silent, by a…
git:20260813.51f16b9 · audit A · 141 stars
dr-capture-request SKILL.md skill
ahepi/deepreason · .claude/skills/dr-capture-request/SKILL.md · Record an operator's suggested change verbatim and split it into numbered requirements (REQUEST.md). First phase of…
git:20260730.6cf4d20 · audit A · 141 stars
dr-change-orchestrator SKILL.md skill
ahepi/deepreason · .claude/skills/dr-change-orchestrator/SKILL.md · Entry point for implementing an operator-suggested change to DeepReason. Routes through capture, spec, plan, stepwise…
git:20260903.8641470 · audit A · 141 stars
dr-deliver-change SKILL.md skill
ahepi/deepreason · .claude/skills/dr-deliver-change/SKILL.md · Close a validated change tranche — final commit and push, requirement-by-requirement reconciliation against the…
git:20260813.5683bc4 · audit A · 141 stars
dr-diagnose SKILL.md skill
ahepi/deepreason · .claude/skills/dr-diagnose/SKILL.md · Locate the cause of a DeepReason defect from the typed record, not from code reading. Produces DIAGNOSIS.md naming one…
git:20260903.d23eb93 · audit A · 141 stars

Every file in ahepi/deepreason

Browse by kind, by grade A, or by owner.