{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "manavmishra-zeroslop--deslop-files-from-command-line",
 "repo": "manavmishra/ZeroSlop",
 "repo_url": "https://github.com/manavmishra/ZeroSlop",
 "repo_slug": "manavmishra-zeroslop",
 "title": "Edit a file from the terminal and gate on approval",
 "page_title": "How to edit a file from the terminal and gate on approval with Zero Slop",
 "summary": "Send a file to the hosted editor with the CLI and exit nonzero when review is needed.",
 "who": "A developer or technical writer who wants slop removal as a step in a terminal workflow or script.",
 "problem": "Manual copy-paste into a web editor breaks repeatable workflows, and scripts need a pass or fail signal.",
 "outcome": "Edited text printed to the terminal, with a nonzero exit code when the result still needs human review.",
 "steps": [
  "Confirm Node.js 22+ is installed.",
  "Run `npx --yes zero-slop@2.12.26 deslop draft.md --genre professional` to get the edited result.",
  "Add `--json` to get structured output, or use `-` to read from stdin.",
  "Add `--require-approved` so the command exits nonzero when review is needed.",
  "Read the CLI options and privacy notes in docs/cli.md before running on private text."
 ],
 "agent_prompt": "Run npx --yes zero-slop@2.12.26 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.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/manavmishra-zeroslop/deslop-files-from-command-line/",
 "md": "https://dedupedai.com/use-cases/manavmishra-zeroslop/deslop-files-from-command-line/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/manavmishra-zeroslop--deslop-files-from-command-line.json",
 "api_version": "v1"
}
