Agent skill

Omh AI Slop Cleaner

by rlaope in 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.

MITAuto-check passedDevelopment

Install Omh AI Slop Cleaner

skills CLI
$ npx skills add rlaope/oh-my-hermes --skill omh-ai-slop-cleaner -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rlaope/oh-my-hermes omh-ai-slop-cleaner --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rlaope/oh-my-hermes.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/omh-ai-slop-cleaner .claude/skills/omh-ai-slop-cleaner && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
omh-ai-slop-cleaner
GitHub stars
3.3k
Token cost
~2.7k tokens
SKILL.md length
1,371 words
Files
3 (incl. references)
Skills in repo
143
Repo updated
First seen
Licence
MIT

At a glance

[omh] Messy or AI-generated code to clean up: delete AI-generated slop, dead code, and duplication while observable behavior stays identical.

  • The user says: ai-slop-cleaner
  • SKILL.md covers Why This Exists, Do Not Use When, Examples and Completion Checklist, plus 5 more sections
  • Calls claude and codex
  • Behavior-preserving refactor

What it does

Omh AI Slop Cleaner is an agent skill from 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, risk analysis, refactor workflow.

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/cleanup-passes.md` and `references/prose-lexicon.md`).

It sits in Development, covering Refactoring and Humanizing AI text. The repository describes itself as: All in one plugin for Hermes Agent ⚚ the coding intelligence, a long-term memory system and model optimized workflow packages. The licence is MIT.

When your agent uses it

  • The user says: ai-slop-cleaner
  • Behavior-preserving refactor
  • Refactor workflow

Example prompts

  • “/omh-ai-slop-cleaner”

What it can do on your machine

Read from SKILL.md and the folder at commit 117f67a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • claude
    • codex

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Omh AI Slop Cleaner loads about 2.7k tokens when it runs, and up to ~4.8k if it reads all its reference files. Until then it costs about 75 tokens; SKILL.md has 1,371 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from rlaope/oh-my-hermes at commit 117f67a, republished under its MIT licence (© rlaope). 1,371 words, ~2,678 tokens.

Download SKILL.mdSave it as .claude/skills/omh-ai-slop-cleaner/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
omh-ai-slop-cleaner
description
[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 a Hermes-native ai-slop-cleaner workflow skill.

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 ultrawork.
  • The cleanup would change architecture or module boundaries and needs its execution shaped into phases first; use refactor-plan, or ralplan when the direction itself is still contested.
  • The user wants existing code judged rather than changed; use code-review for a bug-first review and failure-signal-audit for 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.

Completion Checklist

  • The selected coding or runtime owner is named before any implementation claim.
  • Prepared handoff, dispatch, execution, verification, review, CI, and merge states are separated.
  • The final status cites observed runtime evidence or keeps the work prepared_not_observed.
  • When Hermes is the selected coding owner, use hermes_coding_harness/v1 to keep builder, verifier, reviewer, docs, and PR lanes separate.
  • Report the current harness stage, owner, next action, and missing evidence without claiming PR creation, review, CI, merge-readiness, or merge until matching runtime observations exist.

Recovery Notes

  • If the selected executor is unavailable, ask for Codex, Claude Code, Hermes, or another runtime before retrying.
  • If dispatch or result evidence is missing, keep the handoff prepared_not_observed and expose the next observable action.

Workflow Lane

  • Current lane: Coding handoff (idea-to-deploy, llm-app-dev, cto-loop, deploy-and-monitor, code-review, build-failure-triage, verification-gate, security-safety-review, +28 more) - coding owners, handoffs, review, CI, and merge evidence.
  • If intent belongs to another lane, hand back to oh-my-hermes or name the adjacent workflow.
  • Shared product, routing, compatibility, and evidence rules: omh-routing/references/skill-common-rail.md.

Use When

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`, `risk analysis`, `refactor workflow`, `legacy refactor`, `리팩터링`, `리팩토링`, `위험 분석`, `변경 범위 제한`, `회귀 테스트`

Catalog Metadata

Category: maintenance Phase: cleanup Hermes role: handoff-guide Quality tier: regression-gated Reasoning demand: heavy

Quality bar:

  • Lock current behavior with regression checks before non-trivial cleanup.
  • Classify before deleting: every finding names one category from the slop taxonomy - duplication, dead code, needless abstraction, boundary violation, missing tests, or templated defaults - so the pass order below can own it.
  • Run single-smell passes in fixed order, re-verifying between passes and never bundling categories: dead-code deletion, then duplicate removal, then naming and error handling, then test reinforcement; the full contract is omh-ai-slop-cleaner/references/cleanup-passes.md.
  • When the user names no target smell, run detection first and hand back the inventory: prepared linter and dead-code commands are named per stack in the reference and stay prepared_not_observed until run.
  • When the cleanup target is written English rather than code, load omh-ai-slop-cleaner/references/prose-lexicon.md for the word tiers, the pattern severities, and the context profile that decides which rules apply.
  • Prefer deletion, reuse, and boundary repair over new abstractions.
  • Rerun verification after cleanup before claiming behavior is preserved, and close with the four-part report: changed files, simplifications, behavior lock, remaining risks.

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:

  • When accepted work mutates code, check executor_readiness/v1 for the selected Codex, Claude Code, Hermes, or oh-my runtime path before first dispatch.
  • If readiness is missing or blocked, ask the user to choose another coding agent, configure PATH, continue in Hermes, or keep a prompt/runtime handoff; retry only after that state changes.
  • A readiness probe is not dispatch, implementation, verification, review, CI, merge-readiness, or merge evidence.

Delegation transparency:

  • When delegating, show the composed delegate prompt in a fenced code block in the status message; truncate a long prompt to a bounded preview ending with ... [truncated, N chars total] — the user must see WHAT was asked, not just that something was.
  • Name every delegated or parallel lane's model and, when the host exposes it, its reasoning effort inline as (model effort) in status and briefing lines — including runtime-native subagents; when no effort is exposed, show the model alone as (model) rather than writing a placeholder like unknown beside a known model, and never emit empty parentheses. Carry token and elapsed figures the same way in these narration lines: report observed figures and omit unobserved ones — when the user asks for a figure directly, say it was not observed instead of omitting it; a rendered status-board column keeps its own unknown cell.
  • Capture a resumable session or thread id at dispatch and report it in the status message: for non-interactive Claude Code pass --output-format json and read session_id from the result (resume with claude -p --resume <session-id>); for Codex pass --json and read thread_id (resume with codex exec resume <thread-id>, repeating --skip-git-repo-check outside a git repo). Never leave a delegate run with no recorded way to resume or steer it — a plain-text one-shot that hides its session id strands the work when the run stalls or times out.
  • Before dispatch, grant the executor session every permission the task will need — file write/edit, command/test execution, and the working directory — on the dispatch command itself, not through settings-file guesses: for non-interactive Claude Code pass --permission-mode acceptEdits or an explicit --allowedTools list (--dangerously-skip-permissions only inside an isolated worktree or sandbox), and the equivalent sandbox/approval flags for other CLIs. acceptEdits: true is not a settings key and ~/.claude/settings.local.json is not a file Claude Code reads — user scope is ~/.claude/settings.json and project scope is the dispatch cwd's .claude/settings.local.json with rules under permissions.allow. Prove the grant with a bounded scratch-edit probe run before the real dispatch: a permission denial in a non-interactive run recurs identically on retry, so never redispatch until a changed grant is proven, and surface an ungrantable permission as a blocker before dispatch, not after minutes of silence.
Show full SKILL.md (314 more words)Show less

Required inputs:

  • target smell, or a scoped file list when the user has not named one
  • current behavior
  • regression checks

Expected outputs:

  • 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

Artifact expectations:

  • cleanup plan and regression evidence for non-trivial work

Safety rules:

  • Lock behavior with tests before risky cleanup.
  • Prefer deletion and existing utilities over new layers.
  • Do not add dependencies for cleanup unless explicitly requested.
  • A scoped file list is a boundary: never widen it silently; out-of-scope findings are reported, not edited.

Runtime Evidence

Preferred harness for this skill: coding-handling.

sh
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.

  • When wrapper metadata includes memory_review_card/v1 or handoff_context_pack/v1, treat it as reviewed OMH-local or wrapper-supplied context only. Use conflict-free context summaries to shape plans and handoffs, but do not claim Hermes internal memory was read or changed. 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; OMH's record terms (surface, lane, wrapper, handoff, evidence boundary, not_observed) stay in records and tool calls, never in the sentence the user reads unless they ask about one; and when a stop condition or a decision the user owns ends the turn, offer the next action as a question rather than declaring what will not be done.

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: omh-routing/references/skill-common-rail.md. Load it when applicable; otherwise name an unavailable capability.

© rlaope, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/omh-ai-slop-cleaner of rlaope/oh-my-hermes.

  • SKILL.md
  • references/cleanup-passes.md
  • references/prose-lexicon.md

Open the folder on GitHubat commit 117f67a

Compare with similar skills

Omh AI Slop Cleaner next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Omh AI Slop Cleaner compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Omh AI Slop Cleaner this skillrlaope/oh-my-hermes3.3k—~2.7kAutomated safety check: PassMIT
Deslopmillionco/react-doctor15k—~1.2kAutomated safety check: PassCustom licence
Clean AI Sloptmdgusya/engineering-discipline125—~1.9kAutomated safety check: PassNone
DeslopMrZoyo/deslop-GPT138—~4kAutomated safety check: PassMIT
Prism Maintainirfndi/prism-liquidity-agent124—~1kAutomated safety check: PassMIT
Deslopsanity-io/sanity6.4k6 repos~180Automated safety check: PassMIT

Similar skills

  • Deslop

    millionco/react-doctor

    Simplify and refine recently modified code while preserving functionality.

    15k GitHub stars~1.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Clean AI Slop

    tmdgusya/engineering-discipline

    Corrective cleanup of AI-generated code — removes LLM-specific patterns while preserving behavior.

    125 GitHub stars~1.9k tokensUpdated 3 mo ago
    DevelopmentAuto-check passed
  • Deslop

    MrZoyo/deslop-GPT

    Audit or apply evidence-backed, test-first subtractive cleanup for accumulated agent-created test bloat, verification theater, and defensive or fallback bloat while preserving independent external…

    138 GitHub stars~4k tokensUpdated 4 days ago
    Writing & ContentAuto-check passed
  • Prism Maintain

    irfndi/prism-liquidity-agent

    Maintain the Prism codebase: measure cyclomatic complexity, refactor hotspots, and enforce the anti-slop type discipline.

    124 GitHub stars~1k tokensUpdated 13 days ago
    Writing & ContentAuto-check passed
  • Deslop

    sanity-io/sanity

    Official

    Remove AI-generated code slop and clean up code style. An agent skill from sanity-io/sanity.

    6.4k GitHub starsUsed in 6 repos~180 tokens
    Writing & ContentAuto-check passed
  • Unslop Text

    JCarterJohnson/vibecoded-design-tells

    Strips the cues that make prose read as AI-generated and forces a deliberate human voice instead of the model's default register.

    513 GitHub stars~3.5k tokensUpdated 3 mo ago
    DevelopmentAuto-check passed

More from rlaope/oh-my-hermes

All 143 skills in this repo
  • Omh Accessibility Audit

    rlaope/oh-my-hermes

    [omh] Screen-reader or keyboard accessibility gaps: prepare WCAG, keyboard, focus, screen-reader, target-size, and reflow evidence gates for UI surfaces.

    3.3k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Omh Agent Debug

    rlaope/oh-my-hermes

    [omh] Agent is stuck, looping, or drifting: capture a stuck, looping, drifting, or repeatedly failing agent run, diagnose the likely failure pattern, and prepare the smallest safe recovery action.

    3.3k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Omh Agent Evaluation

    rlaope/oh-my-hermes

    [omh] Choosing between coding agents on evidence: compare executor or agent choices on reproducible tasks using quality, cost, time, tool, and evidence metrics.

    3.3k GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Omh Agent Instructions

    rlaope/oh-my-hermes

    [omh] Agent instruction file for a repo -- AGENTS.md, CLAUDE.md, a Cursor rule: write or update what an agent cannot derive from the code, inside a marked region, with every command verified or…

    3.3k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Omh Agent Ops Review

    rlaope/oh-my-hermes

    [omh] AI agent progress for managers: help managers inspect AI-agent progress, blockers, quality gates, and throughput levers.

    3.3k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Omh App Debugging

    rlaope/oh-my-hermes

    [omh] Application code misbehaves -- a wrong value, a flaky test, a lost update: reproduce it first, form competing hypotheses, discriminate them with the cheapest observation, and only then fix the…

    3.3k GitHub stars~2.4k tokensUpdated today
    Auto-check passed

Questions about Omh AI Slop Cleaner

What does Omh AI Slop Cleaner do?

[omh] Messy or AI-generated code to clean up: delete AI-generated slop, dead code, and duplication while observable behavior stays identical. Omh AI Slop Cleaner is an agent skill from 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.

When should I use Omh AI Slop Cleaner?

Omh AI Slop Cleaner fits situations like: the user says: ai-slop-cleaner; behavior-preserving refactor; refactor workflow.

How do I install Omh AI Slop Cleaner in Claude Code?

Run `npx skills add rlaope/oh-my-hermes --skill omh-ai-slop-cleaner -a claude-code`. Or copy the skill folder (skills/omh-ai-slop-cleaner in rlaope/oh-my-hermes) into .claude/skills/omh-ai-slop-cleaner in your project. Claude Code loads it when a task matches its description.

How do I install Omh AI Slop Cleaner in Codex?

Run `npx skills add rlaope/oh-my-hermes --skill omh-ai-slop-cleaner -a codex`. Or copy the skill folder (skills/omh-ai-slop-cleaner in rlaope/oh-my-hermes) into .agents/skills/omh-ai-slop-cleaner in your project. Codex loads it when a task matches its description.

Can I use Omh AI Slop Cleaner in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rlaope/oh-my-hermes --skill omh-ai-slop-cleaner -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/omh-ai-slop-cleaner, .gemini/skills/omh-ai-slop-cleaner, .github/skills/omh-ai-slop-cleaner and .opencode/skills/omh-ai-slop-cleaner in your project.

What does Omh AI Slop Cleaner need to run?

Going by SKILL.md and its folder, Omh AI Slop Cleaner needs the command-line tools its instructions call (claude and codex).

Does Omh AI Slop Cleaner access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Omh AI Slop Cleaner safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Omh AI Slop Cleaner use?

Omh AI Slop Cleaner is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Omh AI Slop Cleaner use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.1k tokens, read only when the agent opens those files.

What are the alternatives to Omh AI Slop Cleaner?

Skills that share tags, products or a category with Omh AI Slop Cleaner: Deslop (millionco/react-doctor, 15k stars), Clean AI Slop (tmdgusya/engineering-discipline, 125 stars), Deslop (MrZoyo/deslop-GPT, 138 stars) and Prism Maintain (irfndi/prism-liquidity-agent, 124 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Omh AI Slop Cleaner?

rlaope (a GitHub user) maintains it in rlaope/oh-my-hermes, which has 3,255 GitHub stars. The repository holds 143 skills in this directory. The repository was last updated on October 11, 2026.

Source: rlaope/oh-my-hermes on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.