From cc-polymath
Detects and removes AI slop patterns in text, code, and design using Python scripts and pattern references. Use for content quality reviews and cleanup.
npx claudepluginhub rand/cc-polymath --plugin cc-polymathThis skill uses the workspace's default tool permissions.
Detect and eliminate generic AI-generated patterns ("slop") across natural language, code, and design.
Provides Ktor server patterns for routing DSL, plugins (auth, CORS, serialization), Koin DI, WebSockets, services, and testApplication testing.
Conducts multi-source web research with firecrawl and exa MCPs: searches, scrapes pages, synthesizes cited reports. For deep dives, competitive analysis, tech evaluations, or due diligence.
Provides demand forecasting, safety stock optimization, replenishment planning, and promotional lift estimation for multi-location retailers managing 300-800 SKUs.
Detect and eliminate generic AI-generated patterns ("slop") across natural language, code, and design.
AI slop refers to telltale patterns that signal low-quality, generic AI-generated content:
This skill helps identify and remove these patterns to create authentic, high-quality content.
Apply anti-slop techniques when:
For text files:
python scripts/detect_slop.py <file> [--verbose]
This analyzes text and provides:
Manual detection: Read the appropriate reference file for detailed patterns:
references/text-patterns.md - Natural language slop patternsreferences/code-patterns.md - Programming slop patternsreferences/design-patterns.md - Visual/UX design slop patternsAutomated cleanup (text only):
# Preview changes
python scripts/clean_slop.py <file>
# Apply changes (creates backup)
python scripts/clean_slop.py <file> --save
# Aggressive mode (may slightly change meaning)
python scripts/clean_slop.py <file> --save --aggressive
Manual cleanup: Apply strategies from the reference files based on detected patterns.
Remove immediately:
Simplify wordy phrases:
Replace buzzwords:
Be direct:
Be specific:
Be authentic:
Rename generic variables:
data → name what data it representsresult → name what the result containstemp → name what you're temporarily storingitem → name what kind of itemRemove obvious comments:
# Bad
# Create a user
user = User()
# Better - let code speak
user = User()
Simplify over-engineered code:
Improve function names:
handleData() → what are you doing with data?processItems() → what processing specifically?manageUsers() → what management action?Clarity over cleverness:
Meaningful names:
Appropriate documentation:
Visual slop:
Layout slop:
Copy slop:
Content-first design:
Intentional choices:
Authentic voice:
Consult these comprehensive guides when working on specific domains:
text-patterns.md - Complete catalog of natural language slop patterns with detection rules and cleanup strategies
code-patterns.md - Programming antipatterns across languages with refactoring guidance
design-patterns.md - Visual and UX design slop patterns with improvement strategies
Each reference includes:
Analyzes text files for AI slop patterns.
Usage:
python scripts/detect_slop.py <file> [--verbose]
Output:
Scoring:
Automatically removes common slop patterns from text files.
Usage:
# Preview changes
python scripts/clean_slop.py <file>
# Save changes (creates backup)
python scripts/clean_slop.py <file> --save
# Save to different file
python scripts/clean_slop.py <file> --output clean_file.txt
# Aggressive mode
python scripts/clean_slop.py <file> --save --aggressive
What it cleans:
Safety:
.backup file when overwritingWhen creating content:
Not all patterns are always slop:
Acceptable contexts:
Always consider:
The scripts are tools, not replacements for judgment:
# Check files before committing
python scripts/detect_slop.py src/documentation.md --verbose
# Clean up automatically
python scripts/clean_slop.py src/documentation.md --save
Create project-specific thresholds:
Scripts only handle text:
Context sensitivity:
Language coverage:
# User asks: "Can you review this article for AI slop?"
1. Read references/text-patterns.md for patterns to watch
2. Run: python scripts/detect_slop.py article.txt --verbose
3. Review findings and apply manual cleanup
4. Optionally run: python scripts/clean_slop.py article.txt --save
5. Do final manual review of cleaned content
# User asks: "Help me clean up generic AI patterns in my code"
1. Read references/code-patterns.md
2. Review code files manually for patterns
3. Create list of generic names to rename
4. Refactor following principles in code-patterns.md
5. Remove obvious comments and over-abstractions
# User asks: "Does this design look too generic?"
1. Read references/design-patterns.md
2. Check against high-confidence slop indicators
3. Identify specific issues (gradients, layouts, copy)
4. Provide specific recommendations from design-patterns.md
5. Suggest concrete alternatives
# User asks: "Help me create quality standards for our team"
1. Review all three reference files
2. Identify patterns most relevant to user's domain
3. Create project-specific guidelines
4. Set up detection scripts in development pipeline
5. Document acceptable exceptions
For text cleanup:
For code cleanup:
For design cleanup:
General principles: