Skip to main content

CLI tool to rewrite documents so they sound less like AI slop

Project description

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:

  1. Identify slop patterns - Generic phrasing, repetitive structure, vague claims, unnatural transitions, empty intensifiers, etc.
  2. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deslop-0.1.1.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deslop-0.1.1-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file deslop-0.1.1.tar.gz.

File metadata

  • Download URL: deslop-0.1.1.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for deslop-0.1.1.tar.gz
Algorithm Hash digest
SHA256 281634c288de729fcebdd288afddc626071fd58c511ed39e1edb971c4f53a7d0
MD5 6c1510109f992353319d2690a96580c4
BLAKE2b-256 122e7b8c7a3338f6c65e56680c330db3d92b75649e024e07589f41f82021d574

See more details on using hashes here.

File details

Details for the file deslop-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: deslop-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for deslop-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 091f392a95e32127467dad7ed68ce6952f969814084442eed1ad27178d3a055c
MD5 d7f7eb5a526702457da5b823335861e5
BLAKE2b-256 d3702cb8abf60559ba75c773c7f70416d72fb3da632369745023a4951cdf2837

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page