ai-slop-cleaner
Clean AI-generated code — remove unnecessary abstractions, verbose comments, over-engineering
Skill by TheTrustedAdvisor
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/thetrustedadvisor-ai-slop-cleaner
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ai-slop-cleaner
What's inside
- Skill name
ai-slop-cleaner- Description
- Clean AI-generated code — remove unnecessary abstractions, verbose comments, over-engineering
- License
- MIT
- Instructions
- 81 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
## When to Use
- Code has AI-generated patterns: excessive abstractions, verbose comments, unnecessary error handling
- User says "clean slop", "deslop", "anti-slop"
- After a large generation pass that needs tightening
- Ralph post-implementation cleanup
## AI Slop Patterns to Remove
| Pattern | Example | Fix |
|---------|---------|-----|
| **Verbose comments** | `// This function adds two numbers` above `add(a, b)` | Remove — code is self-evident |
| **Unnecessary abstractions** | `createHelperFactory()` used once | Inline the logic |
| **Over-engineered error handling** | try/catch around `2 + 2` | Remove — can't fail |
| **Feature flags for nothing** | `if (ENABLE_ADDITION) { a + b }` | Remove flag, keep code |
| **Premature generalization** | `BaseAbstractProcessor<T>` with one impl | Remove base class |
| **Backwards-compat shims** | `const _oldName = newName // removed` | Delete entirely |
| **Empty catch blocks** | `catch (e) { /* TODO */ }` | Handle or remove |
| **Console.log debris** | `console.log('DEBUG:', value)` | Remove |
## Workflow
### 1. Identify Changed Files
Determine scope:
- If invoked after ralph/autopilot: use the files changed in that session
- If invoked standalone: ask user for scope, or use `bash: git diff --name-only HEAD~1`
### 2. Analyze
Review the identified files for AI slop patterns: unnecessary abstractions, verbose comments restating code, over-engineered error handling, debug artifacts. Simplify without changing behavior. Delegate to @omg:code-simplifier for systematic cleanup.
### 3. Verify
After cleanup:
- Run build via `bash` — must still compile
- Run tests via `bash` — must still pass
- If anything breaks: revert the specific change
### 4. Report
```
## Slop Cleanup Report
Files cleaned: N
Patterns removed:
- 3× verbose comments (file.ts:12, file.ts:45, file.ts:89)
- 1× unused abstraction (helper.ts → inlined into caller)
- 2× console.log debris
Lines removed: X
Verification: build PASS, tests PASS
```
## Review-Only Mode
If invoked with "review" or "scan": analyze but do NOT make changes. Report findings only.
## Checklist
- [ ] Scope defined (changed files or user-specified)
- [ ] Each change preserves functionality
- [ ] Build passes after cleanup
- [ ] Tests pass after cleanup
- [ ] Report lists every change with file:line
## Trigger Keywords
clean slop, deslop, anti-slop, remove AI patterns
## Example
```bash
copilot -i "clean AI slop in src/"
```
## Quality Contract
- Each change preserves functionality, build+tests pass after cleanupFrom TheTrustedAdvisor/omg, MIT.
More from TheTrustedAdvisor/omg
- 0.466score
btw
TheTrustedAdvisor
Quick side-question without derailing the current task — answers in a separate context to keep the main conversation clean
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
agent-catalog
TheTrustedAdvisor
Agent directory — lists all omg agents with their roles, models, and when to use each
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
ai-prose-cleaner
TheTrustedAdvisor
Detect and clean AI-typical writing patterns in documents — em dashes, filler phrases, over-formality
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
ask
TheTrustedAdvisor
Route questions to Claude, Codex, or Gemini for multi-perspective answers
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
autopilot
TheTrustedAdvisor
Activates full autonomous execution — from idea to working, verified code
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
cancel
TheTrustedAdvisor
Cancel any active execution mode — stops autopilot, ralph, ultrawork, team, ultraqa cleanly
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
ccg
TheTrustedAdvisor
Claude-Codex-Gemini tri-model orchestration — decompose, query, synthesize
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
configure-notifications
TheTrustedAdvisor
Set up notification integrations — Telegram, Discord, Slack alerts for long-running tasks
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
debug
TheTrustedAdvisor
Structured debugging — reproduce, diagnose, fix with @omg:debugger agent
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
deep-analyze
TheTrustedAdvisor
Deep analysis mode — multi-agent investigation of complex systems or problems
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
deep-dive
TheTrustedAdvisor
Activates investigation-to-requirements pipeline — trace root cause then crystallize into actionable spec
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
deep-interview
TheTrustedAdvisor
Socratic deep interview with ambiguity scoring — crystallize vague ideas into clear specs before execution
SkillDFreshness: D★ 7Claude Code +9
Signals
- Stars
- 7
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Apr 8, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/TheTrustedAdvisor/omg
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from TheTrustedAdvisor
- 0.466score
btw
TheTrustedAdvisor
Quick side-question without derailing the current task — answers in a separate context to keep the main conversation clean
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
ai-prose-cleaner
TheTrustedAdvisor
Detect and clean AI-typical writing patterns in documents — em dashes, filler phrases, over-formality
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
ask
TheTrustedAdvisor
Route questions to Claude, Codex, or Gemini for multi-perspective answers
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
autopilot
TheTrustedAdvisor
Activates full autonomous execution — from idea to working, verified code
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
agent-catalog
TheTrustedAdvisor
Agent directory — lists all omg agents with their roles, models, and when to use each
SkillDFreshness: D★ 7Claude Code +9 - 0.463score
doctor
TheTrustedAdvisor
Health check — verifies omg plugin is correctly installed and working
SkillDFreshness: D★ 7Claude Code +9
Cite this page
ai-slop-cleaner skill. Agent Mart. https://agentmart.dev/skills/thetrustedadvisor-ai-slop-cleaner (last updated 2026-10-24)