Who it is forA developer or technical writer who wants slop removal as a step in a terminal workflow or script.
The problemManual copy-paste into a web editor breaks repeatable workflows, and scripts need a pass or fail signal.
The outcomeEdited text printed to the terminal, with a nonzero exit code when the result still needs human review.
What you need first
- Claude Code or Codex (or another assistant that supports agent skills) for the skill workflow
- Python 3 for the offline local scorer
- Node.js 22+ for the npx CLI and the score command
- Internet access if you use the hosted CLI, REST API, or MCP endpoint
Steps
- Confirm Node.js 22+ is installed.
- Run
npx --yes [email protected] deslop draft.md --genre professionalto get the edited result. - Add
--jsonto get structured output, or use-to read from stdin. - Add
--require-approvedso the command exits nonzero when review is needed. - Read the CLI options and privacy notes in docs/cli.md before running on private text.
Prompt for your agent
Run npx --yes [email protected] deslop <path-to-draft> --genre professional --json --require-approved on the file and report the status and the exit code. Verify that the source file on disk was not changed by the command.
Caveat. The CLI sends the file to the hosted editor, so check the privacy notes in docs/cli.md before using it on confidential drafts.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for manavmishra/ZeroSlop and "Edit a file from the terminal and gate on approval"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer