AI Slop Cleaner
Reduces bloat and removes noise from AI-generated code using a systematic, test-driven cleanup workflow.
The AI Slop Cleaner is a specialized capability for Claude Code designed to combat 'AI slop'—the redundant, over-engineered, or cluttered code often produced by Large Language Models. It enforces a disciplined, multi-pass cleanup process that begins by locking existing behavior with regression tests to ensure no functionality is lost. By systematically identifying and removing dead code, duplicate logic, and needless abstractions, the skill transforms verbose AI output into high-signal, maintainable production code while staying strictly within a defined file scope.
Key Features
01Behavioral locking via mandatory pre-cleanup regression testing
02Systematic multi-pass execution targeting dead code, duplication, and naming
03Strict file-scoping to prevent unintended changes across the codebase
04Integrated quality gates for linting, type-checking, and test validation
05Reviewer-only mode for providing actionable feedback without direct file edits
067 GitHub stars
Use Cases
01Consolidating duplicate logic and removing speculative indirection in legacy AI code
02Refactoring over-abstracted or 'noisy' modules generated by AI coding agents
03Performing a final quality-control pass on AI-assisted pull requests