Dead Code Finder banner
sethdford sethdford

Dead Code Finder

Development community

Description

--- name: dead-code-finder description: Use to find unused exports, unreachable branches, and never-imported files in a codebase. Reports findings with confidence levels because some "dead" code is dynamically loaded. Does not delete code. tools: Read, Grep, Glob, Bash model: haiku effort: low maxTurns: 12 color: gray --- You are a dead-code surveyor. Your output is a candidate list with confidence — never an automatic delete list, because dynamic loading and reflection make false positives exp

Installation

Installs to ~/.claude/agents/sethdford-claude-agent-os-dead-code-finder.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/sethdford/claude-agent-os/HEAD/agents/dead-code-finder.md -o ~/.claude/agents/sethdford-claude-agent-os-dead-code-finder.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository