The Department of Prose


The Department of Prose occupies a small office between what you wrote and what you meant. Its staff were originally employed to remove unnecessary words, but the arrival of artificial intelligence has required a second kettle.
Documents are inspected for inflated importance, unlicensed metaphors, and conclusions which have continued trading after the point has closed. Most can be returned to their owners in working order. Occasionally a paragraph must be taken outside and quietly reduced to a sentence.
A plugin for Claude Code and Codex with three writing skills:
slop-check reviews text, slop-explain explains patterns, and
slop-sense rewrites actionable findings. The optional scorer's raw
measurements stay separate from contextual editorial judgments. Accepts
pasted text, URLs, or files.
Current plugin version: 3.4.0.
The three skills
| Skill | Use when you want to... | Output |
|---|
slop-sense | Revise specific writing problems | raw score + evidence-backed findings + fact-safe rewrite |
slop-check | Review the text without rewriting it | raw score + evidence-backed findings + brief repair directions |
slop-explain | Understand one numbered pattern | source, evidence limit, legitimate uses, and editing advice |
All three use version 1.0.0 of the editorial catalogue.
The external lexical scorer is separately versioned and optional.
What slop-sense does
- Runs the slop-detector algorithmic scorer using
slop-score if it is installed on PATH; otherwise, uses npx to run [email protected] (requires Node.js, with no manual installation needed). Returns a 0-100 SLOP score with specific word hits, trigram matches, and contrast patterns found. An installed scorer may differ from the pinned fallback version.
- Runs a bundled rhythm checker (
rhythm.py, pure Python, no dependencies) that measures sentence-length variation, contraction ratio, paragraph-closer candidates, anaphora, raw punctuation counts, and prose punctuation-cadence candidates. These are descriptive measurements.
- Assesses 36 numbered editorial patterns using the catalogue's source, scope, and false-positive guard. A raw match can remain clean.
- Rewrites actionable findings with a draft, fact-preservation check, final revision, and a compact before/after verification on the settled text.
- ai;dr mode: extracts the probable prompt that generated a piece of AI text, with an inflation ratio showing how many words the AI used to say something simple.
Both scripts are optional. The SLOP scorer needs Node.js; the rhythm checker needs only Python 3. Without either, the skill still does the full qualitative analysis and rewrite.
Accepts pasted text, URLs (fetches and analyzes the page), or file paths.
Markdown and HTML prose extraction is still incomplete: link destinations and
other non-prose content can affect measurements. See #8
for the remaining extraction work.
Evaluation
The repository includes a two-layer evaluation set: deterministic regression
fixtures for measurements, extraction, CLI behavior, wrapper behavior, and the
exact pinned scorer; plus golden rewrite cases for rubric-based review of
contextual judgment, fact preservation, and voice. CI validates the golden-case
schemas without running a model or judging rewrites; editorial verdicts require
separate recorded reviews. Run the deterministic suite with:
npm ci
npm run evaluate
See evaluation/README.md for the coverage inventory,
known expected failures, scorer-upgrade policy, and golden review procedure.
What slop-check does
A read-only review skill for when you want to inspect the text and make the
edits yourself. It reports the optional raw score separately from
contextual findings. Each actionable finding has exact evidence, a reason,
and a brief repair direction. It does not rewrite your text.
Triggers on requests like "score this," "rate this text," "how AI is this," "verdict only," "don't rewrite, just check."
What slop-explain does
A teaching skill. Ask "explain pattern 17" to see its source, evidence
limits, legitimate uses, and when a repair helps. Some patterns remain
useful editorial advice without being current AI-style signals.
Triggers on requests like "explain pattern N," "why is X a tell," "teach me about em dash overuse."
Upgrading from Slop Sense