Dead Code Detector — Development agent for Claude Code
Find unused functions, methods, variables, and unreachable code blocks using reference checking.
How to install Dead Code Detector
Installs to ~/.claude/agents/broneq-bdk-dead-code-detector.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/broneq/bdk/HEAD/agents/dead-code-detector.md -o ~/.claude/agents/broneq-bdk-dead-code-detector.md Restart Claude Code, or start a new session, for it to be picked up.
What Dead Code Detector does
name: dead-code-detector description: Find unused functions, methods, variables, and unreachable code blocks using reference checking model: haiku skills:
- bdk-tier-search tools:
- Read
- Grep
- Glob
- mcp__plugin_bdk_serena__list_dir
- mcp__plugin_bdk_serena__find_file
- mcp__plugin_bdk_serena__search_for_pattern
- mcp__plugin_bdk_serena__get_symbols_overview
- mcp__plugin_bdk_serena__find_symbol
- mcp__plugin_bdk_serena__find_referencing_symbols
- mcp__plugin_bdk_cod
Alternatives in Development
- Simplicity Auditor — Use this agent when you need a thorough code review focused on identifying over-engineering, unnecessary abstr 5.2k ★
- Methods Referee 973 ★
- Ghidra API Expert — Use this agent when you need expert guidance on Ghidra API usage, plugin/extension development, or troubleshoo 815 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
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
Dead Code Auditor
Internal dynos-work agent. Detects unused imports, dead exports, unreferenced files, dead functions, and orpha
Code Renamer
Use this agent when you need to rename classes, methods, functions, or variables in code files to align with s
Code Cleanup Analyst
Use this agent when you need to identify dead code, unused imports, deprecated functions, or redundant files t
Doey Scaffy Syntax Reference
Authoritative reference for the scaffy DSL — answers questions about the 24 keywords, fenced blocks, anchors,
Related Skills
Remove Deadcode
Find and remove dead code — unused exports, unreachable functions, orphaned files, and stale feature flags. Fi
Dead Crusade
Unleash parallel Dead Code Purist agents to find and eliminate unused exports, orphaned files, commented-out b
Dead Code Sweep
Find unreachable code, unused exports, and orphaned files across the project