aislop cleans up what AI coding agents leave behind.
An open-source CLI that finds the residue in AI generated code, swallowed exceptions, narrative comments, unsafe casts, dead imports, then removes the mechanical ones for you. Deterministic, so the same code gives the same result every run. It is not r/aislop, not the memecoin, and not a synonym for junk websites.
This one. Not those.
Google shows this site for the word aislop. Most of those searches want something else. Use this page if you meant the tool.
aislop
- github.com/scanaislop/aislop: MIT CLI
- npmjs.com/package/aislop: npx aislop
- scanaislop.com: hosted quality gate
- Named AI-slop patterns in code
- r/aislop
A Reddit community for AI fails and generated junk. Unrelated.
- AI slop, the meme
Wikipedia’s term for low-effort generated media. The cultural word, not the CLI.
- AISLOP the coin
A memecoin ticker. aislop the tool does not have a token.
Three patterns it names
AI slop in code is a named failure mode, not a vibe. Each pattern has a bad example, a clean example, and the rule that flags it.
Swallowed exception
A try/catch where the catch block is empty or only contains a comment — failures vanish silently with no log, no rethrow, no recovery.
View example →ai-slop/narrative-commentNarrative comment
A multi-line comment block that walks through what the function does in prose. The signature already says it; the prose is decorative.
View example →ai-slop/unsafe-type-assertionUnsafe type assertion
An `as any` cast — bypasses TypeScript's checker entirely. Every guarantee from the type system is gone for that value forward.
View example →Common questions
aislop is a deterministic, MIT-licensed CLI that scans a repository for AI slop in AI generated code and scores the change 0 to 100. Same code in, same score out. There is no LLM in the runtime path.
Yes. AI slop, slop code, and code slop are the same residue here: swallowed exceptions, narrative comments, unsafe casts, dead helpers. aislop is the scanner; AI slop is the finding.
No. r/aislop is a subreddit about generated junk. The software is the npm package aislop and the GitHub repo github.com/scanaislop/aislop. This page is the aislop website.
The CLI lives at github.com/scanaislop/aislop. Run npx aislop scan, or install from npm, Homebrew, or PyPI.
aislop is the open-source CLI you run locally. scanaislop.com is the hosted platform that applies the same scan across pull requests, teams, and score history.
From any project root, run npx aislop scan. No account. It lists the residue by file and scores the repo 0 to 100, then npx aislop fix removes the mechanical findings and rescans.
Clean up your repo.
One command finds it, one removes what is safe to remove. No account, same result every run.
npx aislop scan