"Because
anyis the mind virus of our generation." — probably @karpathy
The first linter that detects all three axes of AI slop:
- Information Utility (Noise)
- Information Quality (Hallucinations & Lies)
- Style / Taste (Soul)
Currently speaks fluent TypeScript / JavaScript / React / Next.js. Python support coming when the pigs learn to fly.
# Run once without installing (always gets latest version)
npx karpeslop@latest
# Or install globally
npm install -g karpeslop
karpeslopRun in your project directory:
# Full scan (all files)
npx karpeslop@latest
# Quiet mode - only scan core app files (recommended for CI)
npx karpeslop@latest --quiet
# Show help
npx karpeslop@latest --help
# Show version
npx karpeslop@latest --version
# The tool generates a detailed JSON report at ./ai-slop-report.json--help, -h: Show help message--quiet, -q: Run in quiet mode (only scan core app files)--version, -v: Show version information
- Information Utility (Noise): Comments, boilerplate, debug logs, etc.
- Information Quality (Lies): Hallucinated imports, incorrect assumptions, TODO placeholders, etc.
- Style/Taste (Soul): Overconfident comments, unnecessary complexity, "vibe coding" patterns, etc.
- AI Slop Detection: Identifies the three axes of AI-generated code problems
- Type Safety Analysis: Detects improper use of
any, unsafe type assertions - Comment Quality: Flags hedging, overconfident, and redundant comments
- Import Validation: Catches hallucinated imports (e.g., React APIs in wrong packages)
- Code Quality: Finds TODOs, assumptions, and poor coding practices
MIT — go forth and purge the slop.
Building and maintaining KarpeSlop takes time. If this tool saved you from shipping slop:
☕ Buy me a coffee • Help keep the slop detector alive
