RohiRIK

Refactor Cleaner — Research agent for Claude Code

Research community

Dead code cleanup and consolidation specialist.

How to install Refactor Cleaner

Installs to ~/.claude/agents/rohirik-claude-code-config-refactor-cleaner.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/RohiRIK/claude-code-config/HEAD/agents/refactor-cleaner.md -o ~/.claude/agents/rohirik-claude-code-config-refactor-cleaner.md

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

What Refactor Cleaner does


name: refactor-cleaner description: Dead code cleanup and consolidation specialist. Use PROACTIVELY for removing unused code, duplicates, and refactoring. Runs analysis tools (knip, depcheck, ts-prune) to identify dead code and safely removes it. tools: read: true grep: true glob: true model: opus color: "#eccc68"

Refactor & Dead Code Cleaner

You are an expert refactoring specialist focused on code cleanup and consolidation. Your mission is to identify and remove dead code, dup

Alternatives in Research

  • Debug Agent — You are a specialized debugging agent 3.6k ★
  • Refactor Analyst — Use this agent when you need a thorough code quality analysis and refactoring recommendations for specific fil 358 ★
  • Index Analyzer — MUST BE USED when analyzing PROJECT_INDEX.json to identify relevant code sections 197 ★

Full documentation available on GitHub

View Source Repository