원클릭으로
ai-slop-cleaner
[OMAGY] Run an anti-slop cleanup/refactor/deslop workflow
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
[OMAGY] Run an anti-slop cleanup/refactor/deslop workflow
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Run read-only deep repository analysis with ranked synthesis, concrete evidence, and explicit Evidence/Inference/Unknown boundaries.
Full OMX-style autonomous pipeline for Omagy: interview, plan, goal execution, optional team, review, and UltraQA.
Professor-critic research workflow with durable Omagy artifacts for agy.
Stateful validator-gated research loop with artifact-gated completion.
[Omagy] Bounded best-practice research wrapper using official/upstream evidence first
Cancel the active Omagy workflow or all Omagy workflow state.
| name | ai-slop-cleaner |
| description | [OMAGY] Run an anti-slop cleanup/refactor/deslop workflow |
Use this skill when the user asks for cleanup, refactor, deslop, anti-slop, duplicate removal, dead-code removal, boundary tightening, or when a Ralph run reaches its mandatory cleanup pass.
This is a behavior-preserving cleanup workflow. It is not a rewrite command and it is not a substitute for product requirements, architect verification, or security review.
Accept the user-provided scope first: explicit files, directories, diff, branch, PR, or current project.
If invoked from /omagy:ralph, discover runtime context with:
omagy ralph status --json
When Ralph state provides deslop_changed_files_path, read that file and keep
cleanup strictly bounded to those Ralph-owned changed files unless the user
explicitly expands scope.
If the scoped file list is empty, treat cleanup as noop, explain why, and
record status":"noop" when Ralph runtime state is active.
Do not scan sibling repositories to silently expand scope.
Do not introduce new dependencies, broad formatting churn, compatibility shims, or unrelated rewrites.
Ralph's mandatory deslop pass uses /omagy:ai-slop-cleaner after architect
approval and before final re-verification.
If Ralph state is active:
Use deslop_changed_files_path as the default cleanup scope.
Respect deslop_enabled === false or an explicit --no-deslop instruction.
Run cleanup only after current regression evidence and architect approval exist.
After cleanup, rerun the relevant tests, build, lint, typecheck, or focused checks.
Record the cleanup result:
omagy ralph record --input '{"kind":"deslop","status":"pass","summary":"ai-slop-cleaner completed","evidence":["<cleanup evidence>"],"phase":"verifying"}' --json
Use quality-reviewer only as an optional review lane for the cleanup result.
It can find remaining maintainability issues, but it does not replace this
skill's regression-tests-first cleanup workflow.
Lock behavior first
Write a cleanup plan before editing
Classify smells
Execute in small passes
Gate completion
quality-reviewer review for broad cleanup.Return an evidence-dense report:
AI SLOP CLEANUP REPORT
Scope: <files/directories/diff>
Behavior lock: <tests/checks before cleanup>
Smells removed:
- <smell> -> <change>
Verification:
- <command/check> -> <result>
Ralph record:
- <pass/noop/not applicable>
Residual risks:
- <remaining risk or none>