/cc-polymath:anti-slopfrom cc-polymath
Detects and eliminates generic AI-generated patterns in text, code, and design. Provides scoring, pattern detection, and automated cleanup scripts.
Ships in cc-polymath. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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:
CLAUDE_MD_UPDATES.md (opens in a new tab)README.md (opens in a new tab)references/code-patterns.md (opens in a new tab)references/design-patterns.md (opens in a new tab)references/text-patterns.md (opens in a new tab)scripts/clean_slop.py (opens in a new tab)scripts/detect_slop.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub rand/cc-polymath --plugin cc-polymath26 skills in this plugin
/discover-agenticAutomatically discover agentic workflow skills when building AI agents, implementing tool use patterns, managing context windows, decomposing complex tasks, or designing multi-step autonomous workflows. Activates for agentic AI development./discover-apiAutomatically discover API design skills when working with REST APIs, GraphQL schemas, API authentication, OAuth, JWT, rate limiting, API versioning, error handling, or endpoint design. Activates for backend API development tasks./discover-cicdAutomatically discover CI/CD and automation skills when working with GitHub Actions, Jenkins, GitLab CI, pipelines, continuous integration, continuous deployment, or automated testing. Activates for CI/CD development tasks./discover-cryptographyAutomatically discover cryptography skills when working with encryption, TLS, certificates, PKI, and security/discover-dataAutomatically discover data pipeline and ETL skills when working with ETL, data pipelines, streaming, batch processing, data validation, or pipeline orchestration. Activates for data development tasks./discover-databaseAutomatically discover database skills when working with SQL, PostgreSQL, MongoDB, Redis, database schema design, query optimization, migrations, connection pooling, ORMs, or database selection. Activates for database design, optimization, and implementation tasks.Other plugins' skills for the same job