AI SummaryAnti-Slop Toolkit provides automated detection and cleanup for AI-generated code patterns across Python, R, and text files, helping developers enforce quality standards in CI/CD pipelines and codebases.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "anti-slop-toolkit" skill in my project. Please run this command in my terminal: # Install skill into your project (2 files) mkdir -p .claude/skills/toolkit && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/toolkit/SKILL.md "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/other/toolkit/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/toolkit/metadata.json "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/other/toolkit/metadata.json" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Automated detection and cleanup tools for AI slop patterns. Provides Python and R scripts for active slop detection, scoring, and cleanup across codebases. Use when you need automated quality enforcement.
When to Use This Skill
Use anti-slop-toolkit when: • ✓ Running automated slop detection across a codebase • ✓ Integrating slop checks into CI/CD pipelines • ✓ Setting up pre-commit hooks for quality enforcement • ✓ Auditing large projects for generic AI patterns • ✓ Batch processing multiple files for cleanup • ✓ Establishing quantitative quality thresholds Do NOT use when: • Manual review is more appropriate (use domain-specific anti-slop skills) • Dealing with non-text files (images, binaries) • Working with languages not covered by scripts (use manual skills)
Quick Example
Running Detection: `bash
Text file detection
$ python3 scripts/detect_slop.py report.md --verbose Analyzing: report.md Overall Slop Score: 45/100 High-Risk Phrases (3 found): Line 12: "delve into the complexities" Line 34: "in today's fast-paced world" Line 67: "it's important to note that" Recommendations: • Remove meta-commentary • Simplify wordy phrases • Replace buzzwords with direct language
R code detection
$ Rscript scripts/detect_slop.R analysis.R --verbose Analyzing: analysis.R Overall Slop Score: 52/100 Generic Variables (5 found): Line 8: df Line 15: data Line 23: result Recommendations: • Replace generic variable names • Add namespace qualification • Remove obvious comments ` Running Cleanup: `bash
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster