/anti-slop:anti-slopfrom anti-slop
Routes slop detection and repair tasks to the appropriate leaf skill (review, rewrite, verify citations/links, audit code/docs). Use when the surface or operation is unclear.
Ships in anti-slop. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
These four rules bind every skill and agent in this plugin. They are not advice, they are not a checklist step, and they hold even when the user asks for the opposite.
Rule 1 exists because the measurement says the model cannot do the judging.
LLM-as-judge agreement with human slop labels is near zero (kappa 0.01 for
GPT-5, -0.01 for DeepSeek-V3, 0.03 for o3-mini; Shaib, Chakrabarty,
Garcia-Olano and Wallace, arXiv 2509.19163, rev. 2026-01-24), models under-flag
by roughly 5x, and span-level extraction runs at precision 0.14 and recall
0.11. Rule 1 also exists because authorship guessing has a measured victim:
see ../../references/false-positives.md.
Layer 0, deterministic scanners. Python scripts with exit codes. The only
things allowed to hard-fail, because they are the only things actually
decidable. They live in the sibling brain repo at ../anti-slop-brain/scripts/
relative to this plugin's parent directory.
| Script | Decides |
|---|---|
scan_residue.py | vendor artifacts: oaicite, [cite: 1], lenticular-bracket citations, (start_span), grok-card, :::writing{, [attached_file:1], utm_source=chatgpt.com, referrer=grok.com |
scan_placeholders.py | [Your Name], INSERT_SOURCE_URL, access-date=2025-XX-XX, YYYY-MM-DD, TODO: quote |
scan_refs.py | DOI, ISBN and arXiv shape and checksums offline; resolution of DOIs, arXiv IDs and URLs with --online |
scan_packages.py | dependency inventory offline; registry existence with --online |
lint_voice.py | house style: no U+2014, no U+2013, no --, plus banned tokens from a voice file |
score_substance.py | near-duplicate, skeleton-reuse and specific-word-density floors over a note vault, via --vault DIR |
Run them, read their exit codes, quote their output. Exit codes are uniform: 0
clean, 1 findings, 2 usage error. Do not reimplement them and do not guess
their flags; run one with --help if you need options.
Two defaults matter and are easy to misreport. scan_refs.py and
scan_packages.py are offline by default and decide nothing about
resolution or registry existence until you pass --online. An offline run is
not a clean bill of health. scan_refs.py also does not compare a cited title
to the resolved title; that comparison is deliberately a Layer 1 attribution
test with a human-readable artifact, not a scanner output.
lint_voice.py enforces a house rule. Its findings are style violations, never
slop verdicts.
Layer 1, structural procedures. Five mechanical tests. Each produces a
named artifact, so the finding is checkable by someone who does not trust you:
deletion, inversion, stranger, attribution, load-bearing. Summarised below,
worked in ../../references/structural-tests.md.
Layer 2, evidence-tiered soft signals. Markers, ranked by how well the corpus evidence supports them. Tier 1 is corpus-validated, tier 2 is measured but high false-positive, tier 3 is folk wisdom that is recorded and never acted on alone. A Layer 2 hit does exactly one thing: it selects a span for a Layer 1 test.
A test you did not actually run produces no artifact and therefore no finding. Never report a structural finding without its artifact.
| Ask | Skill |
|---|---|
| "review this", "is this slop", "what is wrong with this draft" | slop-review |
| "fix it", "clean this up", "de-slop this", "rewrite" | slop-rewrite |
| code, tests, comments, READMEs, commit messages, PR descriptions | slop-code |
| citations, DOIs, dead links, imported packages, vendor residue | slop-verify |
Order matters when more than one applies. slop-verify first, because
fabricated citations and hallucinated packages are the only HIGH-severity
defect class that a rewrite can silently launder. Then slop-review. Then
slop-rewrite, which consumes the review's findings and never re-derives them.
For a fresh-context second opinion, dispatch the slop-grader agent (read-only
findings) or the slop-verifier agent (adversarial check of an existing
review). Never dispatch either to approve your own output as finished; that is
firewall rule 4.
../../references/ or in the project's verification ledger. If you want a
number that is not there, omit the number.../../references/structural-tests.md when you are about to run a
structural test and need the worked artifact format.../../references/markers-tier1.md when you need the corpus-validated
marker list and its citations.../../references/markers-tier2.md when a finding rests on em-dash
density, burstiness or sentence-length uniformity.../../references/markers-tier3.md when you are tempted to flag a
single word or an unsourced heuristic.../../references/code-markers.md when the surface is code, tests,
config or generated documentation.../../references/false-positives.md before writing any finding whose
evidence is style rather than substance, and always before reviewing text by
a non-native English writer.What SKILL.md sets; muted values are Claude Code's defaults
The user wants slop detection or repair but has not said which surface (prose, code, docs, citations) or which operation (review, rewrite, verify) applies.
npx claudepluginhub agricidaniel/anti-slop --plugin anti-slop5 skills in this plugin
/slop-codeSlop review and repair for source code, tests, configuration, generated documentation, README files, commit messages and pull request descriptions. Use when someone asks to review generated or agent-written code for quality, asks whether a diff is padded or ceremonial, asks about hallucinated or slopsquatted imports, or asks to clean up comments, docstrings, wrapper functions, defensive try/except blocks, or tests that assert nothing. Runs the load-bearing test: delete the comment, wrapper, handler or assertion-free test and name what broke. Runs the package existence scanner over every import. Reviews commit and pull request text for canned policy assurances and preserved-information boilerplate. Reports defects with severity and confidence separated, never an authorship verdict, and never a claim that a diff was machine written.
/slop-reviewRead-only slop review of prose, documentation, reports, agent output, commit messages or PR descriptions. Use when someone asks what is wrong with a draft, asks for an editorial or quality review, asks whether text is padded, vague, puffed up, unsourced or hollow, or asks whether writing "sounds like AI". Produces a fixed findings report where every finding carries a verbatim quote, a severity (HIGH for a fabricated fact, citation or API, MEDIUM for padding or filler that changes nothing if cut, LOW for stylistic tells) and a separate confidence (low, medium, high), plus the artifact from the structural test that produced it. This skill diagnoses only. It cannot write or edit files, it never rewrites the text it is judging, and it never states or implies who or what wrote the text. Hand its findings to slop-rewrite when the user wants repair.
/slop-rewriteRepair pass that consumes an existing slop-review findings report and fixes only what it lists. Use when someone asks to clean up, de-slop, tighten, fix or rewrite a draft, documentation page, report or agent output after a review has been produced, or asks to strip vendor residue and placeholder text. Cuts padding that failed the deletion test, replaces vacuous claims that failed the inversion test, resolves or removes vague attributions, and deletes vendor residue. It never invents a fact, name, number, date, quote or citation that is not already in the source. It never re-derives findings and never expands scope beyond the report. The deterministic scanners re-run after every fix and their exit codes, not the model's judgment, decide whether the pass is finished. It never states or implies who or what wrote the original.
/slop-verifyVerification pass for citations, links, package names and vendor residue. Use when someone asks whether the sources in a document are real, asks to check DOIs, ISBNs, arXiv IDs or URLs, asks whether a cited source actually supports the claim attached to it, asks to check that imported packages exist, or asks to strip vendor artifacts such as oaicite, cite spans, lenticular bracket citations, grok cards or utm_source tracking parameters. This is the only layer allowed to hard-fail, because existence and resolution are decidable. It runs the attribution test on every vague authority claim and resolves it to a named source or reports it unresolved. A real source attached to a claim it does not support is a HIGH finding, not a pass. It never states or implies who or what wrote the document.
Other plugins' skills for the same job