Omh ai slop cleaner

From rlaope/oh-my-hermes · View interactive version

Omh ai slop cleaner is an AI agent skill from the GitHub repository rlaope/oh-my-hermes. [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, refactor workflow, legacy refactor.

How to use this skill

Skill file

Ai Slop Cleaner

Required: target smell, or a scoped file list when the user has not named one, current behavior, regression checks. Output: smell inventory naming each finding's category before any edit, small cleanup diff, one pass at a time, before/after verification, closing report: changed files, simplifications, behavior lock, remaining risks.

Do Not Use When: The user asks to simplify their own recent changes, a commit, or the staged diff with a reuse, quality, and efficiency pass rather than a behavior-locked removal of existing code; load Hermes' bundled simplify-code skill for that instead of this one.

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.

Contract: references/full-contract.md (examples, sibling boundaries, full artifact details).

Workflow Lane

When to Use

Use when the goal is removing existing low-quality, duplicated, or AI-generated code and the observable behavior must not change; lock behavior with tests before and after the edits.

Strong routing signals: ai-slop-cleaner, $ai-slop-cleaner, cleanup, deslop, refactor, risky, behavior-preserving refactor, refactor workflow, legacy refactor, anti-slop pass, anti-slop review, anti-slop sweep, ai slop, deslop review, 위험 분석, 변경 범위 제한, 회귀 테스트, 리팩터링, 리팩토링, деслоп, убери мусор из кода, почисти код, убери лишнее в коде, зачисти код, мёртвый код, анслоп, деблоат, почистить код

Catalog Metadata

Category: maintenance

Phase: cleanup

Hermes role: handoff-guide

Quality tier: regression-gated

Reasoning demand: heavy

Quality bar:

Handoff policy:

Use Hermes to define cleanup scope and regression checks; route behavior-preserving edits to the selected coding runtime once tests are clear.

Executor readiness:

Delegation transparency:

Safety rules:

Completion Checklist

Recovery Notes

Runtime Evidence

Preferred harness for this skill: coding-handling.

omh runtime record --skill ai-slop-cleaner --harness coding-handling --status started

Record observed delegation results; otherwise return not_available or not_observed.

Prepared OMH routing is not execution, review, CI, merge-readiness, or merge evidence.

Preserve workflow intent and stop conditions; verify before claiming completion.

Reply in the user's own words and the host's own voice: its SOUL.md persona owns reply language, tone, speech level, and sentence endings, progress updates included (where it sets no language, use the one the user wrote in), and OMH shapes structure and content only. When the requested output is delivered, put any open points inside the result and end with no question or offer; only when the person asked to choose or decide and that choice is still theirs, end with one specific question about it, not a list, a generic offer, or a footer; the shared rail's Reply Language And Host Voice and Turn Ending sections hold the full rule.

Use Hermes-native subagent/delegation features when available: native subagents -> Hermes delegation when available, otherwise sequential lanes.

Shared product, compatibility, topology, memory, harness, and execution rules: skill_view(name='omh-routing', file_path='references/skill-common-rail.md'). Load it when applicable; otherwise name an unavailable capability.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.