Dead Code — Development agent for Claude Code
Confirms what nothing reaches — unreferenced exports, files, and dependencies from the tool receipts, plus what tools miss: flags nobody flips, branches on constants, options never read, tests for rem.
How to install Dead Code
Installs to ~/.claude/agents/jacquardlabs-exorcist-dead-code.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/jacquardlabs/exorcist/HEAD/agents/dead-code.md -o ~/.claude/agents/jacquardlabs-exorcist-dead-code.md Restart Claude Code, or start a new session, for it to be picked up.
What Dead Code does
name: dead-code description: Confirms what nothing reaches — unreferenced exports, files, and dependencies from the tool receipts, plus what tools miss: flags nobody flips, branches on constants, options never read, tests for removed behavior. Returns a JSON array of ghosts; never edits. tools: Read, Grep, Glob, Bash model: opus effort: high
Dead
Code nothing reaches still costs: it is read, it is searched, it is extended by mistake. The receipts give you candidates; you give the hum
Alternatives in Development
- Key Exports From Each Phase — for summary in .planning/phases//-SUMMARY.md; do echo "=== $summary ===" grep -A 10 "Key Files\ Exports\ Provi 38.5k ★
- Persona Builder — Interactive customer persona discovery agent 587 ★
- Tech Debt Verifier — Adjudicates a single candidate tech-debt finding produced by the tech-debt-assessor hunter 107 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Dead Code Auditor
Internal dynos-work agent. Detects unused imports, dead exports, unreferenced files, dead functions, and orpha
Dead Code Purist
The grim reaper of unused code. Use this agent to find and eliminate dead code, unreachable branches, unused e
Dead Code Finder
Use to find unused exports, unreachable branches, and never-imported files in a codebase. Reports findings wit
Branch Janitor
Post-merge cleanup agent — after the human confirms a PR/branch merge, removes stale agent worktrees, deletes
Codebase Pruner
Reviews a codebase for redundancy, inefficiency, orphaned code, and dead exports, then produces a structured p
Knip
Audits for dead files and exports with Knip.
Related Skills
Dead Crusade
Unleash parallel Dead Code Purist agents to find and eliminate unused exports, orphaned files, commented-out b
Fec Refactor Clean
Identify and clean up front-end dead code, unused exports, outdated components, styles and dependencies under
Dead Code Sweep
Find unreachable code, unused exports, and orphaned files across the project