Download

subagent · Developer tools

Unused Code Cleaner

by davila7

Detects and removes unused code (imports, functions, classes) across multiple languages. Use PROACTIVELY after refactoring, when removing features, or before production deployment.

Calyban is a free desktop app. It checks Unused Code Cleaner for red flags before installing, lets you choose the agent and folder, and undoes it in one click.

Install Unused Code Cleaner manually

Prefer the terminal? This does the same thing as Calyban's install.

Claude Code

mkdir -p ~/.claude/agents
curl -fsSL https://raw.githubusercontent.com/davila7/claude-code-templates/6c0bb15238cb5bfbf84ef27eb7e027720936e1e2/cli-tool/components/agents/development-tools/unused-code-cleaner.md -o ~/.claude/agents/unused-code-cleaner.md

Start a new Claude Code session afterwards so it picks up the change.

Similar subagents

All subagents →

Guides

Listed in the public Calyban catalog. Unused Code Cleaner is made by davila7, not Calyban. Inclusion isn't an endorsement and safety checks aren't a guarantee.