# AI Slop Cleaner

Runs a cleanup and refactor pass that removes AI-generated filler from code.

- Repository: https://github.com/Yeachan-Heo/oh-my-codex (33693 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add Yeachan-Heo/oh-my-codex --skill ai-slop-cleaner -g -a claude-code -y`
Codex: `npx skills add Yeachan-Heo/oh-my-codex --skill ai-slop-cleaner -g -a codex -y`
Cursor: `npx skills add Yeachan-Heo/oh-my-codex --skill ai-slop-cleaner -g -a cursor -y`
Gemini CLI: `npx skills add Yeachan-Heo/oh-my-codex --skill ai-slop-cleaner -g -a gemini-cli -y`

## Description

Run an anti-slop cleanup/refactor/deslop workflow

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# AI Slop Cleaner Task Card

Use this bounded helper for cleanup/refactor/deslop work, not as a competing top-level
workflow. Shared operating invariants live in `templates/AGENTS.md`; this card defines
scope, smell taxonomy, passes, and evidence.

## When to use and inputs

Use when working code is bloated, noisy, repetitive, over-abstracted, or AI-generated;
the user requests cleanup/refactor/deslop; or a follow-up left duplicate/dead code,
weak boundaries, missing tests, fallback-like paths, or wrappers. Inputs are the requested
feature/files and behavior to preserve. A file list scope is valid; keep the pass bounded
to it. Limit the pass to the calling task's changed files unless broader cleanup was requested.

## Before editing

The rest: https://github.com/Yeachan-Heo/oh-my-codex/blob/HEAD/plugins/oh-my-codex/skills/ai-slop-cleaner/SKILL.md
