Tp Dead Code Finder — Development agent for Claude Code
Use this when the user asks to find or remove dead / unused code ("clean up this file", "find unused exports", "pre-release cleanup").
How to install Tp Dead Code Finder
Installs to ~/.claude/agents/digital-threads-token-pilot-tp-dead-code-finder.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Digital-Threads/token-pilot/HEAD/agents/tp-dead-code-finder.md -o ~/.claude/agents/digital-threads-token-pilot-tp-dead-code-finder.md Restart Claude Code, or start a new session, for it to be picked up.
What Tp Dead Code Finder does
name: tp-dead-code-finder description: Use this when the user asks to find or remove dead / unused code ("clean up this file", "find unused exports", "pre-release cleanup"). Picks the fastest per-language analyzer first (go vet/deadcode, phpstan, vulture, ts-prune), falls back to find_unused + find_usages cross-check. Output-only — NEVER deletes code itself. tools:
- mcp__token-pilot__find_unused
- mcp__token-pilot__find_usages
- mcp__token-pilot__smart_log
- mcp__token-pilot__outlin
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 ★
- Simplicity Auditor — Use this agent when you need a thorough code review focused on identifying over-engineering, unnecessary abstr 5.2k ★
- Esm Enforcer — ES Modules enforcement — import/export only, no require/module.exports, no dirname/filename 286 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Dead Code Finder
Use to find unused exports, unreachable branches, and never-imported files in a codebase. Reports findings wit
Deadcode Reaper
Use this agent to clean up after code changes — removing the imports, helpers, exports, and files that THIS se
Dead Code Purist
The grim reaper of unused code. Use this agent to find and eliminate dead code, unreachable branches, unused e
Lead Finder
Find and enrich high-intent leads for Notch outreach. Knows the product, the 4 ICPs, and the competitor skip l
Dead Code Auditor
Internal dynos-work agent. Detects unused imports, dead exports, unreferenced files, dead functions, and orpha
Cleanup Agent
Code cleanup specialist. Use for: dead code detection, debug artifact removal, unused import cleanup, EOF char
Related Skills
Remove Deadcode
Find and remove dead code — unused exports, unreachable functions, orphaned files, and stale feature flags. Fi
Massu Cleanup
Dead code removal — unused imports, orphaned files, dead exports, and stale references
Cleanup Code
Remove dead code, unused imports, optimize structure, and improve code quality.