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.
mdr add ahepi/deepreason/dr-audit-dead@git:20260813.1b2bc67Pins 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
mdr add ahepi/deepreason/dr-audit-dead@sha256:2e55409cc28bb5aeThe 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260813.1b2bc67 latest | 2026-08-13 | 1b2bc67 | 3,136 B | A | view · diff |
| git:20260813.51f16b9 | 2026-08-13 | 51f16b9 | 2,867 B | A | view |
Audit of the latest version
- 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
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.