ai-slop-cleaner

Clean AI-generated code slop within a Ralph session while preserving behavior.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/jimmi2051/oh-my-copilot --skill ai-slop-cleaner-jimmi2051
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-slop-cleaner
Source: https://github.com/jimmi2051/oh-my-copilot/tree/main/plugins/omc-copilot/skills/ai-slop-cleaner
Command: npx skills add https://github.com/jimmi2051/oh-my-copilot --skill ai-slop-cleaner-jimmi2051

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prunes AI-generated code slop that bloats projects, risking maintenance burden and behavior drift by providing a bounded, regression-safe cleanup workflow with an optional reviewer-only mode.

Core Features & Use Cases

  • Bounded, plan-first cleanup scoped to touched files or Ralph session changes, preserving behavior.
  • Identify and eliminate duplication, dead code, and unnecessary wrappers while maintaining regression tests.
  • Reviewer-only pass via --review to perform a safe, independent cleanup before changes are merged.
  • Ralph integration to run cleanup on the session's changed files and re-verify regressions.

Quick Start

Run the AI Slop Cleaner on the Ralph session’s changed files or a specified file list to begin a bounded, regression-safe cleanup.

Frequently Asked Questions about ai-slop-cleaner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean up AI-generated code slop without changing program behavior?

To clean up AI-generated code slop without behavior drift, use a bounded, plan-first workflow that prioritizes deletion over addition and enforces regression verification before completing the refactor.

What is the best way to remove dead code and duplication from an AI coding session?

The best way to remove dead code and duplication from an AI session is running a bounded cleanup pass scoped to touched files, ensuring regression tests are re-verified after eliminating unnecessary wrappers.

Can I perform a code review pass to safely cleanup AI slop before merging?

Yes, you can perform a safe, independent code review pass to cleanup AI slop before merging by running a reviewer-only mode on the changed files within your session scope.

How does regression testing integrate with automated AI slop cleanup?

Regression testing integrates with AI slop cleanup by requiring re-verification of touched files after identifying and eliminating duplication, dead code, and unnecessary wrappers to preserve behavior.

Does AI slop cleanup work with specific file scopes or only entire project directories?

AI slop cleanup works with specific file scopes by operating on code files touched within a Ralph session or a user-specified file list, bounding the refactor to prevent unchecked project-wide changes.