Slop Detector
Audit prose for AI slop and report findings by severity. Stop Slop tells a model what not to write; this skill checks what was written and says how bad it is.
A banned-words list fails in both directions. It flags "robust" in a sentence about a nonce implementation, and it passes a caption that says "a fresh capture, not a generic mockup." The severity model below separates the two.
Severity model
slop-detector.json in this folder is the authority. Four tiers:
| Severity |
Meaning |
What to do |
hard_fail |
Exact, high-confidence production or process narration in reader-facing copy ("captured with Playwright", "Status in this study", "Weak spot: I didn't test") |
Block publication and rewrite. A low score never rescues a hard fail. |
warn_if_repeated |
Rhetorical scaffolds that can carry one real turn: mirrored "not X, it's Y" contrasts, "No X. No Y. No Z." triads, per-item disclaimers, templated roundup filler |
Count across the piece. Warn only at the family's repeat threshold. |
contextual_review |
Broad lexical signals: "leverage", "seamless", "here's the thing", academic connectors, empty intensifiers |
Read the sentence. Quotations, code, proper names, and precise technical terms are not defects. Never auto-replace. |
structural_diagnostic |
Document-level patterns: identical paragraph lengths, a dead table column, the same sentence closing every item, passive-voice density |
Diagnose the cause. Never add fragments, emotion, or asymmetry to make a metric pass. |
Advisory score, counted only after context review: warn_if_repeated +2, confirmed contextual_review +1, structural_diagnostic +3, +2, or +1 by priority.
- 0 to 5: clean
- 6 to 15: needs editing
- 16+: rewrite the affected passages or structure
Truth, source fidelity, and authorial intention sit above this model. An unsupported claim or invented first-person experience blocks publication even when the score is 0.
Workflow
If the text is a file on disk, run the scanner first.
python3 scripts/scan.py draft.md
python3 scripts/scan.py post.html --json
python3 scripts/scan.py a.md b.md c.md # adds the sibling-boilerplate check
It prints hard fails, warnings, structural findings, and contextual prompts, then two numbers: the score from automatic findings and the ceiling if every contextual prompt is confirmed. Matches inside quotation marks, blockquotes, and code are downgraded to contextual_review automatically.
Review every contextual prompt in context. Keep the word when it is quoted, a product name, a technical term, or the precise word. Confirm it only when the sentence would be better without it. Recompute the score from confirmed findings.
Run the structural checks the scanner cannot. Symmetric pros and cons, an FAQ entry that restates an H2, and boilerplate shared across sibling articles need a reader. The scanner names these as manual checks.
If there is no file, do the pass by hand. Load references/banned-phrases.md for the phrase families and references/ai-tells.md for the 28 structural, language, rhythm, content, and teaching tells. Apply the same four tiers.
Report, then fix the cause. For each confirmed finding give the severity, the quoted evidence, why it hurts this reader, and the smallest durable fix. Fix rhythm by following the thought, not by inserting one-word sentences. Fix a dead column by deleting it and stating the fact once. Fix a hard fail by naming what the image or result shows and nothing about how it was made.
For captions and alt text alone, scripts/check-assets.py post.html runs only the hard-fail production-commentary patterns and exits 1 on any hit. It is built for CI.
Output format
HARD FAIL (1)
production_commentary: "captured with Playwright" [block 14, figcaption]
Fix: "Semrush's affiliate program page inside Impact."
warn_if_repeated (1) +2
repeated_scaffolds/mirrored_contrast: 3 occurrences, threshold 2
contextual_review (4) review before counting
broad_lexical_tells: "robust" [block 9] -> technical term, keep
...
Advisory score: 2 (clean) from automatic findings; ceiling 6 (needs editing) if every prompt is confirmed.
Lead with the verdict. If nothing actionable is present, say so in one line.
What this skill does not do
- It does not fact-check. A clean score says nothing about whether a price, version, or quote is true.
- It does not detect authorship. Humans write slop too, and the tells are evidence to inspect, not proof a model wrote the text.
- It does not rewrite. Pair it with
stop-slop for drafting rules and red-pen for a line edit.
- It does not reward roughness. Fragments, typos, and performed asides are tells of their own (see ai-tells.md, Authorial Intention Tells).
Regression tests
python3 scripts/test-severity.py
The test locks the contract: only production_commentary and the always_fail group of process_leakage may hard-fail, broad lexical matches stay contextual, scaffolds warn only past their thresholds, and the score bands do not drift. Run it after any edit to slop-detector.json.
1---2name: slop-detector3description: Score a draft, page, or caption set for AI slop with a four-tier severity model instead of a flat banned-words list. Exact production narration fails outright, rhetorical scaffolds warn only when repeated, lexical tells become review prompts, and document-level patterns are diagnosed. Use when the user asks to score, audit, grade, or check text for AI tells, runs /slop-detector, or wants a pass/fail gate before publishing.4license: MIT5---67# Slop Detector89Audit prose for AI slop and report findings by severity. Stop Slop tells a model what not to write; this skill checks what was written and says how bad it is.1011A banned-words list fails in both directions. It flags "robust" in a sentence about a nonce implementation, and it passes a caption that says "a fresh capture, not a generic mockup." The severity model below separates the two.1213## Severity model1415`slop-detector.json` in this folder is the authority. Four tiers:1617| Severity | Meaning | What to do |18|---|---|---|19| `hard_fail` | Exact, high-confidence production or process narration in reader-facing copy ("captured with Playwright", "Status in this study", "Weak spot: I didn't test") | Block publication and rewrite. A low score never rescues a hard fail. |20| `warn_if_repeated` | Rhetorical scaffolds that can carry one real turn: mirrored "not X, it's Y" contrasts, "No X. No Y. No Z." triads, per-item disclaimers, templated roundup filler | Count across the piece. Warn only at the family's repeat threshold. |21| `contextual_review` | Broad lexical signals: "leverage", "seamless", "here's the thing", academic connectors, empty intensifiers | Read the sentence. Quotations, code, proper names, and precise technical terms are not defects. Never auto-replace. |22| `structural_diagnostic` | Document-level patterns: identical paragraph lengths, a dead table column, the same sentence closing every item, passive-voice density | Diagnose the cause. Never add fragments, emotion, or asymmetry to make a metric pass. |2324Advisory score, counted only after context review: `warn_if_repeated` +2, confirmed `contextual_review` +1, `structural_diagnostic` +3, +2, or +1 by priority.2526- **0 to 5:** clean27- **6 to 15:** needs editing28- **16+:** rewrite the affected passages or structure2930Truth, source fidelity, and authorial intention sit above this model. An unsupported claim or invented first-person experience blocks publication even when the score is 0.3132## Workflow33341. **If the text is a file on disk, run the scanner first.**3536 ```bash37 python3 scripts/scan.py draft.md38 python3 scripts/scan.py post.html --json39 python3 scripts/scan.py a.md b.md c.md # adds the sibling-boilerplate check40 ```4142 It prints hard fails, warnings, structural findings, and contextual prompts, then two numbers: the score from automatic findings and the ceiling if every contextual prompt is confirmed. Matches inside quotation marks, blockquotes, and code are downgraded to `contextual_review` automatically.43442. **Review every contextual prompt in context.** Keep the word when it is quoted, a product name, a technical term, or the precise word. Confirm it only when the sentence would be better without it. Recompute the score from confirmed findings.45463. **Run the structural checks the scanner cannot.** Symmetric pros and cons, an FAQ entry that restates an H2, and boilerplate shared across sibling articles need a reader. The scanner names these as manual checks.47484. **If there is no file, do the pass by hand.** Load [references/banned-phrases.md](references/banned-phrases.md) for the phrase families and [references/ai-tells.md](references/ai-tells.md) for the 28 structural, language, rhythm, content, and teaching tells. Apply the same four tiers.49505. **Report, then fix the cause.** For each confirmed finding give the severity, the quoted evidence, why it hurts this reader, and the smallest durable fix. Fix rhythm by following the thought, not by inserting one-word sentences. Fix a dead column by deleting it and stating the fact once. Fix a hard fail by naming what the image or result shows and nothing about how it was made.5152For captions and alt text alone, `scripts/check-assets.py post.html` runs only the hard-fail production-commentary patterns and exits 1 on any hit. It is built for CI.5354## Output format5556```text57HARD FAIL (1)58 production_commentary: "captured with Playwright" [block 14, figcaption]59 Fix: "Semrush's affiliate program page inside Impact."6061warn_if_repeated (1) +262 repeated_scaffolds/mirrored_contrast: 3 occurrences, threshold 26364contextual_review (4) review before counting65 broad_lexical_tells: "robust" [block 9] -> technical term, keep66 ...6768Advisory score: 2 (clean) from automatic findings; ceiling 6 (needs editing) if every prompt is confirmed.69```7071Lead with the verdict. If nothing actionable is present, say so in one line.7273## What this skill does not do7475- It does not fact-check. A clean score says nothing about whether a price, version, or quote is true.76- It does not detect authorship. Humans write slop too, and the tells are evidence to inspect, not proof a model wrote the text.77- It does not rewrite. Pair it with `stop-slop` for drafting rules and `red-pen` for a line edit.78- It does not reward roughness. Fragments, typos, and performed asides are tells of their own (see ai-tells.md, Authorial Intention Tells).7980## Regression tests8182```bash83python3 scripts/test-severity.py84```8586The test locks the contract: only `production_commentary` and the `always_fail` group of `process_leakage` may hard-fail, broad lexical matches stay contextual, scaffolds warn only past their thresholds, and the score bands do not drift. Run it after any edit to `slop-detector.json`.