prose-scrub 0.4 adds a small model as the second reader

My linter has a judge now. It's advisory-only because it once fired a 'But' nobody asked for.

By Mackenzie Bowes · mackenzie@mackenziebowes.com · @_mackenziebowes on X

A word list catches only the shapes it has teeth for. A small model reads what slips through, and flags two lines for a person.
Contents

Yesterday I built a gate with Claude. Today it learned to read.

prose-scrub fails my prose on dashes, stock phrases, pre-negation and flat rhythm. Those are all things a word list can catch. Version 0.4 adds a second reader: a command called judge that asks Claude Haiku 5.5 about two habits no word list can see, five times per file. A word list catches only the shapes it has teeth for. The judge reads what slips through and flags the rest for a person.

I ran the whole thing on four of my own posts and my résumé, read the results in a side-by-side viewer, and found the place where the gate makes my writing worse. I'm shipping it anyway, as 0.4.0. This is the build log.

A bet I lost

Wikipedia's guide to signs of AI writing lists undue emphasis on significance: text that keeps telling you its subject matters. I suspected my last post did it, so I asked for a test: "Run a haiku across the prose in the md and ask it to rank the headings from 0.0 to 1.0 on 'how important does the author want me to think this section is' and I bet it'll rank every heading as 1.0."

I lost. Three Haiku runs gave means of 0.47, 0.52 and 0.50, from 0.05 for the source list up to 0.90 for the section on the first relaxation. My headings were fine.

But all three runs quoted the same seven lines as the reason a section sounded important. Lines like "The one that changed the plan was" and "One line in that summary gave it away." The headings were never the finding. Those seven lines were. The rewrite cut them.

I bet every heading would rank 1.0. I lost, but all three runs quoted the same seven lines.

Lesson for anyone pointing a small model at their own work: ask it to score the thing you're sure is broken, then read what it quotes instead. The answer was in the quotes, not the scores.

The expensive part of a subagent is the subagent

Each of those runs was a Claude Code subagent, and each cost about 65,000 tokens. I asked for a cheaper version that sends only the headings, and Claude added a headings command. It saved a tenth: 58,500 tokens instead of 65,000. Nearly all of a subagent's cost is its own setup, not your post.

So the judge skips subagents and talks to the API directly, with a two-line system prompt. A whole post costs a few thousand tokens. The key lives in the macOS Keychain, where neither the command line nor Claude ever sees it.

What to ask a small model

Before writing the judge we went back through the sources. Wikipedia's guide has sections I half remembered, on avoiding plain "is" and "are" and on superficial analysis. stop-slop scores text on directness, rhythm, trust, authenticity and density. slopkit benchmarks its rewrites with judge panels.

Two patterns needed a reader rather than a list:

A new units command numbers every paragraph and sentence, so each run scores exactly the same pieces.

The paragraph says it matters far more than the evidence it gives, so it is flagged.

Copula avoidance ("serves as", "boasts" and "stands as" where "is" would do) looked like a job for a plain rule, so Claude wrote one. It found two real cases on my site. I still didn't ship it. A specific blacklist grows without bound, and nobody had checked that the first list was right. It's parked on its own branch until I can label a pile of sentences by hand, AI-written ones mixed with human writing from before 2022.

Five runs averaged into one score

Claude proposed three runs and a median. I asked for five, averaged: "Therefore, if a Haiku Claude disagrees with parallel Haikus, that is signal and not noise, so averaging is the correct move. Probably."

My experience with agents is that smaller models fail by being lazy, not by missing things. A run that disagrees may have looked harder. Hold that thought.

On a short test file about a bridge, with one inflated paragraph and one empty closing sentence planted, the runs flagged that paragraph, its two sentences and the empty one, and nothing in the paragraph of plain facts. Across that file and my last post, they agreed on 158 of 330 scores. Almost every disagreement was one step on Haiku's grid, one run saying 0.25 where four said 0.3. No single run was the odd one out, and disagreement didn't grow toward the end of long lists. That's too little data to explain anything. Every run's raw scores now go to a log, and finding the cause is on my list.

Five runs read the same line. Four gave 0.3 and one gave 0.25, so the average lands between the two steps.

Then I tried a scale of 0 to 50, hoping Haiku would use decimals. It used none. On significance it moved to a finer grid of whole numbers, and on superficial it stayed on ten steps. Runs agreed more closely on both, so 0 to 50 is now the default.

The bug that wasn't laziness

On my E-E-A-T post, four of the five significance runs returned no scores at all. That looked like the laziness I'd predicted. It wasn't. The score field was called claim, and Haiku read it as "describe the claim": it wrote sentences where the numbers should go. I asked for a claim, and it gave me one. Four times. Faithfully.

Claude renamed the fields to importance_score, evidence_score and empty_score and made the tool schema strict. All five runs came back complete.

Four of five runs wrote sentences into a field named claim. Renamed importance_score, with a strict schema, all five came back complete.

When a small model returns prose where you asked for numbers, suspect your field name before you suspect the model.

Testing it on my own posts

Every post on my site was vibe-written. I picked four, plus my résumé as a control, and had Claude run the full loop on copies: scan, judge, a fresh subagent per file to rewrite, up to three rounds. Each before and after became a page styled for reading, and Claude built a small viewer to compare them side by side, as a word-level diff and as a change log.

Gate findings before and after the rewrite loop on four posts.
FileGate findingsRhythmJudge flagsWords
E-E-A-T requires custom websites#9 to 00.63 to 0.6251 to 232205 to 1985
Generative OG images#4 to 20.58 to 0.610 to 12731 to 2732
Vibe manufacturing#1 to 00.49 to 0.610 to 0729 to 724
Where small business owners hang out online#14 to 10.54 to 0.5210 to 81810 to 1746
Résumé (control)#00.630813

Before and after one or two rewrite rounds, 2026-10-09. The OG post's two remaining findings sit in a quoted card and a section name.

The gate found real things to fix. It also made the small-business post worse.

Where clean reads worse

The diff of that post's opening showed the problem. The two signposts ending in "I found." and "I learned." were gone, cut by the throat-clearing rule. Two adverbs were gone, cut by the adverb rule. The judge marked "Okay." as a sentence that adds nothing, so "Okay. But where is that, exactly?" became "Where is that, exactly?" And the rewriter dropped a "But" that no rule had asked it to touch.

The opening of the small-business post, before and after one rewrite round. Kept words are in full ink. Cut words are struck through and tagged with the rule or judge flag that cut them. Only the "But" in red was cut by no rule. The capital W is the rewriter tidying up after it.

Those were there on purpose. The signpost before the data tells the reader something interesting is about to happen, and that prepares them for it. Readers run on what they expect to feel next. People start sentences with "But" all the time. Clean isn't always easier to read.

So I asked where the throat-clearing rule came from. prose-scrub copied it from stop-slop, which calls every signpost of that shape throat-clearing and lists no exceptions. A word list can't tell a signpost that pays off from one that doesn't. In the end I kept the rule: "I accept slightly worse writing for avoiding all throat clearing."

The judge is a different case, because it's advisory. It flags setups like "Okay." that are doing their job, so the skill now shows judge flags to a person and never hands them to a rewriter on its own.

Using it

security add-generic-password -U -a "$USER" -s anthropic-api-key -w
cd ~/prose-scrub && git pull && bun install
bun src/index.ts units post.md --json
bun src/index.ts judge post.md --log runs.jsonl --json
Store the key, split into units, judge.

judge always exits 0 and reports a flagged count. Each paragraph or sentence keeps all five scores and their spread. The thresholds are provisional until they're checked against human writing. A post of about 2,000 words takes 10 API calls, roughly 50,000 tokens in and 15,000 out.

If you're putting a small model to work as a second reader, I'd like to compare notes: mackenzie@mackenziebowes.com or @_mackenziebowes.

Sources