sloplint
A dependency-free CLI that scans prose for the tells of AI-generated slop and reports them as notes. Think proselint, but aimed narrowly at the tics and puffery that mark LLM writing: the no X, no Y chains, the rich tapestry of, the some critics argue hedging. It writes JSON an agent can act on and text a person can read.
The primary reader is an agent (Claude Code and friends) that runs sloplint, reads the JSON, and rewrites what it flags. A human is the secondary reader, and I keep the false-positive rate low enough that a note is worth trusting.
Quick start
The one recipe to learn, and the one an agent should use:
cat draft.md | sloplint check --markdown -o json -
--markdown blanks out code, HTML comments, and URLs first, -o json gives the JSON output, and - reads stdin.
Exit 0 means clean, 1 means notes found, anything higher is an error. check is the default command, so sloplint draft.md, sloplint -, and a bare sloplint with piped stdin all scan.
One flag more, --judge, adds a second catalog of rules that ask a model what no pattern can match. The judge sets that up, and it is the only part of sloplint that sends your text anywhere.
The human output drops -o json:
$ printf 'The report is a rich tapestry of vibrant detail.\nThat is exactly the point I keep making about it.\n' | sloplint check -
-:1:17: error (high confidence) rich-tapestry "rich tapestry"/"tapestry of" is a signature AI cliché.
excerpt: The report is a [rich tapestry] of vibrant detail. That is exactly the…
why: 'tapestry of' is one of the most reliable single-phrase model tells.
fix: Cut the metaphor; name the actual things.
-:1:34: error (high confidence) puffery-words Wikipedia-style puffery word/phrase — a common AI tell.
excerpt: The report is a rich tapestry of [vibrant] detail. That is exactly the point I…
why: Travel-brochure adjectives and phrases that models reach for and careful writers avoid.
fix: Replace with a concrete, specific detail or cut it.
-:2:1: info (medium confidence) exact-exactly "exact/exactly" is reflexive emphasis unless it names something checkable.
excerpt: …is a rich tapestry of vibrant detail. [That is exactly] the point I keep making about it.
why: Models reach for 'exact/exactly' as filler emphasis on a claim with nothing to check; it earns its place only next to a number, a name, or a stated identity.
fix: Cut it, or replace with the number, name, or match it's supposed to be precise about.
The brackets mark the match; the rest lets you see what you're fixing without opening the file, why included, so an agent has the rationale without a second command. The confidence is how likely the note is right; a low note is a place to look, not a finding.
Installation
Requires Ruby 3.3+ and nothing else: it runs on the standard library alone (optparse, json, native regex). The Ruby that macOS ships at /usr/bin/ruby is 2.6 and too old; brew install ruby gets you a current one.
In Claude Cowork or the Claude desktop app
Open Customize → Plugins → Add marketplace and paste exactly this:
benjaminjackson/sloplint
Then install sloplint from the list.
Paste those two words and nothing else: no https:// on the front, no slash on the end. The full URL https://github.com/benjaminjackson/sloplint works too, but a URL copied from a page you were browsing usually carries a /tree/main or a tracking parameter on the end, and anything after the repository name fails.
This way needs no package manager at all, which is why it works in Cowork, where gem install cannot reach the internet. The plugin carries its own source and runs it in place.
New rules reach you when you click Update on the marketplace; nothing updates on its own.
Now ask Claude to check a draft, or run /sloplint:check.
In Claude Code
/plugin marketplace add benjaminjackson/sloplint
/plugin install sloplint@sloplint
In a terminal
gem install sloplint # the regex rules, offline and free
gem install sloplint-judge # optional, the judge rules behind --judge
Or build from source:
git clone https://github.com/benjaminjackson/sloplint
cd sloplint
gem build sloplint.gemspec
gem install ./sloplint-*.gem
Either way you get a sloplint executable on your path.
In a Ruby project
gem "sloplint"
gem "sloplint-judge" # optional, the judge rules
That gives you bundle exec sloplint check ... and a library. The engine is a plain method over a string, so one call scans what a model wrote before it reaches a user:
require "sloplint"
notes = Sloplint::Engine.scan(draft, markdown: true)
notes.map(&:to_h) # the same hashes -o json prints