AI Slop Cleaner

Removes AI-generated code bloat in 7 test-verified passes, reverting any pass that breaks tests

Tested · Works

Test report

Verdict
Tested · Works
Score
8.4/10
Tested
Jul 21, 2026
Environment
Claude Code 2.x (agent harness)
Upstream re-checked
Aug 10, 2026 · ef47fd6

Fetched SKILL.md (only file in the dir; pure-prompt, no scripts/deps, no security smells; frontmatter has name+description). Trigger test 5/5: "clean up the AI slop in this codebase", "just generated a feature, remove dead imports/debug logs/useless comments", "do a hygiene pass to strip AI bloat" all load it; "refactor this module to the repository pattern" (skill defers structural work to refactor-cleaner) and "format this file with prettier" correctly do not. Output test: built a 36-line slop-filled orders.ts, cleaned it one-shot as baseline vs strictly following the 7 passes plus the never-clean rules. Both stripped dead imports, console.log, commented-out cache, obvious/divider/end-block comments, the always-true `paid||paid`, and the unreachable return; the skill version additionally preserved the `// TODO: add retry logic here` comment and the try/catch boundary error handling that my baseline deleted, matching its explicit preservation rules.

Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works

  • Installs cleanly 5/5
  • Triggers reliably 5/5
  • Output vs. baseline 7/10
  • Docs & honesty 4/5

What AI Slop Cleaner does

Post-implementation code cleanup skill that removes AI-generated bloat (dead imports, debug logs, obvious comments, dead code, one-use helpers, duplication, over-engineering) in seven risk-ordered passes, running the test suite after each pass and reverting any pass that breaks a test. Triggers when a user asks to clean up AI slop, remove code bloat, or do a hygiene pass after code generation.

How to install AI Slop Cleaner

git clone --depth 1 https://github.com/vibeeval/vibecosystem.git /tmp/ai-slop-cleaner-src
mkdir -p ~/.claude/skills
cp -R /tmp/ai-slop-cleaner-src/skills/ai-slop-cleaner ~/.claude/skills/ai-slop-cleaner
# Pure-prompt skill: single SKILL.md, no scripts, no external deps or API keys.
# Assumes a runnable test suite in the target repo; the workflow reverts (git checkout -- .) any pass that breaks a test.
# References a kraken/spark/refactor-cleaner agent ecosystem for auto-triggering, but the manual cleanup workflow is fully self-contained.

Skills live in ~/.claude/skills/ (global) or .claude/skills/ (per-project). Restart Claude Code after installing.

Commands — how to trigger AI Slop Cleaner

  • /ai-slop-cleaner Removes AI-generated code bloat in 7 test-verified passes, reverting any pass that breaks tests

It also activates on plain-language prompts like these:

  • Clean up the bloat this agent left in the codebase
  • Run a hygiene pass after the last feature merge
  • Strip unnecessary code while keeping tests passing

Frequently asked questions

Is the AI Slop Cleaner skill free?
Yes. The skill itself is free from vibeeval/vibecosystem. SkillProof publishes the install command and an independent test verdict at no cost.
Does AI Slop Cleaner work with Claude Code?
We tested it with Claude Code 2.x (agent harness) on Jul 21, 2026. Verdict: Tested · Works. Fetched SKILL.md (only file in the dir; pure-prompt, no scripts/deps, no security smells; frontmatter has name+description). Trigger test 5/5: "clean up the AI slop in this codebase", "just generated a feature, remove dead imports/debug logs/useless comments", "do a hygiene pass to strip AI bloat" all load it; "refactor this module to the repository pattern" (skill defers structural work to refactor-cleaner) and "format this file with prettier" correctly do not. Output test: built a 36-line slop-filled orders.ts, cleaned it one-shot as baseline vs strictly following the 7 passes plus the never-clean rules. Both stripped dead imports, console.log, commented-out cache, obvious/divider/end-block comments, the always-true `paid||paid`, and the unreachable return; the skill version additionally preserved the `// TODO: add retry logic here` comment and the try/catch boundary error handling that my baseline deleted, matching its explicit preservation rules.
What is the AI Slop Cleaner SkillProof Score?
8.4/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 7/10, docs & honesty 4/5.
How do I install AI Slop Cleaner?
Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
Can I use AI Slop Cleaner with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.