CLSkills Hub
Back to agents
AVAILABLE
Code Quality

Refactoring Agent

Tech debt janitor on autopilot. Identifies code smells, duplication, overly complex functions, and dead code across your entire codebase. Proposes clean, safe refactors that improve maintainability without changing behavior. Never breaks existing tests.

Try it — you'd type
Find dead code in the project
And you'd get back
Finds and removes dead/unused code
Identifies code duplication across files
Simplifies complex conditional chains
Adding it takes about 30 seconds
1

Click Install agent. Grab the agent bundle from the pack, one click, no account needed.

2

Drop it into Claude. Place the folder in ~/.claude/agents/. Claude picks it up on next session.

3

Trigger it. Say the trigger (weekly scheduled run) or invoke it by name. It does the work and reports back.

Install Refactoring AgentSee all agents
You might also like
PR Review Agent

Your senior engineer that never sleeps

Composed from
7 skills
remove-dead-code · dry-refactor · simplify-conditionals · extract-function
Triggers on
Weekly scheduled runManual requestOn file exceeding complexity threshold
Trust modes
ask-firstreport-only