简体中文 · Try it at dislop.com · Guides · Rule Catalog · Awesome Anti-Slop · npm · PyPI · X (@dislop_ai) · Apache-2.0
Cutting AI slop is real productivity. dislop is a linter for AI slop. It catches AI-sounding text and template layouts in docs, web pages, and slides before you send them. Its rules come from vetted community projects and corpus findings, and the repo keeps a list of 90 related tools.
It comes in three parts:
- Markdown-only Skill: genre reference cards with zero scripts.
- Open-source CLI & editor plugins: offline checks across Markdown, HTML/CSS/JSX/SVG, PNG/JPEG/WebP/GIF, Word, PowerPoint, and PDF slides.
- Official Cloud MCP & Web Workbench (
https://dislop.com/mcp): multi-model review by genre without local setup.
Here is a short launch note straight from a model:
Certainly! Here is the launch note. It's worth noting that exports are a game-changer, finishing in up to 12 minutes for workspaces above 500,000 rows.
dislop check launch-note.md flags three things:
[ERROR] launch-note.md:1:1 chatbot-artifact "Certainly! Here is"
[WARNING] launch-note.md:1:37 en-throat-clearing-opener "It's worth noting that"
[INFO] launch-note.md:1:75 en-cliche-lexicon "game-changer"
If you rewrite it into a second-order AI slogan (This isn't just an upgrade — it's a new standard.), running dislop check catches that too. Clean it up into plain prose and dislop check exits 0.
It inspects Markdown, plain text, HTML/CSS/JSX/SVG, PNG/JPEG/WebP/GIF images, Word (.docx), PowerPoint (.pptx), and PDF slides (.pdf). The open-source CLI and local plugins run offline with zero uploads, bundling all 7 built-in packs (53 rules) and extended structural checks. Zero hits only means no known pattern matched—it does not prove deep content quality.
For hosted review, sign in at dislop.com or connect Official Cloud MCP (https://dislop.com/mcp): dislop_review returns structured issues and edit guidance for your local agent to revise in project context.
Quick start
One-line handoff to your Agent (evaluate, install, and run first check)
Paste this sentence into your coding or office agent (Claude Code, Codex, Cursor, OpenClaw, etc.) so it reads https://dislop.com/llms.txt, selects the right surface for your environment, configures it, and checks existing files:
Read https://dislop.com/llms.txt, evaluate which dislop setup fits my environment and project (Skill, offline CLI, or Cloud MCP), install and configure it, and run a first check on our files.
Node.js 20+ (npm, zero dependencies, all 7 packs bundled offline)
# 1. Check the current folder (exits 1 on core AI artifact errors; prints cliché warnings)
npx --yes dislop check .
# 2. Inspect a rule's check question and Before / Fallback / Clean examples
npx --yes dislop explain negation-pivot-frame
# 3. Check only lines changed against main and emit GitHub PR annotations
npx --yes dislop check --changed origin/main --format github
More CLI commands (deep checks, review, verify, personal style, Python)
# Deep inspection (auto-routed pack + scenario register + rhythm stats + Pocket ML + pattern banks, compact JSON)
npx --yes dislop check draft.md --pack auto --register argumentative --deep --profile --compact --json
# Multi-signal BYOK review, scenario-aware anti-degradation check, three-layer doctor, and offline voice card
npx --yes dislop review draft.md --register casual
npx --yes dislop verify --git HEAD draft.md --register casual
npx --yes dislop doctor
npx --yes dislop voice my-notes.md
# Python 3.10+ (PyPI, zero dependencies)
uvx dislop check quarterly-review.pptx
pip install dislop && dislop check .
Apply review suggestions
Open the Vim picker for a local draft, or save a JSON review and apply selected edits later.
dislop review draft.md --offline --interactive-apply
dislop review draft.md --offline --json > review.json
dislop apply --review-file review.json --source-file draft.md --include 2,5
Use the edit.id values in your report. To apply every available edit except one, use --all --exclude 3. In Vim, move with j/k or the arrow keys, accept with y, reject with n, and press Enter to write your choices. Press q to discard them. Items that need a source or a writer’s judgment appear as advice. Batch apply runs without Vim. Both commands apply edits to supported UTF-8 text files, including Markdown and HTML. If the file has changed since review, generate a fresh report.
AI artifacts vs. style warnings
Auto-rewriters often trade one AI cliché for another or flatten your voice into a generic template. Flat banned-word lists also cause false alarms on ordinary nouns (Delve debugger, wool tapestry).
dislop splits its 53 rules across 7 bundled packs into two layers:
- AI delivery artifacts (
packs/core/,severity: error, always on): Clear leftovers from AI generation—stray chatbot greetings (Certainly! Here is...,[oaicite:1]), unfilled[insert ...]/{{var}}/[TBD]placeholders, raw Markdown asterisks pasted unrendered into.docx/.pptx, and dead<a href="#">placeholder buttons. - Built-in scenario & vertical packs (
warning/info, advisory by default, 0 network downloads):business-brief,engineering-spec(PR diff parrots, shallow root causes, unowned action items),regulated-comms(unsubstantiated superlatives, unanchored"10x faster"multipliers),literary-essay,deck-and-ui, andexecutive-deck(process-only slide titles, 4+ consecutive identical slide skeletons). Each rule includes a check question, before / still sounds like AI / after examples, and automated hit/clean tests.
What it reads
Both the Node.js CLI (bin/dislop.mjs) and the Python CLI (src/dislop/) run with zero external runtime dependencies and pass the same conformance suite (tests/test_conformance.py).
| What you bring | Extensions | What dislop catches |
Known boundary |
|---|---|---|---|
| Drafts & docs | .md, .mdx, .txt |
AI artifacts + throat-clearing openers, "Not X, but Y" pivots, staccato slogan runs, bureaucratic padding, four-character triads, moralizing endings, unsourced claims, bold-lead bullet walls, em-dash overuse, half-width CJK punctuation |
Code blocks, inline code, URLs, blockquotes, and dislop-quote blocks are masked for style rules |
| Web pages, SVG & UI | .html, .css, .jsx, .tsx, .svg |
Dead <a href="#"> placeholder links, unexplained <button disabled>, purple-pink AI gradients (incl. SVG gradients), blur-3xl glow orbs, pulsing dots, emoji chrome, icon-tile grids, fake window dots, 01/02/03 kickers, pill soup, 3-level nested boxes, missing viewBox, overlapping <text>, orphaned <defs> |
Static per-file inspection; runtime DOM state still needs browser tests |
| Raster images | .png, .jpg, .jpeg, .webp, .gif |
Unstripped A1111/ComfyUI workflow prompt parameters (warning), C2PA/IPTC AI provenance tags (info, keeping required legal disclosures), and PNG/GIF dark-neon purple or plastic oversaturated palette heuristics |
Pixel heuristics require uncompressed 8-bit PNG (>= 64x64) or GIF frame 0 (>= 64x64); JPEG/WebP inspect metadata only |
| Word | .docx |
Joined <w:t> runs, raw Markdown asterisks pasted from chat, and prose slop rules (para N) |
Reports paragraph number rather than rendered page number |
| PowerPoint & PDF | .pptx, .pdf |
Slide order (p:sldIdLst), raw Markdown, landscape slide word-walls (> 120 words / > 280 Han chars), bullet caps (> 6), <a:normAutofit> shrink (< 80%), generic/process titles, layout monotony, multi-page raster-only PDFs, collapsed type scales (< 1.2x or < 9.5pt), purple RGB shadings |
Portrait PDFs exempt from slide rules; encrypted PDFs report [SKIP] honestly; not a generic PDF/X print preflight |
|
Offline browser workbench in action |
UI template slop audit before and after |
|
PowerPoint (.pptx) audit: raw markdown, word walls, autofit shrink, and process titles |
|
Guides, Rule Catalog & Awesome Anti-Slop
Beyond the CLI, this repository compiles into a full reference library at dislop.com:
- Rule Catalog (53 rules): Every built-in rule with its Deletion Test question, Before / Fallback / Clean examples, and one-line citation links for PR reviews.
- Practical Guides: What is AI slop · Remove AI slop from writing · Fix AI slop in web UI · Clean up PPTX & DOCX · Agent, CLI & CI setup · Linter vs. detector vs. skill.
- Awesome Anti-Slop (90 tools) (Chinese edition · Interactive web filter): Verified linters, writing skills, UI rules, PR policies, and papers (index.json · index.md).
- Submit a sample: Found a classic AI-slop phrase, template card, or messy slide? Submit a redacted sample so it can inform future fixtures.
Use it across agents, editors, and CI
| Surface | One-liner or 1-click install | What you get |
|---|---|---|
| Any AI chat | Paste: Read https://dislop.com/llms.txt and apply its anti-slop rules and checks before delivering my next draft. |
Zero install; reads the ~2.4 KB index, task guides (/tasks/*.md), or atomic rule cards (/rules/<id>.md) |
| Agent Skill (75+ hosts) | npx skills add dislop-ai/dislop |
Installs pure-Markdown skills/dislop/SKILL.md (+ 4 task-focused skills: deslop-docs, deslop-slides-docx, deslop-web-ui, deslop-verify; 0 scripts, 0 network calls) |
| Claude Code Plugin | /plugin marketplace add dislop-ai/dislop then /plugin install dislop@dislop-ai |
Bundles pure-doc Skill + Official Cloud MCP connection (~130 always-on tokens) |
| OpenAI Codex Plugin | codex plugin marketplace add dislop-ai/dislop then codex plugin add dislop@dislop-ai |
Ships native UI card metadata (openai.yaml) and $dislop trigger |
| Gemini CLI Extension | gemini extensions install https://github.com/dislop-ai/dislop |
Connects Official Cloud MCP https://dislop.com/mcp via gemini-extension.json |
| Official MCP Registry | Search io.github.dislop-ai/dislop on registry.modelcontextprotocol.io |
Lists the Official Cloud MCP endpoint https://dislop.com/mcp (Streamable HTTP) |
| VS Code / Cursor 1-Click MCP | Install in VS Code (Cloud MCP) · Install in Cursor (Cloud MCP) | Opens the editor's native confirmation dialog without manual JSON edits |
GitHub Action / pre-commit |
Reference uses: dislop-ai/dislop@main (action.yml and .pre-commit-hooks.yaml) |
Gates modified lines in PRs with inline annotations or SARIF 2.1.0 |
Agent + CI closed loop: Skill before drafting, diff gate before commit, verify after edits
Connect Official Cloud MCP (Claude Code, Codex, Cursor, WorkBuddy, Claude Cowork)
{
"mcpServers": {
"dislop": {
"type": "http",
"url": "https://dislop.com/mcp",
"headers": {
"Authorization": "Bearer dslp_your_token_here"
}
}
}
}
Official Cloud MCP (https://dislop.com/mcp, auto-discovery card at https://dislop.com/.well-known/mcp/server-card.json) exposes dislop_check, dislop_verify, and dislop_rules at 0 credits without login. Signing in via OAuth 2.1 or claiming a free Bearer key at dislop.com unlocks 30 monthly credits for dislop_review (1 credit), dislop_deslop (2 credits), dislop_office (2–3 credits for .docx/.pptx), dislop_visual_review (2 credits), and dislop_voice_extract (2 credits).
Configure it, or overrule it
Settings load in order from ~/.config/dislop/config.json (plus optional personal style card voice.json), project .dislop.json, and Git-ignored .dislop.local.json. Run dislop init to create .dislop.json:
{
"failOn": "error",
"ignore": ["vendor/**", "dist/**"],
"overrides": [
{ "files": ["docs/**/*.md"], "pack": "business-brief" },
{ "files": ["essays/**/*.md"], "pack": "literary-essay" },
{ "files": ["site/**/*.{html,css,svg}"], "pack": "deck-and-ui" }
],
"allow": ["Delve", "Bayeux Tapestry"],
"rules": {
"bold-lead-list-wall": "info"
}
}
For a narrow one-off exception, add a reason above the line (--report-unused flags stale comments):
<!-- dislop-ignore-next-line en-cliche-lexicon -- quoting vendor press release verbatim -->
Install once locally (true air-gapped / fast hooks)
# Node.js 20+ (published on npm, < 250 KB tarball, zero network after install)
npm install -g dislop
dislop check .
# Or Python 3.10+ (published on PyPI, zero external dependencies)
pip install dislop
dislop check .
Open-Source Local (Skill + CLI) vs. Official Cloud (dislop.com/mcp)
- Open Source (
dislop-ai/dislop, Apache-2.0): Pure-MarkdownSKILL.md+ local./references/*.md(no bundled scripts), zero-dependency Node/Python CLI (check,patterns,voice,explain,packs,catalog,resources), all 7 built-in packs (53rules) + 65-pattern catalog (patterns/), bundled14.6 KBgzip (49.0 KBraw) Pocket ML ensemble (models/pocket-slop-v1.json,< 0.5 ms,100.0%F1 /0.0%Clean FPR onstealth-vapor-v1),Awesome Anti-Slop, anddislop-bench v2+visual-design-v1.check/patterns/voicemake0network calls so private drafts never leave your machine (existing--mcpand optional local-model modules stay in-repo during real-world evaluation). - Official Cloud MCP & Web Workbench (
https://dislop.com/mcp,https://dislop.com/#pricing): Closed-source hosted backend calling paid-tier Google Gemini endpoints that do not train on your text (no draft storage or text logging; see privacy.md). Deterministicdislop_check,dislop_verify, anddislop_rulesrun at 0 credits without login; OAuth 2.1 or a free key unlocks 30 monthly credits fordislop_review(1 credit),dislop_deslop(2 credits),dislop_office(2–3 credits),dislop_visual_review(2 credits), anddislop_voice_extract(2 credits,dislop.voice/1), with early-access waitlists for Pro ($12/mo, 1,500 credits), PAYGO ($10 / 800 credits), and Team ($29/seat/mo).
Anti-slop benchmark (dislop-bench v2)
Run the full offline benchmark (112 cross-modality detection samples across Node & Python + 18 end-to-end writing and design tasks comparing raw AI, naive humanizers, and dislop-guided revisions):
node scripts/run_benchmark.mjs --assert
Latest baseline on our own benchmark (benchmarks/REPORT.md and benchmarks/PATTERN-BENCHMARK.md):
- Core Detection (
Suite A, 112 samples = 48 v1 + 16holdout-v1+ 48text-hard-v2): Precision100.0%· Recall100.0%· Clean FPR0.0%· Adversarial Near-Miss FPR0.0%· 2nd-Order Trap Recall100.0%· Node/Python Rule & Statistical Profile Parity100.0%. - Multi-Angle Pattern Benchmark (
154samples = 48 + 16 + 62pattern-challenge-v2+ 28holdout-v2): Precision100.0%· Recall100.0%· F1100.0%· Clean FPR0.0%· Node/Python Parity100.0%. - Bundled Pocket ML (
stealth-vapor-v1, 24 paired samples; 36 blind eval with holdouts):14.6 KBgzip (49.0 KBraw),< 0.5 ms,100.0%F1,0.0%Clean FPR. - End-to-End Revision (
Suite B, 18 tasks = 12revision-v1+ 6revision-hard-v2, weightsD1=45 / D2=20 / D3=25 / D4=10):raw_ai60.8 / 100 →naive_humanizer70.8 / 100 (doubles 3rd-order slop and drops or invents numbers) → reference edits written todislop's rules 100.0 / 100 (18/18all-clear). - Live 5-model comparison (benchmarks/MODEL-COMPARISON.md): Across
Gemini 3.1/3.5 Flash-Lite,Gemini 3.5/3.8 Flash, andQwen 3.8 Flash, bare prompts averaged76.0–84.2 / 100(2/10–4/10all-clear on the 10-taskrevision-v1live subset), while thedislopre-checked cloud pipeline lifted every model by +15.8 to +22.3 points (97.0–100.0 / 100,8/10–10/10all-clear;Gemini 3.1 Flash-Litereached98.5 / 100in1.2sat~$0.09 / 1k calls).
See benchmarks/README.md to score your own model, Skill, or cloud endpoint (--eval) or export randomized blind human A/B review sheets (--export-blind-sheet).
dislop checks dislop
GitHub Actions CI runs dislop pack-test (164 fixture assertions in both Node and Python), 26 Python unittest conformance and engine tests across 4 modules (test_conformance, test_engine, test_pattern_library, test_pocket_and_local_models), pattern catalog checks (node scripts/pattern_lab.mjs verify and assert), and site checks (tests/test_site.mjs). It also runs dislop check . --fail-on warning across this repository's docs, awesome/, and site/.
Docs & layout
- Product Brief · Brand & Voice Guide (zh-CN)
- Architecture (zh-CN) · Design System (zh-CN)
- Roadmap (zh-CN) · Releasing · Contributing · Research Index · Changelog
dislop/
├── .agents/plugins/ # OpenAI Codex marketplace manifest (marketplace.json)
├── .claude-plugin/ # Claude Code plugin & marketplace manifests (pure-doc Skill + Official Cloud MCP)
├── .codex-plugin/ # OpenAI Codex native plugin manifest & UI card metadata
├── plugin.json # Agent Plugins 1.0 portable manifest (paired with root mcp.json)
├── gemini-extension.json # Gemini CLI Extension Gallery manifest
├── server.json # Official MCP Registry manifest (Official Cloud HTTP MCP)
├── action.yml # Reusable GitHub Marketplace incremental check Action
├── awesome/ # Awesome Anti-Slop (README.md & README.zh-CN.md, 90 entries)
├── benchmarks/ # Offline anti-slop benchmark datasets (CC0-1.0) & reproducible reports
├── bin/ # Node.js CLI (dislop.mjs) and compatibility launcher (dislop-mcp.mjs)
├── src/
│ ├── core.mjs # Zero-dep ES module shared by Node CLI, MCP, and browser workbench
│ ├── pattern-engine.mjs # Multi-angle 12-probe extended pattern-bank scanner
│ ├── pocket-model.mjs# Bundled 14.6 KB gzip zero-dep Pocket ML ensemble & domain pack router
│ ├── local-model.mjs# Hardware-aware optional local small-model advisor (Node.js)
│ ├── binary-node.mjs# Zero-dep ZIP, PNG/JPEG/WebP/GIF, and PDF reader for Node.js
│ └── dislop/ # Zero-dep Python 3.10+ engine, pattern scanner, local-model advisor, CLI, and MCP
├── packs/ # Declarative dislop.pack/2 manifests (7 built-in packs, 53 rules, 214 fixtures)
├── patterns/ # Structured 65-pattern anti-slop catalog across 6 dimensions & 7 angles
├── skills/dislop/ # Cross-host Agent Skill (SKILL.md + local ./references/ + openai.yaml)
├── tests/ # 26 Python unittest tests, Node/Python conformance, and site tests
├── scripts/ # Manifest lockstep sync (sync_manifests.mjs), site compiler & benchmarks
├── site/ # Compiled dislop.com workbench, /awesome/, and /llms.txt pages
├── assets/ # Logo mark, light/dark banners, and 1200x630 social preview card
└── docs/ # Brand guide, architecture, design system, roadmap, and research
License
Metadata
Release files for dislop 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dislop-0.9.0.tar.gz | 350.2 kB | With provenance | Details for dislop-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dislop-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for dislop-0.9.0-py3-none-any.whl |
Total release size: 671.5 kB
Release files / dislop-0.9.0.tar.gz
| Download URL | dislop-0.9.0.tar.gz |
|---|---|
| Size | 350.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
59e326cc9ae26c4ceb14e3e2d582c3a3375cb30aa7dc277cb9aa7473d5bd9d3d
|
|
BLAKE2b-256 checksum How to use checksums |
a1fa994a18ab83f9475c78d9e96b526601ed953e0c7e49371d37d9a0daf76c71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logRelease files / dislop-0.9.0-py3-none-any.whl
| Download URL | dislop-0.9.0-py3-none-any.whl |
|---|---|
| Size | 321.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed0b381fb72eef430aa3c2ad64ea395f55d9ba56af8d707a4feb5a140b1356b6
|
|
BLAKE2b-256 checksum How to use checksums |
5480e78b92ff79cc5189913d4b18745dfbfa5fa0f4e27d24a5268d701afc576d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logSecurity for dislop 0.9.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for dislop-0.9.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.