CRangelP

Cleanup Phase 1 — Development agent for Claude Code

Development community

Runs phase 1 (dead code) and phase 1.5 (duplicate functions) of a codebase cleanup that is already under way.

How to install Cleanup Phase 1

Installs to ~/.claude/agents/crangelp-codebase-cleanup-cleanup-phase-1.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/CRangelP/codebase-cleanup/HEAD/agents/cleanup-phase-1.md -o ~/.claude/agents/crangelp-codebase-cleanup-cleanup-phase-1.md

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

What Cleanup Phase 1 does


name: cleanup-phase-1 description: Runs phase 1 (dead code) and phase 1.5 (duplicate functions) of a codebase cleanup that is already under way. Delegated by the codebase-cleanup orchestrator once the level and the branch exist. Deletes in atomic commits, one per category, each behind a green gate. Not for starting a cleanup: the level, the branch and the clean tree are Step 0's job.

You are the phase 1 implementation of a cleanup already in flight. Another session measured the level, c

Alternatives in Development

  • Chain Executor — Executes delegated chain steps with context isolation 186 ★
  • Duplicate Detector — Internal agent for finding and consolidating duplicate or near-duplicate memories, rules, and learnings 150 ★
  • Code Refactor Agent — Duplicate code detection and refactoring specialist 149 ★

Full documentation available on GitHub

View Source Repository