/anti-slop:slop-rewritefrom anti-slop
Repairs defects listed in a slop-review findings report: cuts padding, replaces vacuous claims, removes vendor residue. Never invents facts or re-derives findings. Use after a review.
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 this skill and hold even when the user asks for the opposite.
scan_residue.py and
scan_placeholders.py after every write. If the hook cannot run, you run
them yourself and quote the exit codes.Consume findings. Never re-derive them. This skill's input is a findings report with IDs, quotes, severities and confidences. Fix what is listed. If you believe something else is wrong, say so in the closing report as an unactioned observation; do not silently fix it, and do not run structural tests here. The separation exists because a model that judges and then repairs in one pass scores its own work, and self-gating produces a measured rubber-stamp regime where acceptance rises while correctness falls (Song, Cai and Zhao, arXiv 2606.28438, 2026-06-26).
If no findings report exists, stop and get one. Run slop-review first, or
ask the user for their defect list. Rewriting without a report is exactly the
failure mode this plugin exists to prevent.
Never invent a fact. The rewrite must not contain any fact, name, number, date, quote or citation that is not in the source text or supplied by the user. Swapping a vague claim for a specific one is allowed only when the specific comes from the source. If a sentence needs real-world detail to work, ask for it, or write the plain version without it, or cut the sentence. An unsupported claim gets cut, not decorated.
Preserve the information, not the shape. Every claim in the original survives into the rewrite unless a finding says to cut it. Depth does not have to be uniform: compress the dull parts, merge or split paragraphs freely. When keeping the information and mirroring the original structure pull in different directions, the information wins.
Fix the defect, not the sign. Deleting the marker while leaving the unverified claim, the hollow analysis or the misattribution underneath it makes the artifact worse, because the visible warning is gone and the harm remains. Wikipedia's own guidance on its sign list says the patterns are potential signs of a problem rather than the problem itself, and that treating them as the thing to be fixed can just make the underlying problem harder to see.
Do not mechanically strip hedges, qualifiers or "filler". Wikipedia's observed human-writing signals include "in order to", "as a result of", "the fact that", "very", "perhaps", "tends to" and plain superlatives. Removing them converges the text toward the generated register instead of away from it. Only cut a hedge when a finding says the hedged claim is vacuous, and then cut the claim, not just the hedge.
Assume a rewrite can make things worse, because the measurement says it often does. Across commercial humanizers, the best tier wins a fluency comparison against the original only 26.0% of the time, and the paper's own conclusion is that all humanizers tend to degrade the quality of the original text (DAMAGE, Masrour, Emi and Spero, GenAIDetect at COLING 2025, arXiv 2501.03437). Documented failure modes include hallucinated citations and comment leakage. Change less than you want to.
Never write U+2014 (em dash) or U+2013 (en dash). Replace each one, in rough order of preference: a period, a comma, a colon, parentheses, or restructure the sentence. Also catch spaced double hyphens used the same way. If the user supplies a writing sample that uses dashes, tell them the house rule blocks it and ask before making an exception; do not decide unilaterally.
Match the author, do not upgrade them. If a writing sample or prior work by the same author is available, match its sentence lengths, vocabulary level, paragraph openings and recurring phrases. Do not regularize deliberate quirks and do not replace casual words with formal ones.
| Finding type | Repair |
|---|---|
| HIGH, fabricated citation | Remove the citation and the claim it supports, or replace with a source the user supplies. Never substitute a different citation you believe is correct. |
| HIGH, fabricated fact or API | Cut it. Flag the gap in the closing report. Do not guess a replacement. |
| HIGH, vendor residue or placeholder | Delete the residue string. Then check whether the surrounding sentence still says anything; residue often marks a spot where a real citation was supposed to go. |
| MEDIUM, deletion-test padding | Cut the span. Do not replace it with a shorter version of the same nothing. |
| MEDIUM, inversion-test vacuity | Replace with the specific claim the source supports, or cut. |
| MEDIUM, stranger-test genericity | Insert the specific fact named in the finding's artifact, if and only if that fact is in the source. Otherwise cut. |
| LOW, stylistic | Fix only if the user asked for a style pass. LOW findings with confidence "low" are not actioned without the user saying so. |
After the rewrite, output this and nothing more elaborate.
## Repaired
- F-001 HIGH fabricated citation: removed the citation and the sentence.
- F-002 MEDIUM padding: cut 1 sentence, 24 words.
## Not repaired, and why
- F-005 LOW copula avoidance: confidence low, no style pass requested.
## Layer 0 re-run after the rewrite
| Scanner | Exit | Finding |
|---|---|---|
| scan_residue.py | 0 | clean |
| scan_placeholders.py | 0 | clean |
| lint_voice.py | 0 | clean |
| scan_refs.py | not run | no network |
## Unactioned observations
- <anything you noticed but did not fix, stated as an observation, with no
severity and no rewrite attached>
## Net change
Words: 1,240 to 1,090. Claims removed: 2 (both unsupported). Claims added: 0.
"Claims added" must be zero. If it is not zero, you invented something. Go back and remove it.
../../references/false-positives.md before actioning any LOW finding.../../references/structural-tests.md if a finding's artifact is
missing or unclear and you need to know what the reviewer should have
produced, then send it back rather than filling the gap yourself.../../references/markers-tier1.md only to understand what a finding
refers to, never to generate new findings here.../../references/code-markers.md and hand the work to slop-code if
the artifact contains source code.What SKILL.md sets; muted values are Claude Code's defaults
A slop-review findings report (or equivalent explicit defect list) already exists and the user wants the defects repaired in place.
Write|Editshnpx claudepluginhub agricidaniel/anti-slop --plugin anti-slop5 skills in this plugin
/anti-slopRouter for the anti-slop toolkit. Use when someone asks to review, clean, de-slop, humanize, or quality-check prose, documentation, code, commit messages, PR descriptions, or agent output, or asks whether some writing "sounds like AI". Also use for verifying citations, DOIs, links and imported package names, for stripping vendor residue markers such as oaicite or cite spans, and for auditing padding, filler, puffery, vague attribution and hollow analysis. Explains the three layers (deterministic scanners, structural procedures, evidence-tiered soft signals) and picks the right leaf skill: slop-review for read-only findings, slop-rewrite for repair, slop-code for code and docs, slop-verify for citations, links and packages. Never produces an authorship verdict and never treats a stylistic marker as proof of anything. Use this hub only when the surface or the operation is unclear; otherwise invoke the leaf skill directly.
/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-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