slop-chop
AI writing leaves fingerprints.
Chop the slop. Paste in text and get back something that reads like a person wrote it.
Try it without installing anything: slop-chop.com runs the same
engine in your browser.
AI writing has patterns. It loves em-dashes, drops a semicolon into every other sentence,
reaches for words like comprehensive and leverage, and clears its throat with
openers like "In summary" or "Giving it to you honestly."
slop-chop removes those patterns in a single pass. You can also hand it your own list of
things to cut, so the result reads like you instead of a chatbot.
Why
Cleaning this up by hand is tedious. Asking a model to "stop using em-dashes" works for
about three sentences before it forgets. slop-chop applies the same cleanup rules every
time.
How it works
There are two passes, and you can run either one on its own.
The first is a rules pass. It is fast and deterministic. It swaps characters, drops words
you have flagged, rewrites stock phrases and words, runs your own patterns, fixes spelling
to one dialect, and tidies the punctuation, with no model, no cost, and the same output on
every run. It knows markdown, so fenced code blocks and inline backtick spans come through
untouched.
The second is an optional rewrite pass that hands the text to a model for the things
rules cannot manage, like reworking a sentence so it no longer needs a semicolon, or
nudging the writing toward a voice you picked.
Install
Homebrew:
brew install dcadolph/tap/slop-chop
With Go:
go install github.com/dcadolph/slop-chop@latest
Or clone and use the Makefile:
git clone [email protected]:dcadolph/slop-chop.git
cd slop-chop
make install # build and install into $(go env GOPATH)/bin, version stamped
make uninstall # remove it again
Run make with no target for the full list (build, test, cover, lint, fmt, tidy, clean).
Does it work?
Three measurements, all reproducible from this repository. docs/BENCHMARK.md
has the method and the caveats.
It stays quiet on human writing. Scored against 886 open-source READMEs across seven
language ecosystems, most from projects with no push since 2021, seven reach the line where
text stops reading clean. That is 0.8 percent, and it is the line the GitHub Action fails on
by default. slop-chop check is stricter. It fails a file on any single tell that carries
weight, and 41.5 percent of the same READMEs use at least one.
Word lists lose to a thesaurus. slop-chop attack swaps text to dodge the rules without
improving it, and 33 of 74 word tells slip past. Only 1 of 90 structural tells does, which
is why a sentence shape counts double in the score. That number bounds the attacker rather
than the rules: a swap never rebuilds a sentence, so it was never going to reach a shape.
How those rules fare against a model told to rewrite is unmeasured.
The test that would settle it has not been run. Nobody has yet checked whether the score
ranks text the way human readers do. The rating protocol and the harness are in
evaldata/. Until that runs, the claim stays narrow: same input, same output,
and the patterns the rules know get caught every time.
Usage
# Print the cleaned text to stdout. Your file is not changed.
slop-chop fix notes.md
# Clean the file in place, like gofmt -w.
slop-chop fix -w notes.md
# Pipe text through it
echo "In summary, a robust—and seamless—result." | slop-chop fix
# Flag slop without changing anything (exits non-zero if a finding carries score weight)
slop-chop check notes.md
# Check or fix several files at once
slop-chop check docs/intro.md docs/guide.md README.md
slop-chop fix -w docs/intro.md docs/guide.md
# Enforce a spelling variant: flag or fix the other dialect
slop-chop check --dialect american notes.md
slop-chop fix --dialect british notes.md