Deslop
CLI tool to rewrite documents so they sound less like AI slop
Install / Use
/learn @ai-that-works/DeslopREADME
deslop
A CLI tool to rewrite documents so they sound less like AI slop.
Installation
pip install deslop
Or with uv:
uv pip install deslop
Usage
Set your Anthropic API key:
export ANTHROPIC_API_KEY=your-api-key
Then run deslop on a file:
# Read from file, write to stdout
deslop path/to/document.md
# Read from stdin
cat draft.md | deslop -
# Write to a file
deslop draft.md -o cleaned.md
How it works
Deslop uses Claude to:
- Identify slop patterns - Generic phrasing, repetitive structure, vague claims, unnatural transitions, empty intensifiers, etc.
- Rewrite the document - Fix all identified patterns while preserving meaning and structure
Requirements
- Python 3.10+
- Anthropic API key (uses Claude Opus 4.5)
License
MIT
