
Omh AI Slop Cleaner
[omh] Messy or AI-generated code to clean up: delete AI-generated slop, dead code, and...
Install
npx skills add rlaope/oh-my-hermes --skill omh-ai-slop-cleaner -g -a claude-code -y- Repository
- rlaope/oh-my-hermes5k
- Category
- Engineering
- Updated
- 3d ago
- License
- MIT
- Context cost
- Mediumabout 2,159 tokens
- Runs scripts
- No, instructions only
What it does
[omh] Messy or AI-generated code to clean up: delete AI-generated slop, dead code, and duplication while observable behavior stays identical. Use when the user says: ai-slop-cleaner, cleanup, deslop, refactor, risky, behavior-preserving refactor, risk analysis, refactor workflow.
Ai Slop Cleaner
This is an OMH ai-slop-cleaner workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
ai-slop-cleaner exists to keep maintenance work explicit, evidence-backed, and inside the Hermes/executor boundary instead of relying on ad hoc chat narration.
Do Not Use When
- The goal is new or changed behavior rather than removing existing code; a plain refactor, feature, or fix request belongs to
ulw-work. - The cleanup would change architecture or module boundaries and needs its execution shaped into phases first; use
omh-refactor-plan, orulw-planwhen the direction itself is still contested. - The user wants code judged for bugs or merge readiness with no drafted slop removal to inspect; use
omh-code-reviewfor a bug-first review andomh-failure-signal-auditfor swallowed failures.
Examples
Good example:
- Prompt: $ai-slop-cleaner remove duplicated router branches and lock behavior with regression tests before refactoring.
- Expected behavior: Plan cleanup, preserve behavior, delete or simplify code, and prove it with targeted tests.
- Why: The request is maintenance cleanup with regression risk.
Bad example:
- Prompt: ai-slop-cleaner: treat casual chat or unaccepted work as if this workflow already produced verified results.
- Expected behavior: Ask a clarification question or route to a narrower workflow instead of forcing
ai-slop-cleaner. - Why: The request lacks the required inputs or would overclaim work that Hermes did not observe.
