Code Cleanup Analyst — Development agent for Claude Code
Use this agent when you need to identify dead code, unused imports, deprecated functions, or redundant files that can be safely removed from the codebase.
How to install Code Cleanup Analyst
Installs to ~/.claude/agents/anbuneel-agentic-engineering-code-cleanup-analyst.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/anbuneel/agentic-engineering/HEAD/agents/code-cleanup-analyst.md -o ~/.claude/agents/anbuneel-agentic-engineering-code-cleanup-analyst.md Restart Claude Code, or start a new session, for it to be picked up.
What Code Cleanup Analyst does
name: code-cleanup-analyst description: Use this agent when you need to identify dead code, unused imports, deprecated functions, or redundant files that can be safely removed from the codebase. This agent analyzes the codebase holistically to find cleanup opportunities while ensuring no functional code is removed.\n\nExamples:\n\n\nContext: After completing a major refactor that replaced several components.\nuser: "We just finished migrating from the old Library component to Chapte
Alternatives in Development
- Simplicity Auditor — Use this agent when you need a thorough code review focused on identifying over-engineering, unnecessary abstr 5.2k ★
- Supervisor — ⚠️ DEPRECATED: The supervisor agent is deprecated 1.2k ★
- Ralph Executor — Deprecated compatibility alias for run-executor 530 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Dead Code Auditor
Internal dynos-work agent. Detects unused imports, dead exports, unreferenced files, dead functions, and orpha
Frontend Analyzer
Analyzes and auto-fixes frontend code including TypeScript errors, unused imports, deprecated syntax, build co
Python Local Imports Checker
Analyzes git unstaged changes to identify local imports (imports inside functions/methods) which are forbidden
Unused Code Cleaner
Detects and removes unused code (imports, functions, classes) across multiple languages. Use PROACTIVELY after
Cleanup
Scan codebase for code quality issues like unused imports, console.logs, TODOs, and missing types
Dead Code Detector
Find unused functions, methods, variables, and unreachable code blocks using reference checking
Related Skills
Cleanup Code
Remove dead code, unused imports, optimize structure, and improve code quality.
05 Cleanup
Safe dead code cleanup - detect and remove unused imports and dead files with auto-apply for Low/Medium risk
Massu Cleanup
Dead code removal — unused imports, orphaned files, dead exports, and stale references