zero-slop 2.12.2 → 2.12.5

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.
package/README.md CHANGED
@@ -1,40 +1,19 @@
1
- <p align="center">
2
- <a href="https://zero-slop.ai">
3
- <picture>
4
- <source media="(prefers-color-scheme: dark)" srcset="assets/logo/zero-slop-logo-reversed.svg">
5
- <img src="assets/logo/zero-slop-logo-primary.svg" width="360" alt="Zero Slop">
6
- </picture>
7
- </a>
8
- </p>
9
-
10
- <p align="center"><strong>Edit AI-assisted writing without losing the details.</strong></p>
11
-
12
- <p align="center">
13
- Zero Slop is an open-source skill that finds stock phrases, repetition, vague claims, and mechanical rhythm.<br>
14
- Your AI assistant edits the draft. Local tools check its names, numbers, links, quotations, code, tables, and paths against the original.
15
- </p>
16
-
17
- <p align="center">
18
- <a href="https://zero-slop.ai/try/"><strong>Try it in your browser</strong></a>
19
- ·
20
- <a href="#quick-start">Install the skill</a>
21
- ·
22
- <a href="#evidence-and-limits">See the evidence</a>
23
- ·
24
- <a href="https://github.com/manavmishra/ZeroSlop/releases/latest">Latest release</a>
25
- ·
26
- <a href="https://zero-slop.ai/brand/">Brand assets</a>
27
- </p>
28
-
29
- <p align="center">
30
- <a href="https://github.com/manavmishra/ZeroSlop/actions/workflows/validate.yml"><img alt="Validate" src="https://github.com/manavmishra/ZeroSlop/actions/workflows/validate.yml/badge.svg"></a>
31
- <img alt="Version 2.12.2" src="https://img.shields.io/badge/version-2.12.2-72528F?color=C15732">
32
- <a href="https://www.npmjs.com/package/zero-slop"><img alt="npm version" src="https://img.shields.io/npm/v/zero-slop?color=C15732"></a>
33
- <a href="https://www.npmjs.com/package/zero-slop"><img alt="npm downloads" src="https://img.shields.io/npm/dm/zero-slop?color=17634F"></a>
34
- <a href="https://github.com/manavmishra/ZeroSlop/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/manavmishra/ZeroSlop?style=flat&color=C15732"></a>
35
- <a href="LICENSE"><img alt="MIT license" src="https://img.shields.io/badge/license-MIT-141412"></a>
36
- <a href="https://hol.org/registry/plugins/manav-mishra%2Fzero-slop"><img alt="Listed in the HOL plugin registry" src="https://img.shields.io/badge/HOL%20registry-listed-2C6E8F"></a>
37
- </p>
1
+ <picture>
2
+ <source media="(prefers-color-scheme: dark)" srcset="assets/logo/zero-slop-logo-reversed.svg">
3
+ <img src="assets/logo/zero-slop-logo-primary.svg" width="180" alt="Zero Slop">
4
+ </picture>
5
+
6
+ # Zero Slop
7
+
8
+ Find and remove AI slop in your writing. Get rid of workslop without losing your core intent and message.
9
+
10
+ Zero Slop is a free, open-source set of instructions and checks for an AI assistant. The assistant edits your draft. The local tools flag stock language and compare names, numbers, links, quotations, code, tables, and paths with the original. If your ChatGPT setup does not support skills, [try the browser editor](https://zero-slop.ai/try/) without installing anything.
11
+
12
+ <img alt="Version 2.12.5" src="https://img.shields.io/badge/version-2.12.5-72528F?color=C15732">
13
+
14
+ ## Why it exists
15
+
16
+ An AI draft can be grammatical and still sound like everybody else's. Asking for a rewrite can also change a number or smooth away your point. Zero Slop tells your assistant what to cut, then checks the result against your original. The writing score finds patterns worth reviewing; it cannot tell who wrote the text.
38
17
 
39
18
  <a href="assets/zero-slop-demo.mp4?v=dark-shell-restored-20260906">
40
19
  <picture>
@@ -50,7 +29,7 @@ Here is a short launch draft:
50
29
 
51
30
  > We're thrilled to announce that our team has leveraged cutting-edge machine learning to deliver a seamless onboarding experience, reducing setup time by 40%.
52
31
 
53
- The local scorer rates it 99.3/100. Lower is better. It flags “We're thrilled
32
+ The local scorer gives it 99.3/100. Lower is better. It flags “We're thrilled
54
33
  to,” “leveraged,” “cutting-edge,” and “seamless.”
55
34
 
56
35
  An edit that keeps the stated result:
@@ -62,13 +41,15 @@ Writing score: 9.5/100 [clear]
62
41
  Flagged phrases : 0 across 10 words
63
42
  ```
64
43
 
65
- The result still claims a 40% reduction in setup time. Scores describe writing patterns; they cannot identify the author. See four complete pairs in [`examples/`](examples/).
44
+ The result still claims a 40% reduction in setup time. See four complete pairs in [`examples/`](examples/).
66
45
 
67
46
  Use it on launch posts, changelogs, emails, or research summaries. You can score drafts without editing.
68
47
 
69
48
  ## Quick start
70
49
 
71
- Install it in an assistant that supports skills:
50
+ To try the browser editor, use a sample you are comfortable sending to a hosted service. Compare its edit with your original before you use it. The slash command below works only in an assistant where you have installed the skill.
51
+
52
+ If you use Claude Code, Codex, or another assistant that supports skills, install Zero Slop there:
72
53
 
73
54
  ```sh
74
55
  npx skills add manavmishra/ZeroSlop --global
@@ -78,66 +59,15 @@ npx skills add manavmishra/ZeroSlop --global
78
59
  /zero-slop (your writing)
79
60
  ```
80
61
 
81
- To inspect without rewriting, use `/zero-slop inspect (your writing)`. Or [try the browser editor](https://zero-slop.ai/try/).
82
-
83
- ### Other ways to use it
84
-
85
- | Environment | Fastest route |
86
- |---|---|
87
- | Claude Code, Codex, Cursor, OpenCode, Warp, Zed | `npx skills add manavmishra/ZeroSlop --global` |
88
- | Gemini CLI | `gemini extensions install https://github.com/manavmishra/ZeroSlop --auto-update` |
89
- | Claude Code plugin | `/plugin marketplace add manavmishra/ZeroSlop`, then `/plugin install zero-slop@zero-slop` |
90
- | Any assistant with file uploads | Download the [single-file bundle](https://github.com/manavmishra/ZeroSlop/releases/latest/download/zero-slop-single-file.md) |
91
- | Claude.ai | Upload the [latest skill ZIP](https://github.com/manavmishra/ZeroSlop/releases/latest/download/zero-slop.zip) |
92
- | ChatGPT, Claude, Grok, Gemini, Cursor, or another MCP client | Connect the optional [hosted MCP server](mcp/README.md) |
93
-
94
- For a local score without a model call:
95
-
96
- ```sh
97
- npx zero-slop score draft.md
98
- ```
99
-
100
- From a cloned checkout, check a folder against the review threshold of 25:
101
-
102
- ```sh
103
- python3 scripts/slopscore.py --batch drafts/ --gate 25
104
- ```
105
-
106
- Installed checks run locally; skill editing follows your assistant's privacy settings. The [hosted MCP service](mcp/README.md) and browser editor process drafts remotely with Workers AI.
107
-
108
- For an MCP client, use this endpoint:
109
-
110
- ```text
111
- https://mcp.zero-slop.ai/mcp
112
- ```
62
+ To see the flagged passages without an edit, use `/zero-slop inspect (your writing)`.
113
63
 
114
- [Connection options and listing status](DISTRIBUTION.md).
115
-
116
- ## Edit from the command line
117
-
118
- The CLI sends a file to the hosted editor without changing the file on disk:
119
-
120
- ```sh
121
- npx --yes zero-slop@2.12.2 deslop draft.md --genre professional
122
- ```
123
-
124
- Use `-` for stdin and `--json` for structured output. `--require-approved` prints the result but exits nonzero when review is needed. Requires Node.js 22+; offline `score` also needs Python 3. [CLI options and privacy](docs/cli.md).
125
-
126
- ## Call the REST API
127
-
128
- ```sh
129
- curl --fail-with-body --max-time 75 https://mcp.zero-slop.ai/v1/deslop \
130
- -H 'Content-Type: application/json' \
131
- --data '{"text":"Maya owns the pricing review.","genre":"professional"}'
132
- ```
64
+ The command above works with Claude Code and Codex. In Claude.ai, upload the [skill ZIP](https://github.com/manavmishra/ZeroSlop/releases/latest/download/zero-slop.zip). [Other installation paths](DISTRIBUTION.md) include Gemini CLI and remote MCP connections where your client allows them. You can also [score a file locally](#local-scoring) without a model call.
133
65
 
134
- REST returns the same result as MCP. Check `status` before using an edit. Shared free capacity accepts up to 20,000 Unicode code points after trimming. Hosted CLI and REST editing process drafts remotely without storing them.
135
-
136
- [API reference](docs/rest-api.md) · [OpenAPI contract](https://mcp.zero-slop.ai/openapi.json)
66
+ The installed checks run locally, while the assistant that edits your text follows its own privacy settings. The browser editor and [hosted MCP service](mcp/README.md) send drafts to Workers AI. Check your organization's rules before using any of these with sensitive text.
137
67
 
138
68
  ## What it does
139
69
 
140
- The installed skill ships no model. Your AI assistant, whether Claude, GPT, or another compatible model, reads and edits the draft. The skill supplies the workflow and local tools: a 0–100 writing score, source-detail checks, and a final comparison with the original. The eight stages divide the work.
70
+ The installed skill ships no model. Your AI assistant, whether Claude, GPT, or another compatible model, reads and edits the draft. The skill supplies the workflow and local tools: a 0 to 100 writing score, source-detail checks, and a final comparison with the original.
141
71
 
142
72
  Use the score to locate passages worth reviewing. Optional private learning records reason-labelled corrections you provide; it does not learn a complete writing style.
143
73
 
@@ -179,9 +109,7 @@ If repair fails, the editor returns the safest edit with a warning and stops the
179
109
 
180
110
  ### Optional reader review
181
111
 
182
- Ask: **“Review this for backend engineers. Where would they stop reading? Don't rewrite it.”** An optional skim, passage reactions, and notes-only recall return comments. Simulated reactions cannot establish human behavior. Sequential review needs isolated contexts; see the [privacy and reporting limits](references/reader-review.md). Hosted calls are unchanged.
183
-
184
- Inspired by [First Reader](bench/first-reader/), which only reviews. Zero Slop also rewrites and checks source details. Neither has established human-reader accuracy; First Reader has no invented rewrite score.
112
+ You can ask the skill where a particular audience might stop reading without requesting an edit. The [reader-review guide](references/reader-review.md) explains the limits: simulated reactions are not evidence of what real readers prefer. This optional mode adds no hosted model calls.
185
113
 
186
114
  ## Evidence and limits
187
115
 
@@ -214,9 +142,7 @@ Zero Slop's outputs came from v2.5.9; newer versions only rescore them. The curr
214
142
 
215
143
  On 75 labelled antithesis pairs, the reading pass reached 91.2% recall across the full set, 100% recall on shapes in reach, and 100% precision. We constructed and labelled them; this is a regression test, not field accuracy.
216
144
 
217
- Local timings exclude AI editing. On one Apple silicon Mac, the scorer processed 1,000 documents in a median 1.9929 seconds (501.8 per second), with five runs ranging from 1.9614 to 2.0945 seconds. A 15,201-word document took a median 0.3223 seconds; the slowest stress case took 2.2932 seconds; learning from an 8,000-word edit took 0.1592 seconds. [Machine and results](bench/performance-results.json).
218
-
219
- Across 12 interleaved runs against 2.7.7, median throughput was 0.26% lower, within the 5% regression limit. The two-way replay used Zero Slop v2.6.0. These local timings are not a service-level guarantee.
145
+ Local timings exclude AI editing. On one Apple silicon Mac, the scorer checked 1,000 documents in a median 1.9929 seconds (501.8 per second). Across 12 interleaved runs against 2.7.7, it had 0.26% lower median throughput, within the 5% regression limit. The two-way replay used Zero Slop v2.6.0. [Machine and results](bench/performance-results.json). These timings are not a service-level guarantee.
220
146
 
221
147
  The [RAID+ audit](bench/raid-plus-corpus/README.md) asks a different question: how often does the scorer flag writing from different models? The pinned sample contains 7,627 usable generations:
222
148
 
@@ -245,6 +171,56 @@ You decide whether to teach Zero Slop a preference. Give it an original output,
245
171
 
246
172
  A profile selected by name can exempt existing watchlist words. It does not learn your cadence, tone, or entire writing style.
247
173
 
174
+ ## For developers
175
+
176
+ ### Hosted MCP
177
+
178
+ The endpoint for compatible clients is:
179
+
180
+ ```text
181
+ https://mcp.zero-slop.ai/mcp
182
+ ```
183
+
184
+ [Connection options](mcp/README.md).
185
+
186
+ For Gemini CLI, run `gemini extensions install https://github.com/manavmishra/ZeroSlop --auto-update`. For file-upload assistants, download the [single-file bundle](https://github.com/manavmishra/ZeroSlop/releases/latest/download/zero-slop-single-file.md).
187
+
188
+ ### Local scoring
189
+
190
+ Score a file without sending it to a model:
191
+
192
+ ```sh
193
+ npx zero-slop score draft.md
194
+ ```
195
+
196
+ From a cloned checkout, check a folder against the review threshold of 25:
197
+
198
+ ```sh
199
+ python3 scripts/slopscore.py --batch drafts/ --gate 25
200
+ ```
201
+
202
+ ### Command line
203
+
204
+ The CLI sends a file to the hosted editor without changing the file on disk:
205
+
206
+ ```sh
207
+ npx --yes zero-slop@2.12.5 deslop draft.md --genre professional
208
+ ```
209
+
210
+ Use `-` for stdin and `--json` for structured output. `--require-approved` prints the result but exits nonzero when review is needed. Requires Node.js 22+; offline `score` also needs Python 3. [CLI options and privacy](docs/cli.md).
211
+
212
+ ### REST API
213
+
214
+ The REST API accepts the same edit request:
215
+
216
+ ```sh
217
+ curl --fail-with-body --max-time 75 https://mcp.zero-slop.ai/v1/deslop \
218
+ -H 'Content-Type: application/json' \
219
+ --data '{"text":"Maya owns the pricing review.","genre":"professional"}'
220
+ ```
221
+
222
+ Check `status` before using an edit. Shared free capacity accepts up to 20,000 Unicode code points after trimming. [API reference](docs/rest-api.md) · [OpenAPI contract](https://mcp.zero-slop.ai/openapi.json)
223
+
248
224
  ## Find the source
249
225
 
250
226
  | Path | Purpose |
package/SKILL.md CHANGED
@@ -2,7 +2,7 @@
2
2
  name: zero-slop
3
3
  license: MIT
4
4
  metadata:
5
- version: "2.12.2"
5
+ version: "2.12.5"
6
6
  author: manavmishra
7
7
  description: Edit drafts into natural prose, inspect AI-sounding patterns, or review how a specified audience might respond passage by passage. Zero Slop runs inside the user's existing AI assistant with local tools that protect source details. Use for humanizing or de-slopping writing, polishing outward-facing prose, social drafts, final editorial checks, or an explicit simulated reader review. Preserve facts, voice and format; reader simulations are hypotheses, not human feedback.
8
8
  ---
package/docs/cli.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Use `deslop` for hosted editing with MCP parity. Use `score` for offline checks.
4
4
 
5
5
  ```sh
6
- npm install --global zero-slop@2.12.2
6
+ npm install --global zero-slop@2.12.5
7
7
  zero-slop deslop draft.md --genre professional
8
8
  zero-slop deslop - --genre email < draft.txt
9
9
  zero-slop deslop draft.md --json --require-approved
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zero-slop",
3
- "version": "2.12.2",
3
+ "version": "2.12.5",
4
4
  "description": "Find and fix canned AI writing while preserving the facts, voice, and format.",
5
5
  "mcpServers": {
6
6
  "zero-slop": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zero-slop",
3
- "version": "2.12.2",
3
+ "version": "2.12.5",
4
4
  "description": "An editing skill, offline writing checks, and a CLI for the hosted Zero Slop MCP pipeline. Find stock AI phrasing, rewrite, and check source details.",
5
5
  "bin": {
6
6
  "zero-slop": "bin/zero-slop.mjs"
package/plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "zero-slop",
4
- "version": "2.12.2",
4
+ "version": "2.12.5",
5
5
  "description": "Find and fix canned AI writing while preserving the facts, voice, and format.",
6
6
  "author": {
7
7
  "name": "Manav Mishra",