Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Dr Audit Dead

ASecurity

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.

142 stars
0 votes
0 copies
0 views
Added 9/19/2026
tools

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add AHepi/DeepReason --skill dr-audit-dead --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dr Audit Dead?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Dr Audit Dead
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ahepi-dr-audit-dead/badge)](https://www.skillsdirectory.com/skills/ahepi-dr-audit-dead)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: dr-audit-dead
description: 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.
---

# 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/`
   Hits ≥ 1 → verdict `dynamic-ref`, row it with the hit file (these
   are load-bearing but invisible to imports — worth a row, not a
   prompt). Hits = 0 → step 4.
4. Entry-point scan: `rg -l 'NAME' pyproject.toml`. Hit → verdict
   `entry-point`. No hit → verdict `candidate-dead`, row it,
   disposition `parked`, both scan outputs saved to
   `proof/dead-<id>.txt`.
5. Append the package's tally line to `dead.md`
   (`P: S symbols, R referenced, D dynamic-ref, C candidate-dead`)
   and flip its row to `done`.

## GATE

Pass for the invocation: the package row is `done`, its tally line
exists, and every `candidate-dead` row cites a proof file containing
BOTH empty scans (G2 — "dead" is only sayable with the two searches
pasted). Verdict labels: `referenced` | `dynamic-ref` |
`entry-point` | `candidate-dead`.

`candidate-dead` is the strongest claim this worker may make (X3).
Deletion needs a dr-change-orchestrator tranche; the PARKED prompt
says so and names the symbol, file, and proof.

## Activation plant (first run)

Row a symbol that step 2 provably finds referenced (pick any imported
name) as if it were a candidate; the GATE's proof-file check must
refuse the row (no empty-scan proof exists). Remove the planted row,
paste the refusal and the removal.

## Outlets

| Situation | Outlet |
|---|---|
| Impulse to delete now | PARK — removal prompt, route dr-change-orchestrator |
| Symbol used only by tests | verdict `referenced`, note `tests-only` in the row — parked prompt optional |
| Census too large for one window | flip the package back to `pending` with a `resume-at: NAME` note; the LEDGER carries the position |

Attribution

AHepiAHepi
View sourceMore from AHepi →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

ucoz-landing-skill

Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...

107 votes

Paperclip

Interact with the Paperclip control plane API to manage tasks, coordinate with other agents, and follow company governance. Use when you need to check assignments, update task status, delegate work, post comments, set up or manage routines (recurring scheduled tasks), or call any Paperclip API endpoint. Do NOT use for the actual domain work itself (writing code, research, etc.) — only for Paperclip coordination.

798221 votes

Daw Music

Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.

761 votes

Instantly Rdsthomas Mission Control

Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.

761 votes

Caveman Compress

Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"

1023330 votes
View all in tools →