SkillsMay 19, 2026·1 min read

Claude Code Agent: Unused Code Cleaner

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

Agent ready

This asset can be read and installed directly by agents

TokRepo exposes a universal CLI command, install contract, metadata JSON, adapter-aware plan, and raw content links so agents can judge fit, risk, and next actions.

Stage only · 35/100Stage only
Agent surface
Any MCP/CLI agent
Kind
Agent
Install
Single
Trust
Trust: Established
Entrypoint
development-tools/unused-code-cleaner
Universal CLI install command
npx tokrepo install fb99be5d-d29e-4460-a3d5-ebdc2c07d132

What This Agent Covers

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

This TokRepo page is an original install wrapper for the upstream Claude Code agent. It records the install path, source SHA, operational profile, and verification command without republishing the full upstream prompt body.


Operating Profile

  • Category: Development Tools
  • Claude Code Templates path: development-tools/unused-code-cleaner
  • Tools declared upstream: Read, Write, Edit, Bash, Grep, Glob
  • Best fit: Claude Code projects that need a focused specialist agent and reproducible install command.
  • Codex usage: stage and inspect generated files before activation when project-global behavior is sensitive.

Verification

npx claude-code-templates@latest --agent development-tools/unused-code-cleaner --yes --dry-run

Expected installed file:

.claude/agents/unused-code-cleaner.md

Source & License

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets