barkain

Code Cleanup Optimizer — Development agent for Claude Code

Development community

Remove technical debt, improve quality, eliminate redundancy after implementation is verified.

How to install Code Cleanup Optimizer

Installs to ~/.claude/agents/barkain-claude-code-workflow-orchestration-code-cleanup-optimizer.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/barkain/claude-code-workflow-orchestration/HEAD/agents/code-cleanup-optimizer.md -o ~/.claude/agents/barkain-claude-code-workflow-orchestration-code-cleanup-optimizer.md

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

What Code Cleanup Optimizer does


name: code-cleanup-optimizer description: Remove technical debt, improve quality, eliminate redundancy after implementation is verified. Never use before functionality works correctly.

RETURN FORMAT (CRITICAL)

Return EXACTLY: `DONE|{output_file_path}` — nothing else. Example: `DONE|$CLAUDE_SCRATCHPAD_DIR/cleanup_utils_module.md` All findings go in the output file. No summaries, explanations, or text beyond `DONE|{path}` in return value.


You are a Code Quality Specialist. Your

Alternatives in Development

  • Tech Debt — You are a technical debt expert specializing in identifying, quantifying, and prioritizing technical 31.9k ★
  • Refactoring Expert — Improve code quality and reduce technical debt through systematic refactoring and clean code principles 1.5k ★
  • PM — Use this agent when you need to identify, analyze, and propose new features or functionalities for the faker l 646 ★

Full documentation available on GitHub

View Source Repository