Ai Slop Cleaner
Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode
- Type
- Skill
- Repository
- Yeachan-Heo/oh-my-claudecode
- GitHub stars
- 39.4k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- skills/ai-slop-cleaner/SKILL.md
What Ai Slop Cleaner is
Ai Slop Cleaner is a skill published in the Yeachan-Heo/oh-my-claudecode repository on GitHub, which has about 39.4k stars. The repository describes itself as: “Teams-first Multi-agent orchestration for Claude Code”
A skill is a folder with a SKILL.md file: frontmatter with a name and a description, followed by instructions Claude follows. Claude loads a skill automatically when a task matches its description, and you can also run it directly with a slash and its name.
Skills work in Claude Code and in Claude Cowork, which makes Ai Slop Cleaner a portable way to give Claude the same method everywhere.
How to install Ai Slop Cleaner
Claude Code
- Download the ai-slop-cleaner folder from the repository.
- Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project.
- Claude loads it automatically when a task matches; you can also run it with / and its name.
Claude Cowork
- Zip the skill folder so SKILL.md sits at the top level of the folder.
- Open Customize → Skills, click +, then upload the ZIP.
- Start a task that matches the description, or call it by name with /.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from skills/ai-slop-cleaner/SKILL.md, shared under the repository's MIT license. Read the full file on GitHub.
Use this skill to clean AI-generated code slop without drifting scope or changing intended behavior. In OMC, this is the bounded cleanup workflow for code that works but feels bloated, repetitive, weakly tested, or over-abstracted.
When to Use
Use this skill when:
- the user explicitly says deslop, anti-slop, or AI slop
- the request is to clean up or refactor code that feels noisy, repetitive, or overly abstract
- follow-up implementation left duplicate logic, dead code, wrapper layers, boundary leaks, or weak regression coverage
- the user wants a reviewer-only anti-slop pass via --review
- the goal is simplification and cleanup, not new feature delivery
When Not to Use
Do not use this skill when:
- the task is mainly a new feature build or product change
- the user wants a broad redesign instead of an incremental cleanup pass
- the request is a generic refactor with no simplification or anti-slop intent
- behavior is too unclear to protect with tests or a concrete verification plan
OMC Execution Posture
- Preserve behavior unless the user explicitly asks for behavior changes.
- Lock behavior with focused regression tests first whenever practical.
- Write a cleanup plan before editing code.
- Prefer deletion over addition.
- Reuse existing utilities and patterns before introducing new ones.
- Avoid new dependencies unless the user explicitly requests them.
- Keep diffs small, reversible, and smell-focused.
- Stay concise and evidence-dense: inspect, edit, verify, and report.
- Treat new user instructions as local scope updates without dropping earlier non-conflicting constraints.
Scoped File-List Usage
This skill can be bounded to an explicit file list or changed-file scope when the caller already knows the safe cleanup surface.
- Good fit: oh-my-claudecode:ai-slop-cleaner skills/ralph/SKILL.md skills/ai-slop-cleaner/SKILL.md
- Good fit: a Ralph session handing off only the files changed in that session
- Preserve the same regression-safe workflow even when the scope is a short file list
- Do not silently expand a changed-file scope into broader cleanup work unless the user explicitly asks for it
Ralph Integration
Ralph can invoke this skill as a bounded post-review cleanup pass.
- In that workflow, the cleaner runs in standard mode (not --review)
- The cleanup scope is the Ralph session's changed files only
- After the cleanup pass, Ralph re-runs regression verification before completion
- --review remains the reviewer-only follow-up mode, not the default Ralph integration path
Review Mode (--review)
--review is a reviewer-only pass after cleanup work is drafted. It exists to preserve explicit writer/reviewer separation for anti-slop work.
- Writer pass: make the cleanup changes with behavior locked by tests.
- Reviewer pass: inspect the cleanup plan, changed files, and verification evidence.
- The same pass must not both write and self-approve high-impact cleanup without a separate review step.
In review mode:
- Do not start by editing files.
- Review the cleanup plan, changed files, and regression coverage.
- Check specifically for:
- leftover dead code or unused exports
- duplicate logic that should have been consolidated
- needless wrappers or abstractions that still blur boundaries
- missing tests or weak verification for preserved behavior
- cleanup that appears to have changed behavior without intent
- Produce a reviewer verdict with required follow-ups.
- Hand needed changes back to a separate writer pass instead of fixing and approving in one step.
Workflow
- Protect current behavior first
- Identify what must stay the same.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Ai Slop Cleaner?
Ai Slop Cleaner is a skill for Claude Code and Claude Cowork from the Yeachan-Heo/oh-my-claudecode repository on GitHub. Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode
How do I install Ai Slop Cleaner in Claude Code?
Download the ai-slop-cleaner folder from the repository. Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project. Claude loads it automatically when a task matches; you can also run it with / and its name.
Can I use Ai Slop Cleaner in Claude Cowork?
Zip the skill folder so SKILL.md sits at the top level of the folder. Open Customize → Skills, click +, then upload the ZIP. Start a task that matches the description, or call it by name with /.
Is Ai Slop Cleaner safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Scientist Data analysis and research execution specialist Subagent · Yeachan-Heo/oh-my-claudecode
- Test Engineer Test strategy, integration/e2e coverage, flaky test hardening, TDD workflows Subagent · Yeachan-Heo/oh-my-claudecode
- Security Reviewer Security vulnerability detection specialist (OWASP Top 10, secrets, unsafe patterns) Subagent · Yeachan-Heo/oh-my-claudecode
- Planner Strategic planning consultant with interview workflow (Opus) Subagent · Yeachan-Heo/oh-my-claudecode
- Acquiring Disk Image With Dd And Dcfldd Create forensically sound bit-for-bit disk images using dd and dcfldd while preserving evidence integrity through hash verification. Skill · mukul975/Anthropic-Cybersecurity-Skills
- GitHub Copilot Skills 324 official GitHub Copilot plugin skills across Azure, .NET, Docker, and more Skill · github/awesome-copilot
- Vercel React Best Practices React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or… Skill · vercel-labs/agent-skills
- Scientific Thinking & Analysis Comprehensive analysis tools and document processing for scientific research workflows Skill · K-Dense-AI/scientific-agent-skills