dislop 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,15 +5,15 @@
5
5
  "url": "https://github.com/dislop-ai"
6
6
  },
7
7
  "metadata": {
8
- "description": "Official dislop plugin marketplace: anti-slop Agent Skill and local stdio MCP linter.",
9
- "version": "0.6.0"
8
+ "description": "Official dislop plugin marketplace: pure-doc Agent Skill and Official Cloud MCP.",
9
+ "version": "0.7.0"
10
10
  },
11
11
  "plugins": [
12
12
  {
13
13
  "name": "dislop",
14
14
  "source": "./",
15
- "description": "Zero-dependency anti-slop Skill, CLI, and MCP linter for AI-written docs, Word/PowerPoint decks, and web pages (7 built-in packs, 42 rules, 53 patterns, and bundled 15 KB Pocket ML).",
16
- "version": "0.6.0",
15
+ "description": "Linter for AI Slop. Combines vetted community rules (7 packs, 42 rules, 53 patterns) across pure-doc Skill, local offline CLI, and Official Cloud MCP.",
16
+ "version": "0.7.0",
17
17
  "author": {
18
18
  "name": "dislop-ai",
19
19
  "url": "https://dislop.com"
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "dislop",
3
- "version": "0.6.0",
4
- "description": "Zero-dependency anti-slop Skill, CLI, and MCP linter for AI-written docs, Word/PowerPoint decks, and web pages (7 built-in packs, 42 rules, 53 patterns, and bundled 15 KB Pocket ML).",
3
+ "version": "0.7.0",
4
+ "description": "Linter for AI Slop. Combines vetted community rules (7 packs, 42 rules, 53 patterns) across pure-doc Skill, local offline CLI, and Official Cloud MCP.",
5
5
  "author": {
6
6
  "name": "dislop-ai",
7
7
  "url": "https://dislop.com"
8
8
  },
9
9
  "homepage": "https://dislop.com",
10
+ "privacyPolicyUrl": "https://dislop.com/privacy.md",
10
11
  "repository": "https://github.com/dislop-ai/dislop",
11
12
  "license": "Apache-2.0",
12
13
  "keywords": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dislop",
3
- "version": "0.6.0",
4
- "description": "Zero-dependency anti-slop Skill, CLI, and MCP linter for AI-written docs, Word/PowerPoint decks, and web pages (7 built-in packs, 42 rules, 53 patterns, and bundled 15 KB Pocket ML).",
3
+ "version": "0.7.0",
4
+ "description": "Linter for AI Slop. Combines vetted community rules (7 packs, 42 rules, 53 patterns) across pure-doc Skill, local offline CLI, and Official Cloud MCP.",
5
5
  "author": {
6
6
  "name": "dislop-ai",
7
7
  "url": "https://dislop.com"
@@ -25,8 +25,8 @@
25
25
  "mcpServers": "./.mcp.json",
26
26
  "interface": {
27
27
  "displayName": "dislop",
28
- "shortDescription": "Catch AI slop before shipping",
29
- "longDescription": "Zero-dependency anti-slop Skill, CLI, and MCP linter for AI-written docs, Word/PowerPoint decks, and web pages (7 built-in packs, 42 rules, 53 patterns, and bundled 15 KB Pocket ML).",
28
+ "shortDescription": "Linter for AI Slop",
29
+ "longDescription": "Linter for AI Slop. Combines vetted community rules (7 packs, 42 rules, 53 patterns) across pure-doc Skill, local offline CLI, and Official Cloud MCP.",
30
30
  "developerName": "dislop-ai",
31
31
  "category": "Productivity",
32
32
  "capabilities": [
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "dislop",
3
+ "version": "0.7.0",
4
+ "description": "Linter for AI Slop. Combines vetted community rules (7 packs, 42 rules, 53 patterns) across pure-doc Skill, local offline CLI, and Official Cloud MCP.",
5
+ "author": {
6
+ "name": "dislop-ai",
7
+ "url": "https://dislop.com"
8
+ },
9
+ "homepage": "https://dislop.com",
10
+ "repository": "https://github.com/dislop-ai/dislop",
11
+ "license": "Apache-2.0",
12
+ "keywords": [
13
+ "anti-slop",
14
+ "de-slop",
15
+ "ai-slop",
16
+ "writing",
17
+ "linter",
18
+ "proofreading",
19
+ "mcp",
20
+ "agent-skill",
21
+ "docx",
22
+ "pptx"
23
+ ],
24
+ "logo": "./assets/logo.svg",
25
+ "skills": "./skills/",
26
+ "mcpServers": "./.mcp.json"
27
+ }
package/.mcp.json CHANGED
@@ -1,12 +1,8 @@
1
1
  {
2
2
  "mcpServers": {
3
3
  "dislop": {
4
- "command": "npx",
5
- "args": [
6
- "--yes",
7
- "dislop@0.6.0",
8
- "--mcp"
9
- ]
4
+ "type": "http",
5
+ "url": "https://dislop.com/mcp"
10
6
  }
11
7
  }
12
8
  }
package/PRODUCT.md ADDED
@@ -0,0 +1,49 @@
1
+ # dislop 产品定义(Product Brief)
2
+
3
+ 官网、`README`、插件描述与对外触达文案均从本文件派生。表达细则见 [docs/brand-and-voice-guide.zh-CN.md](./docs/brand-and-voice-guide.zh-CN.md)。
4
+
5
+ ---
6
+
7
+ ## 中文
8
+
9
+ ### 定位
10
+ **AI 味检查工具。** 帮你(的 Agent)在文档、网页和 PPT 发出前,挑出并改掉里面的 AI 味。
11
+
12
+ ### 用户
13
+ 第一批是 Coding Agent 用户,第二批是办公 Agent 用户,最后是所有用 AI 交付成果的人。
14
+
15
+ ### 产品形态
16
+ 1. **Skill(开源,纯文档)**:按文体整理的写作与界面避坑参考卡,不带可执行脚本。Agent 动笔前按需读取,写完后可调用 CLI 自检。
17
+ 2. **CLI 与本地插件(开源,本地运行)**:零依赖本地检查工具,快速标出文档、网页和 Word/PPT 里的 AI 残留硬伤与常见套话,适合终端、编辑器、Git 钩子与 CI。开发者也可以配自有模型密钥做深度审校。
18
+ 3. **官方 MCP 与网页工作台(云端服务)**:不用配本地环境,登录就能在办公或编码 Agent 里接入远程 MCP,或者直接在网页工作台使用。云端按文体做多模型深度审校,返回具体问题和改法建议,交给你的 Agent 结合本地上下文去改,也支持保留原排版的 Word/PPT 处理。
19
+
20
+ ### 卖点
21
+ 1. **集成社区优质成果**:整合经过核验的开源去味项目、语料经验与工具清单,覆盖文稿、网页和 Word/PPT,不用自己到处搜集拼凑。
22
+ 2. **多端与多场景兼容**:内置研发、商务、前端与演示等场景包,提供 Skill、Plugin、CLI 与官方 MCP,快速接入主流 Agent 和编辑器。
23
+ 3. **本地离线保护隐私**:CLI 与本地插件支持纯本地运行、零上传,私密文稿与代码不出本机。
24
+
25
+ ### 一句话介绍
26
+ 专用的 AI 味检查工具。整合社区验证过的去味规则与经验,帮你和你的 Agent 发现并改掉文档、网页和 PPT 里的 AI 味。一行命令接入主流 Agent 与编辑器,可纯本地离线运行。
27
+
28
+ ---
29
+
30
+ ## English
31
+
32
+ ### Positioning
33
+ **Linter for AI Slop.** Helps you (and your agent) catch and fix AI-sounding text and template layouts in docs, web pages, and slides before sending.
34
+
35
+ ### Users
36
+ First coding agent users, then office agent users, and finally everyone who delivers work with AI.
37
+
38
+ ### Product Form
39
+ 1. **Skill (open-source, Markdown only)**: Genre-specific writing and UI reference cards with no bundled scripts. Your agent reads the matching card before drafting and can run the CLI afterward to check its work.
40
+ 2. **CLI & Local Plugins (open-source, local)**: Zero-dependency local checker that flags AI leftovers and stock templates across docs, web UI, Word, and PowerPoint in terminals, editors, Git hooks, and CI. Developers can also plug in their own model API key for deeper review.
41
+ 3. **Official MCP & Web Workbench (cloud service)**: Sign in to connect office or coding agents to the remote MCP with no local setup, or use the web workbench directly. The cloud service runs multi-model review by genre, returns structured issues and edit guidance for your local agent to apply in context, and handles Word and PowerPoint files while keeping their layout.
42
+
43
+ ### Selling Points
44
+ 1. **Curated community work**: Combines vetted open-source rules, corpus findings, and an indexed tool directory across docs, web UI, Word, and PowerPoint, without hunting down scattered prompts.
45
+ 2. **Broad host and scenario fit**: Ships domain packs for engineering, business, UI, and decks across Skill, Plugin, CLI, and Cloud MCP, connecting to major agents and editors in seconds.
46
+ 3. **Local, offline, private**: The CLI and local plugins run on your machine with zero uploads, keeping private drafts and source code local.
47
+
48
+ ### One-Sentence Pitch
49
+ A dedicated linter for AI slop. It brings together vetted community rules and practices to help your agent find and fix AI slop in docs, web UI, and slides. Connects to major agents and editors in one command and can run completely offline.
package/README.md CHANGED
@@ -8,6 +8,7 @@
8
8
  <p align="center">
9
9
  <a href="./README.zh-CN.md">简体中文</a> ·
10
10
  <a href="https://dislop.com/?lang=en">Try it at dislop.com</a> ·
11
+ <a href="https://www.npmjs.com/package/dislop">npm</a> ·
11
12
  <a href="https://pypi.org/project/dislop/">PyPI</a> ·
12
13
  <a href="./awesome/README.md">Awesome Anti-Slop</a> ·
13
14
  <a href="./ROADMAP.md">Roadmap</a> ·
@@ -15,7 +16,7 @@
15
16
  <a href="./LICENSE">Apache-2.0</a>
16
17
  </p>
17
18
 
18
- `dislop` gathers proven anti-slop writing habits, web and slide design rules, an offline zero-dependency checker, and 87 vetted tools in one repository. You and your AI agent can clear AI slop before shipping docs, Word or PowerPoint files, or web pages.
19
+ `dislop` is a dedicated **Linter for AI Slop**. It combines vetted community anti-slop rules, corpus findings, and 87 curated tools so you (and your agent) can catch and fix AI-sounding text and template layouts before sharing docs, web pages, or slides. It ships in three clean layers: a **pure-Markdown Skill** (genre reference cards with zero scripts), an **open-source local CLI & editor plugins** (zero-dependency offline checking across docs, web UI, Word, and PowerPoint), and **Official Cloud MCP & Web Workbench** (`https://dislop.com/mcp`, zero-setup genre-aware multi-model review and layout-preserving Office handling).
19
20
 
20
21
  Here is a short launch note straight from a model:
21
22
 
@@ -33,28 +34,29 @@ Certainly! Here is the launch note. It's worth noting that exports are a game-ch
33
34
 
34
35
  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`.
35
36
 
36
- That's it. It reads Markdown, plain text, HTML/CSS/JSX, Word (`.docx`), and PowerPoint (`.pptx`). The browser workbench at [dislop.com](https://dislop.com/?lang=en) and the Node.js, Python, and local stdio MCP runtimes all run the same **7 built-in packs (`42` rules)**, 5-axis rhythm telemetry, and offline voice extraction 100% locally with zero uploads; the CLI and local MCP also add extended pattern-bank probes (`--patterns`), the bundled `14.6 KB` Pocket ML ensemble (`--ml`), and hardware-aware optional local model setup (`dislop model`). When you want zero-local-setup connectors or one-click self-healing LLM rewriting, the optional hosted cloud MCP (`https://dislop.com/mcp`) is one click away.
37
+ <p align="center">
38
+ <img src="./assets/demos/proof-cycle-en-v1.gif" alt="dislop checking a launch note across 3 states: flagging chatbot artifact and filler, catching a second-order slogan, and passing with exit 0" width="840">
39
+ </p>
40
+
41
+ That's it. It inspects Markdown, plain text, HTML/CSS/JSX, Word (`.docx`), and PowerPoint (`.pptx`). The open-source CLI and local plugins run completely offline with zero uploads, bundling all **7 built-in packs (`42` rules)**, 5-axis rhythm telemetry, extended pattern probes (`--patterns`), and the `14.6 KB` Pocket ML scorer (`--ml`). Zero offline hits only means no known surface or structural pattern matched—it does not prove deep content quality. Sign in at [dislop.com](https://dislop.com/?lang=en) or connect Official Cloud MCP (`https://dislop.com/mcp`) for multi-model genre-aware review (`dislop_review` returns structured issues and edit guidance for your local agent to revise in project context).
37
42
 
38
43
  ## Quick start
39
44
 
40
- ### Node.js 20+ (zero dependencies, all 7 packs bundled offline)
45
+ ### Node.js 20+ (published on npm, zero dependencies, all 7 packs bundled offline)
41
46
 
42
47
  ```bash
43
48
  # Check the current folder (exits 1 on core AI artifact errors; prints cliché warnings)
44
- npx --yes github:dislop-ai/dislop check .
49
+ npx --yes dislop check .
45
50
 
46
51
  # Auto-route domain pack and enable 5-axis telemetry, 14.6 KB Pocket ML, and extended pattern probes
47
- npx --yes github:dislop-ai/dislop check draft.md --pack auto --profile --ml --patterns
52
+ npx --yes dislop check draft.md --pack auto --profile --ml --patterns
48
53
 
49
- # Extract a deterministic personal voice profile offline or inspect hardware for optional local models
50
- npx --yes github:dislop-ai/dislop voice my-notes.md
51
- npx --yes github:dislop-ai/dislop model
54
+ # Extract a deterministic personal voice profile offline or inspect a rule's examples
55
+ npx --yes dislop voice my-notes.md
56
+ npx --yes dislop explain negation-pivot-frame
52
57
 
53
58
  # Check only lines changed against main and emit GitHub PR annotations
54
- npx --yes github:dislop-ai/dislop check --changed origin/main --format github
55
-
56
- # Explain a rule's check question and before / overcorrected / after examples
57
- npx --yes github:dislop-ai/dislop explain negation-pivot-frame
59
+ npx --yes dislop check --changed origin/main --format github
58
60
  ```
59
61
 
60
62
  ### Python 3.10+ (published on PyPI, zero dependencies)
@@ -65,6 +67,10 @@ uvx dislop check quarterly-review.pptx
65
67
  pip install dislop && dislop check .
66
68
  ```
67
69
 
70
+ <p align="center">
71
+ <img src="./assets/demos/cli-check-en-v1.gif" alt="dislop CLI offline check failing with exit code 1 on draft and passing with exit code 0 after cleanup" width="840">
72
+ </p>
73
+
68
74
  ## AI artifacts vs. style warnings
69
75
 
70
76
  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`).
@@ -85,6 +91,19 @@ Both the Node.js CLI (`bin/dislop.mjs`) and the Python CLI (`src/dislop/`) run w
85
91
  | 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 |
86
92
  | PowerPoint | `.pptx` | Presentation slide order (`p:sldIdLst`), joined `<a:t>` runs, raw Markdown, slide word-walls (`> 120` words / `> 280` Han chars), bullet caps (`> 6`), `<a:normAutofit>` shrink (`< 80%`), generic titles (`Overview`, `Background`), layout monotony, and prose rules | Hidden slides (`show="0"`) are reported as `[SKIP]` for density checks |
87
93
 
94
+ <table>
95
+ <tr>
96
+ <td width="50%" align="center">
97
+ <img src="./assets/demos/workbench-live-en-v1.gif" alt="dislop.com offline browser workbench checking original draft, 2nd-order slop, and clean copy" width="100%"><br>
98
+ <sub>Offline browser workbench in action</sub>
99
+ </td>
100
+ <td width="50%" align="center">
101
+ <img src="./assets/demos/ui-slop-en-v1.gif" alt="Auditing AI gradient, pill wall, and dead href='#' control before switching to clean 1px galley card" width="100%"><br>
102
+ <sub>UI template slop audit before and after</sub>
103
+ </td>
104
+ </tr>
105
+ </table>
106
+
88
107
  ## Awesome Anti-Slop
89
108
 
90
109
  Looking for other tools, style guides, design rules, PR policies, and papers in this space? Browse **[awesome/README.md](./awesome/README.md)** ([Chinese edition](./awesome/README.zh-CN.md)) or filter all 87 checked entries offline at **[dislop.com/awesome/](https://dislop.com/awesome/?lang=en)** (machine-readable [index.json](https://dislop.com/awesome/index.json) and [index.md](https://dislop.com/awesome/index.md)).
@@ -94,27 +113,31 @@ Looking for other tools, style guides, design rules, PR policies, and papers in
94
113
  | Surface | One-liner or 1-click install | What you get |
95
114
  |---|---|---|
96
115
  | **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`) |
97
- | **Agent Skill (75+ hosts)** | `npx skills add dislop-ai/dislop` | Installs [skills/dislop/SKILL.md](./skills/dislop/SKILL.md) + 4 local reference cards in Claude Code, Codex, Cursor, Windsurf, Antigravity, and OpenCode (`0` network calls) |
98
- | **Claude Code Plugin** | `/plugin marketplace add dislop-ai/dislop` then `/plugin install dislop@dislop-ai` | Bundles Skill + local stdio MCP (`~130` always-on tokens) |
116
+ | **Agent Skill (75+ hosts)** | `npx skills add dislop-ai/dislop` | Installs pure-Markdown [skills/dislop/SKILL.md](./skills/dislop/SKILL.md) + 4 local reference cards (`0` bundled scripts, `0` network calls); guides local CLI checks when a shell exists |
117
+ | **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) |
99
118
  | **OpenAI Codex Plugin** | `codex plugin marketplace add dislop-ai/dislop` then `codex plugin add dislop@dislop-ai` | Ships native UI card metadata ([openai.yaml](./skills/dislop/agents/openai.yaml)) and `$dislop` trigger |
100
- | **Gemini CLI Extension** | `gemini extensions install https://github.com/dislop-ai/dislop` | Mounts local `bin/dislop-mcp.mjs` directly via [gemini-extension.json](./gemini-extension.json) |
101
- | **VS Code / Cursor 1-Click MCP** | [Install in VS Code (Local Offline)](https://vscode.dev/redirect/mcp/install?name=dislop&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22--yes%22%2C%22github%3Adislop-ai%2Fdislop%22%2C%22--mcp%22%5D%7D) · [Install in VS Code (Cloud)](https://vscode.dev/redirect/mcp/install?name=dislop-cloud&config=%7B%22url%22%3A%22https%3A%2F%2Fdislop.com%2Fmcp%22%7D) · [Install in Cursor (Local)](cursor://anysphere.cursor-deeplink/mcp/install?name=dislop&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyItLXllcyIsImdpdGh1YjpkaXNsb3AtYWkvZGlzbG9wIiwiLS1tY3AiXX0=) | Opens the editor's native confirmation dialog without manual JSON edits |
119
+ | **Gemini CLI Extension** | `gemini extensions install https://github.com/dislop-ai/dislop` | Connects Official Cloud MCP `https://dislop.com/mcp` via [gemini-extension.json](./gemini-extension.json) |
120
+ | **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) |
121
+ | **VS Code / Cursor 1-Click MCP** | [Install in VS Code (Cloud MCP)](https://vscode.dev/redirect/mcp/install?name=dislop&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fdislop.com%2Fmcp%22%7D) · [Install in Cursor (Cloud MCP)](cursor://anysphere.cursor-deeplink/mcp/install?name=dislop&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vZGlzbG9wLmNvbS9tY3AifQ==) | Opens the editor's native confirmation dialog without manual JSON edits |
102
122
  | **GitHub Action / `pre-commit`** | Reference `uses: dislop-ai/dislop@main` ([action.yml](./action.yml) and [.pre-commit-hooks.yaml](./.pre-commit-hooks.yaml)) | Gates modified lines in PRs with inline annotations or SARIF 2.1.0 |
103
123
 
104
- ### Manual MCP config (`Claude Code`, `Codex`, `Cursor`, `Windsurf`)
124
+ ### Connect Official Cloud MCP (`Claude Code`, `Codex`, `Cursor`, `WorkBuddy`, `Claude Cowork`)
105
125
 
106
126
  ```json
107
127
  {
108
128
  "mcpServers": {
109
129
  "dislop": {
110
- "command": "npx",
111
- "args": ["--yes", "github:dislop-ai/dislop", "--mcp"]
130
+ "type": "http",
131
+ "url": "https://dislop.com/mcp",
132
+ "headers": {
133
+ "Authorization": "Bearer dslp_your_token_here"
134
+ }
112
135
  }
113
136
  }
114
137
  }
115
138
  ```
116
139
 
117
- Exposed local MCP tools (`7` offline tools, `verbosity: "compact"` by default, with negative fixtures stripped): `dislop_check` (supports `pack` including `"auto"`, `profile`, `ml`, and `patterns`), `dislop_voice_extract_offline`, `dislop_model_score`, `dislop_model_status`, `dislop_explain`, `dislop_packs`, and `dislop_catalog`.
140
+ Official Cloud MCP (`https://dislop.com/mcp`) exposes `dislop_review` (1 credit, genre-aware multi-model review returning structured issues and edit guidance for your local agent to apply in context), `dislop_deslop` (2 credits, re-checked rewrite), `dislop_voice_extract` (2 credits), and 0-credit deterministic checks. Sign in at [dislop.com](https://dislop.com/?lang=en#cloud-token-box) for a free 30-credit/month key.
118
141
 
119
142
  ## Configure it, or overrule it
120
143
 
@@ -145,8 +168,8 @@ For a narrow one-off exception, add a reason above the line (`--report-unused` f
145
168
  ### Install once locally (true air-gapped / fast hooks)
146
169
 
147
170
  ```bash
148
- # Node.js 20+ (global binary, < 250 KB tarball, zero network after install)
149
- npm install -g github:dislop-ai/dislop
171
+ # Node.js 20+ (published on npm, < 250 KB tarball, zero network after install)
172
+ npm install -g dislop
150
173
  dislop check .
151
174
 
152
175
  # Or Python 3.10+ (published on PyPI, zero external dependencies)
@@ -154,10 +177,10 @@ pip install dislop
154
177
  dislop check .
155
178
  ```
156
179
 
157
- ### Open-Source Local (`Skill` + `CLI`) vs. Hosted Cloud (`dislop.com/mcp`)
180
+ ### Open-Source Local (`Skill` + `CLI`) vs. Official Cloud (`dislop.com/mcp`)
158
181
 
159
- - **Open Source (`dislop-ai/dislop`, Apache-2.0)**: `SKILL.md` + bundled local `./references/*.md`, Node/Python CLI (`dislop check [--pack <id|auto>] [--profile] [--ml] [--patterns] [--changed [ref]] [--staged] [--format text|json|sarif|github|md]`, `dislop patterns`, `dislop voice`, `dislop model [status|score|install|import|remove|deslop]`, `dislop setup`, `dislop deslop --local`, `dislop explain`, `dislop packs`, `dislop catalog`, `dislop resources`), 7-tool local stdio MCP (`--mcp`), all 7 built-in packs (`42` rules) + 53-pattern catalog (`patterns/`), bundled `14.6 KB` gzip (`49.0 KB` raw) Pocket ML ensemble (`models/pocket-slop-v1.json`, `< 0.5 ms`, `100.0%` F1 / `0.0%` Clean FPR on `stealth-vapor-v1`), `Awesome Anti-Slop`, and `dislop-bench v2`. Zero third-party packages, zero API keys, and `0` network calls during `check` / `patterns` / `voice` / `model score` so private drafts never leave your machine. For heavier local neural rewrites, `dislop setup` and `dislop model install` inspect RAM/disk budgets and let you optionally install `0.6B` (`~520 MB`), `1.7B` (`~1.3 GB`), or `4B` (`~2.5 GB`) local models (or import offline `.gguf`/`.onnx` weights with SHA-256 verification) protected by an internal numeric and qualifier retention guard during automated local rewrites.
160
- - **Hosted Cloud Remote MCP & Web AI (`https://dislop.com/mcp`, `https://dislop.com/?lang=en#pricing`)**: Optional closed-source cloud backend powered by a paid-tier zero-training Google Gemini endpoint (no draft logging; see [privacy.md](https://dislop.com/privacy.md)). Exposes `dislop_review` (1 credit, hybrid 3rd-order review), `dislop_deslop` (2 credits, self-healing rewrite with an internal numeric and qualifier retention guard and automatic repair), and `dislop_voice_extract` (2 credits, `dislop.voice/1`). Includes 5 free anonymous web demo credits/day, **30 free monthly credits** after email key signup, and early-access waitlists for Pro (`$12/mo`, 1,500 credits), PAYGO (`$10 / 800 credits`), and Team (`$29/seat/mo`).
182
+ - **Open Source (`dislop-ai/dislop`, Apache-2.0)**: Pure-Markdown `SKILL.md` + local `./references/*.md` (no bundled scripts), zero-dependency Node/Python CLI (`dislop check [--pack <id|auto>] [--profile] [--ml] [--patterns] [--changed [ref]] [--staged] [--format text|json|sarif|github|md]`, `dislop patterns`, `dislop voice`, `dislop explain`, `dislop packs`, `dislop catalog`, `dislop resources`), all 7 built-in packs (`42` rules) + 53-pattern catalog (`patterns/`), bundled `14.6 KB` gzip (`49.0 KB` raw) Pocket ML ensemble (`models/pocket-slop-v1.json`, `< 0.5 ms`, `100.0%` F1 / `0.0%` Clean FPR on `stealth-vapor-v1`), `Awesome Anti-Slop`, and `dislop-bench v2`. `check` / `patterns` / `voice` make `0` network calls so private drafts never leave your machine (existing `--mcp` and optional local-model modules stay in-repo during real-world evaluation).
183
+ - **Official Cloud MCP & Web Workbench (`https://dislop.com/mcp`, `https://dislop.com/?lang=en#pricing`)**: Closed-source hosted backend running paid-tier zero-training model endpoints (no draft logging; see [privacy.md](https://dislop.com/privacy.md)). Exposes `dislop_review` (1 credit, multi-model genre-aware review returning structured issues and edit guidance), `dislop_deslop` (2 credits, re-checked rewrite verifying numbers and qualifiers), and `dislop_voice_extract` (2 credits, `dislop.voice/1`). Sign-in required for cloud AI: claim a free key for **30 monthly credits**, with early-access waitlists for Pro (`$12/mo`, 1,500 credits), PAYGO (`$10 / 800 credits`), and Team (`$29/seat/mo`).
161
184
 
162
185
  ## Anti-slop benchmark (`dislop-bench v2`)
163
186
 
@@ -173,32 +196,32 @@ Latest measured baseline ([benchmarks/REPORT.md](./benchmarks/REPORT.md) and [be
173
196
  - **Multi-Angle Pattern Benchmark (`154` samples = 48 + 16 + 62 `pattern-challenge-v2` + 28 `holdout-v2`)**: Precision `100.0%` · Recall `100.0%` · F1 `100.0%` · Clean FPR `0.0%` · Node/Python Parity `100.0%`.
174
197
  - **Bundled Pocket ML (`stealth-vapor-v1`, 24 paired samples; 36 blind eval with holdouts)**: `14.6 KB` gzip (`49.0 KB` raw), `< 0.5 ms`, `100.0%` F1, `0.0%` Clean FPR.
175
198
  - **End-to-End Revision (`Suite B`, 18 tasks = 12 `revision-v1` + 6 `revision-hard-v2`, weights `D1=45 / D2=20 / D3=25 / D4=10`)**: `raw_ai` **60.8 / 100** → `naive_humanizer` **70.8 / 100** (doubles 3rd-order slop and drops or invents numbers) → `dislop_clean` **100.0 / 100** (`18/18` all-clear).
176
- - **Live 5-model comparison ([benchmarks/MODEL-COMPARISON.md](./benchmarks/MODEL-COMPARISON.md))**: Across `Gemini 3.1/3.5 Flash-Lite`, `Gemini 3.5/3.8 Flash`, and `Qwen 3.8 Flash`, bare prompts averaged `76.0–84.2 / 100` (`2/10–4/10` all-clear on the 10-task `revision-v1` live subset), while the `dislop` self-healing cloud pipeline lifted every model by **+15.8 to +22.3 points** (`97.0–100.0 / 100`, `8/10–10/10` all-clear; `Gemini 3.1 Flash-Lite` reached `98.5 / 100` in `1.2s` at `~$0.09 / 1k calls`).
199
+ - **Live 5-model comparison ([benchmarks/MODEL-COMPARISON.md](./benchmarks/MODEL-COMPARISON.md))**: Across `Gemini 3.1/3.5 Flash-Lite`, `Gemini 3.5/3.8 Flash`, and `Qwen 3.8 Flash`, bare prompts averaged `76.0–84.2 / 100` (`2/10–4/10` all-clear on the 10-task `revision-v1` live subset), while the `dislop` re-checked cloud pipeline lifted every model by **+15.8 to +22.3 points** (`97.0–100.0 / 100`, `8/10–10/10` all-clear; `Gemini 3.1 Flash-Lite` reached `98.5 / 100` in `1.2s` at `~$0.09 / 1k calls`).
177
200
 
178
201
  See [benchmarks/README.md](./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`).
179
202
 
180
203
  ## dislop checks dislop
181
204
 
182
- GitHub Actions CI runs `dislop pack-test` (160 fixture assertions: 83 hit + 77 clean 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/`.
205
+ 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/`.
183
206
 
184
207
  ## Docs & layout
185
208
 
186
- - [Brand & Voice Guide](./docs/brand-and-voice-guide.md) ([zh-CN](./docs/brand-and-voice-guide.zh-CN.md))
209
+ - [Product Brief](./PRODUCT.md) · [Brand & Voice Guide](./docs/brand-and-voice-guide.md) ([zh-CN](./docs/brand-and-voice-guide.zh-CN.md))
187
210
  - [Architecture](./docs/architecture.md) ([zh-CN](./docs/architecture.zh-CN.md)) · [Design System](./docs/design-system.md) ([zh-CN](./docs/design-system.zh-CN.md))
188
211
  - [Roadmap](./ROADMAP.md) ([zh-CN](./ROADMAP.zh-CN.md)) · [Releasing](./docs/releasing.md) · [Contributing](./CONTRIBUTING.md) · [Research Index](./docs/research/README.md) · [Changelog](./CHANGELOG.md)
189
212
 
190
213
  ```text
191
214
  dislop/
192
215
  ├── .agents/plugins/ # OpenAI Codex marketplace manifest (marketplace.json)
193
- ├── .claude-plugin/ # Claude Code plugin & marketplace manifests (Skill + local MCP)
216
+ ├── .claude-plugin/ # Claude Code plugin & marketplace manifests (pure-doc Skill + Official Cloud MCP)
194
217
  ├── .codex-plugin/ # OpenAI Codex native plugin manifest & UI card metadata
195
218
  ├── plugin.json # Agent Plugins 1.0 portable manifest (paired with root mcp.json)
196
219
  ├── gemini-extension.json # Gemini CLI Extension Gallery manifest
197
- ├── server.json # Official MCP Registry manifest (local stdio + remote HTTP)
220
+ ├── server.json # Official MCP Registry manifest (Official Cloud HTTP MCP)
198
221
  ├── action.yml # Reusable GitHub Marketplace incremental check Action
199
222
  ├── awesome/ # Awesome Anti-Slop (README.md & README.zh-CN.md, 87 entries)
200
223
  ├── benchmarks/ # Offline anti-slop benchmark datasets (CC0-1.0) & reproducible reports
201
- ├── bin/ # Node.js CLI (dislop.mjs) & local stdio MCP launcher (dislop-mcp.mjs)
224
+ ├── bin/ # Node.js CLI (dislop.mjs) and compatibility launcher (dislop-mcp.mjs)
202
225
  ├── src/
203
226
  │ ├── core.mjs # Zero-dep ES module shared by Node CLI, MCP, and browser workbench
204
227
  │ ├── pattern-engine.mjs # Multi-angle 11-probe extended pattern-bank scanner
package/README.zh-CN.md CHANGED
@@ -8,6 +8,7 @@
8
8
  <p align="center">
9
9
  <a href="./README.md">English</a> ·
10
10
  <a href="https://dislop.com">去 dislop.com 试试</a> ·
11
+ <a href="https://www.npmjs.com/package/dislop">npm</a> ·
11
12
  <a href="https://pypi.org/project/dislop/">PyPI</a> ·
12
13
  <a href="./awesome/README.zh-CN.md">Awesome Anti-Slop 工具清单</a> ·
13
14
  <a href="./ROADMAP.zh-CN.md">路线图</a> ·
@@ -15,7 +16,7 @@
15
16
  <a href="./LICENSE">Apache-2.0</a>
16
17
  </p>
17
18
 
18
- `dislop` 把靠谱的写作规矩、网页和 PPT 设计原则、离线零依赖检查引擎和 87 条精选工具收在一起。交付文档、Word、PPT 或网页前,可以发给你的 AI 直接用、在线试查,或装成 Agent 的 Skill、Plugin 和 MCP。
19
+ `dislop` 是专用的 **AI 味检查工具(Linter for AI Slop)**。整合社区验证过的去味规则、语料经验与 87 条精选工具,帮你(的 Agent)在文档、网页和 PPT 发出前,挑出并改掉里面的 AI 味。产品分为三层:**纯文档 Skill**(按文体避坑,不含可执行脚本)、**开源本地 CLI 与编辑器插件**(零依赖毫秒级扫出 AI 硬伤与常见套话,支持开发者配置自有密钥做深度审校)、**官方云端 MCP 与网页工作台**(`https://dislop.com/mcp`,免装本地环境,按文体多模型深度审校并返回结构化问题清单,也支持保留原排版的 Word/PPT 处理)。
19
20
 
20
21
  拿一段模型刚写完的上线说明来举个例子:
21
22
 
@@ -34,28 +35,29 @@
34
35
 
35
36
  如果删掉了旧套话,却顺手换成了另一种 AI 腔(例如“这不是一次简单的升级,而是一场效率革命”),再跑一遍 `dislop check` 一样会被标出来。改回平实的话,检查直接通过。
36
37
 
37
- 大致就做这些。Markdown、纯文本、HTML/CSS/JSX、Word(`.docx`)和 PPT(`.pptx`)都能查。[dislop.com](https://dislop.com) 默认离线工作台与开源 Node/Python 命令行、本地 stdio MCP 共用同一套 **7 套场景包(`42` 条规则)**、5 轴节奏统计和离线声纹提取,全程零上传;命令行与本地 MCP 还内置扩展模式库扫描(`--patterns`)、随包 `14.6 KB` 轻量集成模型(`--ml`)以及按本机硬件选装本地小模型(`dislop model`)。需要免装环境接入或一键自愈去味时,再按需连官方托管云端 MCP(`https://dislop.com/mcp`)。
38
+ <p align="center">
39
+ <img src="./assets/demos/proof-cycle-zh-v1.gif" alt="dislop 检查上线说明三步对照:标出 AI 寒暄与空话、拦下二阶口号、改干净后退出码 0" width="840">
40
+ </p>
41
+
42
+ 大致就做这些。Markdown、纯文本、HTML/CSS/JSX、Word(`.docx`)和 PPT(`.pptx`)都能查。开源本地 CLI 与编辑器插件默认离线运行、零上传,内置 **7 套场景包(`42` 条规则)**、5 轴节奏统计、扩展模式库扫描(`--patterns`)与随包 `14.6 KB` 轻量集成模型(`--ml`);未命中规则时仅说明未发现已知模式,不代表深度内容质量无误。在 [dislop.com](https://dislop.com) 网页工作台与官方托管云端 MCP(`https://dislop.com/mcp`)登录后,可调用多模型深度审校(`dislop_review` 返回具体问题与改法建议,交给本地 Agent 结合上下文改稿)与复检改写。
38
43
 
39
44
  ## 上手
40
45
 
41
- ### Node.js 20+(零外部依赖,内置全部 7 套规则包)
46
+ ### Node.js 20+(已上架 npm,零外部依赖,内置全部 7 套规则包)
42
47
 
43
48
  ```bash
44
49
  # 检查当前目录(命中硬伤时退出码为 1,同时标出套话提醒)
45
- npx --yes github:dislop-ai/dislop check .
50
+ npx --yes dislop check .
46
51
 
47
52
  # 自动路由文体包,同时开启 5 轴节奏统计、14.6 KB 轻量模型与扩展模式库扫描
48
- npx --yes github:dislop-ai/dislop check draft.md --pack auto --profile --ml --patterns
53
+ npx --yes dislop check draft.md --pack auto --profile --ml --patterns
49
54
 
50
- # 离线提取你自己的句长与标点声纹,或按本机内存查看选装本地小模型建议
51
- npx --yes github:dislop-ai/dislop voice my-notes.md
52
- npx --yes github:dislop-ai/dislop model --lang zh
55
+ # 离线提取你自己的句长与标点个人文风,或查看某条规则的判断方法和示例
56
+ npx --yes dislop voice my-notes.md
57
+ npx --yes dislop explain negation-pivot-frame --lang zh
53
58
 
54
59
  # 只查相对 main 新改的行,并输出 GitHub PR 行内批注
55
- npx --yes github:dislop-ai/dislop check --changed origin/main --format github
56
-
57
- # 查看某条规则的判断方法和改前/改后示例
58
- npx --yes github:dislop-ai/dislop explain negation-pivot-frame --lang zh
60
+ npx --yes dislop check --changed origin/main --format github
59
61
  ```
60
62
 
61
63
  ### Python 3.10+(已上架 PyPI,零外部依赖)
@@ -66,6 +68,10 @@ uvx dislop check quarterly-review.pptx
66
68
  pip install dislop && dislop check . --lang zh
67
69
  ```
68
70
 
71
+ <p align="center">
72
+ <img src="./assets/demos/cli-check-zh-v1.gif" alt="dislop CLI 本地离线检查:原稿退出码 1 与清理后退出码 0" width="840">
73
+ </p>
74
+
69
75
  ## AI 残留硬伤和套话提醒分开查
70
76
 
71
77
  很多自动“去 AI 味”改写工具容易把旧套话换成另一种腔调,或者把你的语气全洗成同一种模版。单纯用黑名单也有毛病,容易误伤正常句子(比如「抓手机拍照」「北京大学、清华大学、复旦大学」)。
@@ -86,6 +92,19 @@ Node.js 版(`bin/dislop.mjs`)和 Python 版(`src/dislop/`)都零外部
86
92
  | Word 文档 | `.docx` | 合并同段落文本运行、贴进文档没渲染的裸 Markdown 星号及正文套话(定位至 `para N`) | 报段落序号,不计算排版页码 |
87
93
  | 演示文稿 | `.pptx` | 按真实放映顺序定位页码、裸 Markdown、单页字数墙(中文 > 280 字 / 英文 > 120 词)、要点超过 6 条、自动缩排低于 80%、空泛标题(“背景”“概述”)、连页版式单调及正文套话 | 隐藏幻灯片跳过密度检查并显式报 `[SKIP]` |
88
94
 
95
+ <table>
96
+ <tr>
97
+ <td width="50%" align="center">
98
+ <img src="./assets/demos/workbench-live-zh-v1.gif" alt="dislop.com 浏览器离线工作台实时标出原稿、二阶 AI 腔与干净稿" width="100%"><br>
99
+ <sub>浏览器工作台零上传离线自查</sub>
100
+ </td>
101
+ <td width="50%" align="center">
102
+ <img src="./assets/demos/ui-slop-zh-v1.gif" alt="检查网页组件紫粉渐变、胶囊墙与空链接并改为 1px 校样版式" width="100%"><br>
103
+ <sub>网页与组件模板味清理前后</sub>
104
+ </td>
105
+ </tr>
106
+ </table>
107
+
89
108
  ## Awesome Anti-Slop 工具清单
90
109
 
91
110
  我们也顺手整理了 87 个去 AI 味相关的中英文工具、写作规范、前端设计规则、代码 PR 治理和论文。可以直接看 **[awesome/README.zh-CN.md](./awesome/README.zh-CN.md)**([English](./awesome/README.md)),或者在 **[dislop.com/awesome/](https://dislop.com/awesome/)** 离线筛选(也提供 [index.json](https://dislop.com/awesome/index.json) 和 [index.md](https://dislop.com/awesome/index.md) 给 Agent 读取)。
@@ -95,27 +114,31 @@ Node.js 版(`bin/dislop.mjs`)和 Python 版(`src/dislop/`)都零外部
95
114
  | 接入环境 | 一行命令或一键唤起 | 说明 |
96
115
  |---|---|---|
97
116
  | **任意联网 AI 对话** | 发一句:`先读 https://dislop.com/llms.txt,按里面的规矩和检查方法把接下来这份稿子过一遍。` | 免安装,直接读约 `2.4 KB` 索引、任务卡(`/tasks/*.md`)或单条规则页(`/rules/<id>.md`) |
98
- | **跨宿主 Agent Skill** | `npx skills add dislop-ai/dislop` | 把 [skills/dislop/SKILL.md](./skills/dislop/SKILL.md) 与 4 张本地参考卡装进 Claude Code、Codex、Cursor、Windsurf、Antigravity、OpenCode(全程 `0` 联网) |
99
- | **Claude Code 插件** | `/plugin marketplace add dislop-ai/dislop` 后执行 `/plugin install dislop@dislop-ai` | 一键装好 Skill 与本地离线 MCP(常驻上下文仅约 `130` tokens) |
117
+ | **跨宿主 Agent Skill** | `npx skills add dislop-ai/dislop` | 安装纯 Markdown 的 [skills/dislop/SKILL.md](./skills/dislop/SKILL.md) 与 4 张本地参考卡(不含脚本,全程 `0` 联网),动笔前避坑并在有 Shell 时调用 CLI 自检 |
118
+ | **Claude Code 插件** | `/plugin marketplace add dislop-ai/dislop` 后执行 `/plugin install dislop@dislop-ai` | 一键装好纯文档 Skill 与官方远程 MCP 连接(常驻上下文仅约 `130` tokens) |
100
119
  | **OpenAI Codex 插件** | `codex plugin marketplace add dislop-ai/dislop` 后执行 `codex plugin add dislop@dislop-ai` | 附带 [openai.yaml](./skills/dislop/agents/openai.yaml) 原生应用卡片与 `$dislop` 快捷指令 |
101
- | **Gemini CLI 扩展** | `gemini extensions install https://github.com/dislop-ai/dislop` | 基于根目录 [gemini-extension.json](./gemini-extension.json) 直接挂载本地 `bin/dislop-mcp.mjs` |
102
- | **VS Code / Cursor 一键装 MCP** | [装进 VS Code(本地离线)](https://vscode.dev/redirect/mcp/install?name=dislop&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22--yes%22%2C%22github%3Adislop-ai%2Fdislop%22%2C%22--mcp%22%5D%7D) · [装进 VS Code(云端免环境)](https://vscode.dev/redirect/mcp/install?name=dislop-cloud&config=%7B%22url%22%3A%22https%3A%2F%2Fdislop.com%2Fmcp%22%7D) · [装进 Cursor(本地离线)](cursor://anysphere.cursor-deeplink/mcp/install?name=dislop&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyItLXllcyIsImdpdGh1YjpkaXNsb3AtYWkvZGlzbG9wIiwiLS1tY3AiXX0=) | 浏览器点击直接拉起编辑器确认框,不用手改 JSON |
120
+ | **Gemini CLI 扩展** | `gemini extensions install https://github.com/dislop-ai/dislop` | 基于根目录 [gemini-extension.json](./gemini-extension.json) 直连官方远程 MCP `https://dislop.com/mcp` |
121
+ | **官方 MCP 注册表** | 在 `registry.modelcontextprotocol.io` 检索 `io.github.dislop-ai/dislop` | 登记官方托管远程 MCP 端点 `https://dislop.com/mcp`(Streamable HTTP) |
122
+ | **VS Code / Cursor 一键装 MCP** | [装进 VS Code(官方云端)](https://vscode.dev/redirect/mcp/install?name=dislop&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fdislop.com%2Fmcp%22%7D) · [装进 Cursor(官方云端)](cursor://anysphere.cursor-deeplink/mcp/install?name=dislop&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vZGlzbG9wLmNvbS9tY3AifQ==) | 浏览器点击直接拉起编辑器确认框,不用手改 JSON |
103
123
  | **GitHub Action / `pre-commit`** | 在工作流里引用 `uses: dislop-ai/dislop@main`(见 [action.yml](./action.yml) 与 [.pre-commit-hooks.yaml](./.pre-commit-hooks.yaml)) | PR 只查本次改动行并输出行内批注或 SARIF 2.1.0 |
104
124
 
105
- ### 手动接入本地 MCP(`Claude Code`、`Codex`、`Cursor`、`Windsurf`)
125
+ ### 接入官方云端 MCP(`Claude Code`、`Codex`、`Cursor`、`WorkBuddy`、`Claude Cowork`)
106
126
 
107
127
  ```json
108
128
  {
109
129
  "mcpServers": {
110
130
  "dislop": {
111
- "command": "npx",
112
- "args": ["--yes", "github:dislop-ai/dislop", "--mcp"]
131
+ "type": "http",
132
+ "url": "https://dislop.com/mcp",
133
+ "headers": {
134
+ "Authorization": "Bearer dslp_your_token_here"
135
+ }
113
136
  }
114
137
  }
115
138
  }
116
139
  ```
117
140
 
118
- 提供 **7 个**本地离线工具(默认启用紧凑输出 `verbosity: "compact"` 节省上下文,且剥离负例样本):`dislop_check`(支持 `pack` 含 `"auto"`、`profile`、`ml`、`patterns`)、`dislop_voice_extract_offline`、`dislop_model_score`、`dislop_model_status`、`dislop_explain`、`dislop_packs`、`dislop_catalog`。
141
+ 官方远程 MCP 端点(`https://dislop.com/mcp`)提供云端大模型审校与改稿工具:`dislop_review`(1 额度,返回分文体结构化问题清单与改法建议,供本地 Agent 结合项目上下文改稿)、`dislop_deslop`(2 额度,自动复检改写)、`dislop_voice_extract`(2 额度)及 0 额度基础检查。需要先在 [dislop.com](https://dislop.com/#cloud-token-box) 登录领取免费密钥。
119
142
 
120
143
  ## 配置,以及什么时候不听它的
121
144
 
@@ -143,8 +166,8 @@ Node.js 版(`bin/dislop.mjs`)和 Python 版(`src/dislop/`)都零外部
143
166
  ### 本地一次安装(真断网 / 快速 Hook 推荐)
144
167
 
145
168
  ```bash
146
- # Node.js 20+(装一次后完全离网运行,包体 < 250 KB)
147
- npm install -g github:dislop-ai/dislop
169
+ # Node.js 20+(已上架 npm,装一次后完全离网运行,包体 < 250 KB)
170
+ npm install -g dislop
148
171
  dislop check .
149
172
 
150
173
  # 或 Python 3.10+(已上架 PyPI,零外部依赖)
@@ -154,8 +177,8 @@ dislop check .
154
177
 
155
178
  ### 开源本地(`Skill` + `CLI`)vs. 官方托管云端(`dislop.com/mcp`)
156
179
 
157
- - **开源本地(`dislop-ai/dislop`,Apache-2.0)**:`SKILL.md` 与本地 `./references/*.md` 参考卡、Node/Python 命令行(`dislop check [--pack <id|auto>] [--profile] [--ml] [--patterns] [--changed [ref]] [--staged] [--format text|json|sarif|github|md]`、`dislop patterns`、`dislop voice`、`dislop model [status|score|install|import|remove|deslop]`、`dislop setup`、`dislop deslop --local`、`dislop explain`、`dislop packs`、`dislop catalog`、`dislop resources`)、7 工具本地 stdio MCP(`--mcp`)、全部 7 套内置规则包(42 条规则)、53 条反模式库(`patterns/`)、随包内置的 `14.6 KB` gzip(原始 `49.0 KB`)传统集成模型(`models/pocket-slop-v1.json`,`< 0.5 ms`,在 `stealth-vapor-v1` 上 F1 `100.0%`、干净误报 `0.0%`)、`Awesome Anti-Slop` 及 `dislop-bench v2`。零第三方依赖、不需要 API Key,`check` / `patterns` / `voice` / `model score` 全程零联网,私密文档绝不离开本机;需要本地小模型改写时,可通过 `dislop setup` 或 `dislop model install` 按内存与磁盘预算选装 `0.6B`(约 `520 MB`)、`1.7B`(约 `1.3 GB`)或 `4B`(约 `2.5 GB`)小模型(也支持 `dislop model import` 离线校验导入 `.gguf`/`.onnx` 权重),改写时自动启用内部数字与边界限定词保真护栏兜底。
158
- - **官方托管云端与远程 HTTP MCP(`https://dislop.com/mcp` · [开源与云端方案](https://dislop.com/#pricing))**:独立闭源云端后台,使用付费级零训练 Google Gemini 模型端点(不落盘留存草稿;详见 [隐私说明](https://dislop.com/privacy.md))。提供 `dislop_review`(1 额度,三阶结构诊断 + 规则联查)、`dislop_deslop`(2 额度,自愈一键去味,内置数字与限定词保真护栏及自动二次修复)与 `dislop_voice_extract`(2 额度,提取 `dislop.voice/1` 个人文风)。网页免登录每天 5 试用额度,邮箱领取免费密钥即享 **每月 30 免费额度**;Pro(`$12/月` · 1,500 额度)、按量包(`$10 / 800 额度`)与 Team(`$29/席位/月`)已开放早鸟预约。
180
+ - **开源本地(`dislop-ai/dislop`,Apache-2.0)**:纯文档 `SKILL.md` 与 `./references/*.md` 参考卡(不含可执行脚本)、Node/Python 零依赖命令行(`dislop check [--pack <id|auto>] [--profile] [--ml] [--patterns] [--changed [ref]] [--staged] [--format text|json|sarif|github|md]`、`dislop patterns`、`dislop voice`、`dislop explain`、`dislop packs`、`dislop catalog`、`dislop resources`)、全部 7 套内置规则包(42 条规则)、53 条反模式库(`patterns/`)、随包内置的 `14.6 KB` gzip(原始 `49.0 KB`)传统集成模型(`models/pocket-slop-v1.json`,`< 0.5 ms`,在 `stealth-vapor-v1` 上 F1 `100.0%`、干净误报 `0.0%`)、`Awesome Anti-Slop` 及 `dislop-bench v2`。`check` / `patterns` / `voice` 全程零联网,私密文档绝不离开本机(源码亦保留既有 `--mcp` 与可选本地小模型工具链,供真实语料对比评测期间向后兼容)。
181
+ - **官方托管云端与远程 HTTP MCP(`https://dislop.com/mcp` · [开源与云端方案](https://dislop.com/#pricing))**:独立闭源云端后台,使用付费级零训练模型端点(不落盘留存草稿;详见 [隐私说明](https://dislop.com/privacy.md))。提供 `dislop_review`(1 额度,多模型分文体深层审校,返回结构化问题与改法建议)、`dislop_deslop`(2 额度,自动复检改写,改完核对原稿数字与限定词,对不上自动重改)与 `dislop_voice_extract`(2 额度,提取 `dislop.voice/1` 个人文风)。云端 AI 功能需登录使用,邮箱领取免费密钥即享 **每月 30 免费额度**;Pro(`$12/月` · 1,500 额度)、按量包(`$10 / 800 额度`)与 Team(`$29/席位/月`)已开放早鸟预约。
159
182
 
160
183
  ## 去 AI 味效果基准测试(`dislop-bench v2`)
161
184
 
@@ -171,32 +194,32 @@ node scripts/run_benchmark.mjs --assert
171
194
  - **多角度反模式基准(`154` 样本 = 48 + 16 + 62 `pattern-challenge-v2` + 28 `holdout-v2`)**:准确率 `100.0%` · 召回率 `100.0%` · F1 `100.0%` · 干净误报率 `0.0%` · Node/Python 一致率 `100.0%`。
172
195
  - **内置轻量模型(`stealth-vapor-v1`,24 份配对样本;含留出集 36 份盲测)**:`14.6 KB` gzip(原始 `49.0 KB`)、`< 0.5 ms`、F1 `100.0%`、干净误报 `0.0%`。
173
196
  - **端到端改稿效果(`Suite B`,18 题 = 12 `revision-v1` + 6 `revision-hard-v2`,权重 `D1=45 / D2=20 / D3=25 / D4=10`)**:模型原稿 `raw_ai` **60.8 / 100** → 普通改写 `naive_humanizer` **70.8 / 100**(三阶结构味翻倍且漏改或编造数字)→ 按 dislop 规矩改稿 `dislop_clean` **100.0 / 100**(`18/18` 全过)。
174
- - **5 模型真实在线对比([benchmarks/MODEL-COMPARISON.md](./benchmarks/MODEL-COMPARISON.md))**:实测 `Gemini 3.1/3.5 Flash-Lite`、`Gemini 3.5/3.8 Flash` 与 `Qwen 3.8 Flash`,在 `revision-v1` 的 10 题在线子集上裸 Prompt 仅得 `76.0–84.2 / 100`(`2/10–4/10` 全过),接入 `dislop` 云端自愈流水线后全线提升 **+15.8 至 +22.3 分**(达 `97.0–100.0 / 100`、`8/10–10/10` 全过;其中 `Gemini 3.1 Flash-Lite` 中位延迟仅 `1.2 秒`、每千次调用约 `$0.09`,得分 `98.5 / 100`)。
197
+ - **5 模型真实在线对比([benchmarks/MODEL-COMPARISON.md](./benchmarks/MODEL-COMPARISON.md))**:实测 `Gemini 3.1/3.5 Flash-Lite`、`Gemini 3.5/3.8 Flash` 与 `Qwen 3.8 Flash`,在 `revision-v1` 的 10 题在线子集上裸 Prompt 仅得 `76.0–84.2 / 100`(`2/10–4/10` 全过),接入 `dislop` 云端复检改写流水线后全线提升 **+15.8 至 +22.3 分**(达 `97.0–100.0 / 100`、`8/10–10/10` 全过;其中 `Gemini 3.1 Flash-Lite` 中位延迟仅 `1.2 秒`、每千次调用约 `$0.09`,得分 `98.5 / 100`)。
175
198
 
176
199
  详见 [benchmarks/README.zh-CN.md](./benchmarks/README.zh-CN.md),支持评测任意模型/Prompt/Skill/云端端点(`--eval`)以及导出随机盲评表(`--export-blind-sheet`)。
177
200
 
178
201
  ## 这个仓库自己也过这道门
179
202
 
180
- GitHub Actions CI 在每次提交时跑完双端 `dislop pack-test`(160 项样本断言:83 条命中 + 77 条干净)、26 项 Python `unittest` 一致性与引擎单测(覆盖 `test_conformance`、`test_engine`、`test_pattern_library`、`test_pocket_and_local_models`)、反模式库核验(`node scripts/pattern_lab.mjs verify` 与 `assert`)、官网校验测试(`tests/test_site.mjs`),并对仓库自己的文档、`awesome/` 与 `site/` 执行 `dislop check . --fail-on warning`。
203
+ GitHub Actions CI 在每次提交时跑完双端 `dislop pack-test`(164 项样本断言)、26 项 Python `unittest` 一致性与引擎单测(覆盖 `test_conformance`、`test_engine`、`test_pattern_library`、`test_pocket_and_local_models`)、反模式库核验(`node scripts/pattern_lab.mjs verify` 与 `assert`)、官网校验测试(`tests/test_site.mjs`),并对仓库自己的文档、`awesome/` 与 `site/` 执行 `dislop check . --fail-on warning`。
181
204
 
182
205
  ## 文档与目录
183
206
 
184
- - [文案与视觉基准](./docs/brand-and-voice-guide.zh-CN.md)([English](./docs/brand-and-voice-guide.md))
207
+ - [产品定义(Product Brief)](./PRODUCT.md) · [文案与视觉基准](./docs/brand-and-voice-guide.zh-CN.md)([English](./docs/brand-and-voice-guide.md))
185
208
  - [架构说明](./docs/architecture.zh-CN.md)([English](./docs/architecture.md))· [设计规范](./docs/design-system.zh-CN.md)([English](./docs/design-system.md))
186
209
  - [路线图与协作计划](./ROADMAP.zh-CN.md)([English](./ROADMAP.md))· [发版与多平台上线规范](./docs/releasing.zh-CN.md) · [贡献指南](./CONTRIBUTING.md) · [调研索引](./docs/research/README.md) · [变更记录](./CHANGELOG.md)
187
210
 
188
211
  ```text
189
212
  dislop/
190
213
  ├── .agents/plugins/ # OpenAI Codex 市场清单(marketplace.json)
191
- ├── .claude-plugin/ # Claude Code 插件与市场清单(打包 Skill + 本地 MCP)
214
+ ├── .claude-plugin/ # Claude Code 插件与市场清单(纯文档 Skill + 官方云端 MCP)
192
215
  ├── .codex-plugin/ # OpenAI Codex 原生插件清单与卡片配置
193
216
  ├── plugin.json # Agent Plugins 1.0 跨平台标准清单(配根目录 mcp.json)
194
217
  ├── gemini-extension.json # Gemini CLI 扩展画廊清单
195
- ├── server.json # 官方 MCP Registry 清单(同时声明本地 stdio 与远程 HTTP)
218
+ ├── server.json # 官方 MCP Registry 清单(官方云端 HTTP MCP)
196
219
  ├── action.yml # 可复用的 GitHub Marketplace 增量检查 Action
197
220
  ├── awesome/ # Awesome Anti-Slop 中英文工具清单(87 条)
198
221
  ├── benchmarks/ # 去 AI 味效果基准测试数据集(CC0-1.0)与离线实测报告
199
- ├── bin/ # Node.js CLI(dislop.mjs)与本地 stdio MCP(dislop-mcp.mjs)
222
+ ├── bin/ # Node.js CLI(dislop.mjs)与兼容入口(dislop-mcp.mjs)
200
223
  ├── src/
201
224
  │ ├── core.mjs # 零依赖纯 ES 模块内核,由 Node CLI、MCP 与浏览器工作台共用
202
225
  │ ├── pattern-engine.mjs # 多角度 11 条扩展模式库扫描器
package/action.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  name: "dislop Anti-Slop Check"
2
2
  author: "dislop-ai"
3
- description: "Zero-dependency anti-slop linter for AI-written Markdown, Word (.docx), PowerPoint (.pptx), and HTML/CSS/JSX."
3
+ description: "Linter for AI Slop in Markdown, Word (.docx), PowerPoint (.pptx), and HTML/CSS/JSX — zero dependencies."
4
4
  branding:
5
5
  icon: "edit-3"
6
6
  color: "red"
@@ -39,7 +39,7 @@ runs:
39
39
  using: "composite"
40
40
  steps:
41
41
  - name: Set up Node.js 22
42
- uses: actions/setup-node@v4
42
+ uses: actions/setup-node@v7
43
43
  with:
44
44
  node-version: "22"
45
45
 
package/bin/dislop.mjs CHANGED
@@ -1898,7 +1898,7 @@ async function runModel(args, packs) {
1898
1898
  }
1899
1899
 
1900
1900
  function printHelp() {
1901
- console.log(`dislop v${ENGINE_VERSION} — Local linter for AI-written docs, slides, and web pages
1901
+ console.log(`dislop v${ENGINE_VERSION} — Linter for AI Slop in docs, web UI, and slides
1902
1902
 
1903
1903
  Usage:
1904
1904
  dislop check [paths... | -] [--pack <id|auto>] [--ml] [--patterns] [--fail-on error|warning|info|never]
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "name": "dislop",
3
- "version": "0.6.0",
4
- "description": "Zero-dependency anti-slop Skill, CLI, and MCP linter for AI-written docs, Word/PowerPoint decks, and web pages (7 built-in packs, 42 rules, 53 patterns, and bundled 15 KB Pocket ML).",
3
+ "version": "0.7.0",
4
+ "description": "Linter for AI Slop. Combines vetted community rules (7 packs, 42 rules, 53 patterns) across pure-doc Skill, local offline CLI, and Official Cloud MCP.",
5
5
  "mcpServers": {
6
6
  "dislop": {
7
- "command": "node",
8
- "args": [
9
- "${extensionPath}/bin/dislop-mcp.mjs"
10
- ]
7
+ "httpUrl": "https://dislop.com/mcp"
11
8
  }
12
9
  }
13
10
  }
package/mcp.json CHANGED
@@ -2,12 +2,8 @@
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",
3
3
  "mcpServers": {
4
4
  "dislop": {
5
- "command": "npx",
6
- "args": [
7
- "--yes",
8
- "dislop@0.6.0",
9
- "--mcp"
10
- ]
5
+ "type": "http",
6
+ "url": "https://dislop.com/mcp"
11
7
  }
12
8
  }
13
9
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dislop",
3
- "version": "0.6.0",
4
- "description": "Open-source zero-dependency anti-slop Skill, CLI, and offline checker for AI-written docs, Word/PowerPoint files, and web pages.",
3
+ "version": "0.7.0",
4
+ "description": "Linter for AI Slop — helps you (and your agent) catch and fix AI-sounding text and layouts in docs, web UI, and slides. Skill, Plugin, CLI & MCP.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://dislop.com",
7
7
  "repository": {
@@ -38,6 +38,7 @@
38
38
  "sync:manifests": "node scripts/sync_manifests.mjs",
39
39
  "check:manifests": "node scripts/sync_manifests.mjs --check",
40
40
  "release:check": "node scripts/release.mjs --check",
41
+ "release:status": "node scripts/release.mjs --status",
41
42
  "release": "node scripts/release.mjs",
42
43
  "dogfood": "node bin/dislop.mjs check . --fail-on warning && node bin/dislop.mjs check site/ --fail-on info"
43
44
  },
@@ -45,6 +46,7 @@
45
46
  ".agents/plugins/marketplace.json",
46
47
  ".claude-plugin/",
47
48
  ".codex-plugin/",
49
+ ".cursor-plugin/",
48
50
  ".mcp.json",
49
51
  ".pre-commit-hooks.yaml",
50
52
  "action.yml",
@@ -67,6 +69,7 @@
67
69
  "assets/logo.svg",
68
70
  "README.md",
69
71
  "README.zh-CN.md",
72
+ "PRODUCT.md",
70
73
  "LICENSE"
71
74
  ],
72
75
  "keywords": [
@@ -34,8 +34,8 @@
34
34
  "modalities": ["markdown", "text", "html", "jsx", "svg", "docx", "pptx"],
35
35
  "patterns": [
36
36
  "(?<![A-Za-z])(?:lorem ipsum|dolor sit amet)(?![A-Za-z])",
37
- "\\[(?:insert|add|your|placeholder|tbd|todo)(?:\\s+[^\\]\\n]{1,50})?\\]",
38
- "\\[(?:待补充|待填写|此处插入|占位符)\\]",
37
+ "\\[(?:insert|add|your|placeholder|tbd|todo)(?:\\s+[^\\]\\n]{1,50})?\\](?!\\s*\\()",
38
+ "\\[(?:待补充|待填写|此处插入|占位符)\\](?!\\s*\\()",
39
39
  "\\{\\{\\s*[A-Za-z_][A-Za-z0-9_.-]{0,40}\\s*\\}\\}",
40
40
  "【[^】\\n]{0,20}(?:待补充|待填写|此处插入|占位符)[^】\\n]{0,20}】",
41
41
  "(?:Click to add (?:title|subtitle|text)|单击此处添加(?:标题|副标题|文本))"
@@ -68,6 +68,7 @@
68
68
  "clean": [
69
69
  "Contact the on-call engineer before Friday.",
70
70
  "Array indexing uses items[0] in JavaScript.",
71
+ "Read [Your First GitHub Commit](https://example.com/guide) before opening a PR.",
71
72
  "已完成第 3 节压测记录。"
72
73
  ]
73
74
  }
@@ -82,12 +83,14 @@
82
83
  "modalities": ["markdown", "text", "html", "jsx", "docx", "pptx"],
83
84
  "patterns": [
84
85
  "(?:^|\\n)\\s*(?:Certainly|Sure|Absolutely|Of course|Happy to help|Glad to help)[!,.]?\\s+(?:[Hh]ere(?:'s| is| are)|[Bb]elow is)\\b",
86
+ "(?:^|\\n)\\s*Here\\s+(?:is|are)\\s+the\\s+(?:revised|updated|polished)\\s+",
85
87
  "\\bAs an AI(?: language model| assistant)?\\b",
86
88
  "\\bI hope this helps[!.]?",
87
89
  "\\bFeel free to (?:reach out|let me know|ask) if you (?:need|have) (?:anything|any (?:other |further )?questions)[!.]?",
88
90
  "(?:^|\\n)\\s*(?:好的|当然可以|没问题)[,,!!]?\\s*(?:以下|下面)是",
91
+ "(?:^|\\n)\\s*以下是为您(?:整理|撰写|润色|生成|修改)的",
89
92
  "(?:希望这对(?:你|您)有(?:所)?帮助|如果(?:你|您)(?:还有|需要)(?:任何|其他)?(?:问题|帮助)[,,]?请随时告诉我)[!!。.]?",
90
- "\\b作为一个?\\s*AI(?:\\s*语言模型|\\s*助手)?",
93
+ "作为一个?\\s*AI(?:\\s*语言模型|\\s*助手)?",
91
94
  "\\[oaicite:\\d+\\]",
92
95
  "contentReference\\[oaicite:\\d+\\]",
93
96
  "【\\d+†[^】\\n]{1,40}】",
@@ -118,7 +121,10 @@
118
121
  "Latency dropped 18%【4†source】.",
119
122
  "好的,以下是修改后的会议纪要:周三上线。",
120
123
  "好的,以下是本周进展:接口延迟降到 120ms。",
121
- "周二 10:00 切流。希望这对你有帮助!"
124
+ "周二 10:00 切流。希望这对你有帮助!",
125
+ "以下是为您整理的会议纪要:周四发布。",
126
+ "Here is the revised launch note: deploys at 14:00 UTC.",
127
+ "作为一个 AI 助手,我建议先做灰度验证。"
122
128
  ],
123
129
  "clean": [
124
130
  "Sure enough, the cache warmed within 40 seconds.",
@@ -40,10 +40,10 @@
40
40
  "exemplar": {
41
41
  "bad": "本次 PR 旨在通过重构连接池管理逻辑进一步提升系统的稳定性与可维护性。",
42
42
  "trap": "这不是一次普通的代码重构,而是连接池稳定性的底层重塑。",
43
- "good": "修复 Redis 重连分支未释放旧句柄导致的连接泄漏(#412),压测 2 小时常驻连接数稳定在 64 以内。",
43
+ "good": "修复连接池重连分支未释放旧句柄导致的连接泄漏,避免长运行后连接耗尽。",
44
44
  "note": {
45
- "en": "Name the leak trigger, issue number, and measured connection ceiling.",
46
- "zh": "点明泄漏触发分支、单号与压测连接数上限。"
45
+ "en": "Name the concrete leak trigger and consequence instead of generic stability claims.",
46
+ "zh": "点明具体的泄漏触发分支与直接后果,不写空泛的稳定性套话。"
47
47
  },
48
48
  "source": "original"
49
49
  },
package/plugin.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "dislop",
4
- "version": "0.6.0",
5
- "description": "Zero-dependency anti-slop Skill, CLI, and MCP linter for AI-written docs, Word/PowerPoint decks, and web pages (7 built-in packs, 42 rules, 53 patterns, and bundled 15 KB Pocket ML).",
4
+ "version": "0.7.0",
5
+ "description": "Linter for AI Slop. Combines vetted community rules (7 packs, 42 rules, 53 patterns) across pure-doc Skill, local offline CLI, and Official Cloud MCP.",
6
6
  "author": {
7
7
  "name": "dislop-ai",
8
8
  "url": "https://dislop.com"
@@ -26,8 +26,8 @@
26
26
  "com.openai": {
27
27
  "interface": {
28
28
  "displayName": "dislop",
29
- "shortDescription": "Catch AI slop before shipping",
30
- "longDescription": "Zero-dependency anti-slop Skill, CLI, and MCP linter for AI-written docs, Word/PowerPoint decks, and web pages (7 built-in packs, 42 rules, 53 patterns, and bundled 15 KB Pocket ML).",
29
+ "shortDescription": "Linter for AI Slop",
30
+ "longDescription": "Linter for AI Slop. Combines vetted community rules (7 packs, 42 rules, 53 patterns) across pure-doc Skill, local offline CLI, and Official Cloud MCP.",
31
31
  "developerName": "dislop-ai",
32
32
  "category": "Productivity",
33
33
  "capabilities": [
package/server.json CHANGED
@@ -2,45 +2,13 @@
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.dislop-ai/dislop",
4
4
  "title": "dislop",
5
- "description": "Zero-dependency anti-slop linter & Cloud MCP for AI-written docs, slides, and web UI.",
6
- "version": "0.6.0",
5
+ "description": "Linter for AI Slop in docs, web UI, and slides — Official Cloud MCP.",
6
+ "version": "0.7.0",
7
7
  "websiteUrl": "https://dislop.com",
8
8
  "repository": {
9
9
  "url": "https://github.com/dislop-ai/dislop",
10
10
  "source": "github"
11
11
  },
12
- "packages": [
13
- {
14
- "registryType": "npm",
15
- "identifier": "dislop",
16
- "version": "0.6.0",
17
- "runtimeHint": "npx",
18
- "packageArguments": [
19
- {
20
- "type": "positional",
21
- "value": "--mcp"
22
- }
23
- ],
24
- "transport": {
25
- "type": "stdio"
26
- }
27
- },
28
- {
29
- "registryType": "pypi",
30
- "identifier": "dislop",
31
- "version": "0.6.0",
32
- "runtimeHint": "uvx",
33
- "packageArguments": [
34
- {
35
- "type": "positional",
36
- "value": "--mcp"
37
- }
38
- ],
39
- "transport": {
40
- "type": "stdio"
41
- }
42
- }
43
- ],
44
12
  "remotes": [
45
13
  {
46
14
  "type": "streamable-http",
@@ -1,14 +1,14 @@
1
1
  ---
2
2
  name: dislop
3
- version: 0.6.0
4
- description: Prevent, diagnose, and clean up AI slop in docs, RFCs, slide decks, and web pages. Local progressive references + offline CLI (7 packs, 42 rules, 14.6 KB Pocket ML, offline voice) + optional Cloud MCP.
3
+ version: 0.7.0
4
+ description: Linter for AI Slop. Helps coding and office agents catch and fix AI-sounding text and template layouts in docs, web UI, and slides using pure-Markdown references, local offline CLI, or Official Cloud MCP.
5
5
  ---
6
6
 
7
7
  # dislop
8
8
 
9
- - **Local Skill (`0` network)**: Apply the rules below; read only the matching local file under `./references/`.
10
- - **Offline CLI & 7-tool stdio MCP (`< 250 KB`, `0` uploads)**: 7 packs (`42` rules), `14.6 KB` Pocket ML (`--ml`), 11 bank probes (`--patterns`), and offline voice (`dislop voice`).
11
- - **Optional Cloud MCP (`https://dislop.com/mcp`)**: Non-confidential text when no local shell exists (`30` free credits/mo).
9
+ - **Skill (Markdown only, `0` scripts, `0` network)**: Read only the matching local file under `./references/` before drafting.
10
+ - **Local CLI (`< 250 KB`, `0` uploads)**: Offline deterministic checker (`7` packs, `42` rules, `14.6 KB` Pocket ML, `11` extended probes) for terminals, hooks, and CI. Zero hits clears known surface and structural patterns, not deep content hollowness.
11
+ - **Official Cloud MCP (`https://dislop.com/mcp`)**: Sign in for multi-model genre-aware review (`dislop_review` returns structured issues and edit guidance so you revise in local context) and optional `dislop_deslop` / `dislop_voice_extract` (`30` free credits/mo).
12
12
 
13
13
  ## Local References
14
14
 
@@ -28,28 +28,26 @@ description: Prevent, diagnose, and clean up AI slop in docs, RFCs, slide decks,
28
28
  5. Keep languages separate while keeping exact identifiers and units (`Q4`, `TPS`, `P99`, `42ms`).
29
29
  6. Avoid `href="#"`, unexplained `<button disabled>`, purple-pink gradients, pill walls (`> 6`), and `"Overview"` slide titles.
30
30
 
31
- ## 2. Run Offline CLI or Local MCP
31
+ ## 2. Run Local CLI Check (When Shell Is Available)
32
32
 
33
33
  Packs (`core` errors always on, or `--pack auto`): `business-brief`, `engineering-spec`, `regulated-comms`, `literary-essay`, `deck-and-ui`, `executive-deck`.
34
34
 
35
35
  ```bash
36
- npx --yes github:dislop-ai/dislop check <path> --pack auto --profile --ml --patterns --format json
37
- npx --yes github:dislop-ai/dislop voice <sample.md> -o .dislop.local/voice.json
38
- npx --yes github:dislop-ai/dislop model status
36
+ npx --yes dislop check <path> --pack auto --profile --ml --patterns --format json
37
+ npx --yes dislop explain <rule-id>
39
38
  ```
40
39
 
41
- Local stdio MCP (7 tools): `dislop_check`, `dislop_voice_extract_offline`, `dislop_model_score`, `dislop_model_status`, `dislop_explain`, `dislop_packs`, `dislop_catalog`.
40
+ ## 3. Revise in Context & Re-Check
42
41
 
43
- ## 3. Edit & Re-Check
42
+ Fix `core` `error` items first. If Official Cloud MCP (`dislop_review`) is connected, use its structured issues and guidance to revise with full project context. Keep numbers, qualifiers (`"up to"`, `"at least"`), URLs, and code spans exact, then re-run `dislop check`.
44
43
 
45
- Fix `core` `error` items first, inspect `dislop explain <rule-id>` as needed, keep numbers, qualifiers (`"up to"`, `"at least"`), URLs, and code spans exact, then re-run `dislop check`.
46
-
47
- ## Optional Cloud MCP
44
+ ## Official Cloud MCP
48
45
 
49
46
  ```json
50
47
  {
51
48
  "mcpServers": {
52
- "dislop-cloud": {
49
+ "dislop": {
50
+ "type": "http",
53
51
  "url": "https://dislop.com/mcp",
54
52
  "headers": {
55
53
  "Authorization": "Bearer dslp_your_token_here"
@@ -1,6 +1,6 @@
1
1
  interface:
2
2
  display_name: "dislop"
3
- short_description: "Catch AI slop in docs, Word/PPT decks, and web UI"
3
+ short_description: "Linter for AI Slop in docs, web UI, and slides"
4
4
  default_prompt: "Use $dislop to check my draft for AI slop, replacement slogans, and template UI while keeping every number, link, and qualifier intact."
5
5
  policy:
6
6
  allow_implicit_invocation: true
package/src/core.mjs CHANGED
@@ -3,7 +3,7 @@
3
3
  * Shared identically by Node CLI, Node MCP server, and Browser Workbench (`site/`).
4
4
  */
5
5
 
6
- export const ENGINE_VERSION = "0.6.0";
6
+ export const ENGINE_VERSION = "0.7.0";
7
7
 
8
8
  export const SEVERITY_RANK = {
9
9
  info: 1,
@@ -1387,6 +1387,14 @@ export function auditText(text, { filename = "<memory>", modality = null, pack,
1387
1387
  idx += 1;
1388
1388
  len -= 1;
1389
1389
  }
1390
+ if (
1391
+ rule.id === "unfilled-placeholder" &&
1392
+ text[idx] === "[" &&
1393
+ text[idx + len - 1] === "]" &&
1394
+ /^(?:\(|\[|:)/.test(text.slice(idx + len))
1395
+ ) {
1396
+ continue;
1397
+ }
1390
1398
  rawHits.push({ index: idx, length: len });
1391
1399
  }
1392
1400
  }
@@ -1827,7 +1835,11 @@ export function formatReport(report, format = "text", lang = "en") {
1827
1835
  const out = [];
1828
1836
  const skipNote = skipped.length > 0 ? `, ${skipped.length} skipped` : "";
1829
1837
  if (findings.length === 0 && unusedSuppressions.length === 0) {
1830
- out.push(`dislop: ok (${checkedCount} checked${skipNote}, 0 findings)`);
1838
+ out.push(
1839
+ lang === "zh"
1840
+ ? `dislop: 未发现已知模式(已检 ${checkedCount} 项${skipped.length > 0 ? `,跳过 ${skipped.length} 项` : ""},0 处命中)`
1841
+ : `dislop: no known patterns found (${checkedCount} checked${skipNote}, 0 findings)`
1842
+ );
1831
1843
  } else {
1832
1844
  out.push(`dislop: ${findings.length} finding(s) across ${checkedCount} checked file(s)${skipNote}`);
1833
1845
  for (const f of findings) {