DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to edit a file from the terminal and gate on approval with Zero Slop

Send a file to the hosted editor with the CLI and exit nonzero when review is needed.

Short answer: Confirm Node.js 22+ is installed; then run npx --yes [email protected] deslop draft.md --genre professional to get the edited result; add --json to get structured output, or use - to read from stdin. All steps.

  • Content
  • Advanced
  • 30 minutes
  • From the README
  • Any agent

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

  1. Confirm Node.js 22+ is installed.
  2. Run npx --yes [email protected] deslop draft.md --genre professional to get the edited result.
  3. Add --json to get structured output, or use - to read from stdin.
  4. Add --require-approved so the command exits nonzero when review is needed.
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer