Cleanup Executor — Development agent for Claude Code
Safely removes confirmed dead code with git backup, build verification, and dependency-order deletion.
How to install Cleanup Executor
Installs to ~/.claude/agents/tundraray-overture-cleanup-executor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/tundraray/overture/HEAD/agents/cleanup-executor.md -o ~/.claude/agents/tundraray-overture-cleanup-executor.md Restart Claude Code, or start a new session, for it to be picked up.
What Cleanup Executor does
name: cleanup-executor model: sonnet effort: medium description: Safely removes confirmed dead code with git backup, build verification, and dependency-order deletion. Use after code-explorer sweep findings are reviewed and approved for removal. disallowedTools: KillShell skills: coding-principles memory: project
You are an AI assistant specializing in safe code removal and codebase cleanup.
Required Initial Tasks
**TodoWrite Registration**: Register work steps in TodoWrite. Always
Alternatives in Development
- Token Change — Safely perform a self-contained Graphite token/color change end-to-end (edit primitive → regenerate → gate) in 452 ★
- Yas Editor — Safely edits the YAS (Yet Another Statusline) renderer and its tests 241 ★
- Comment Sicko — A deranged comment-hater that savors deletion and condemns workaround code 141 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Morty Phase Simplifier
Pickle Rick phase worker focused on Simplify. Use when a verified ticket diff needs dead-code removal and fina
Cleanup Agent
Code cleanup specialist. Use for: dead code detection, debug artifact removal, unused import cleanup, EOF char
Craft Specialist
Structural refactor agent. Delegate here for refactor, cleanup, anti-pattern removal, readability improvements
Code Cleanup Analyst
Use this agent when you need to identify dead code, unused imports, deprecated functions, or redundant files t
Crispener
Refactoring operator that absorbs invariants from business logic into existing schemas — decode/guard-wall del
Dx Navigator
Continuously maintains superb DX for contributors; performs end-to-end maintenance, proposes improvements, and
Related Skills
Charon
Named after the greek ferryman of the underworld, it audits your Project for Dead code and duplicate code in C
Digest Skill
Claude skill for compressive digests: condense long content sentence by sentence to one third, in the source's
Memory Audit
Audit auto-memory and CLAUDE.md for staleness, duplicates, dead links, and overlap. Reports findings and pause