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.2.0.tar.gz (12.0 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.2.0-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deslop-0.2.0.tar.gz
  • Upload date:
  • Size: 12.0 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.2.0.tar.gz
Algorithm Hash digest
SHA256 bb65f5b5069e7947f308418b6c0f070cc51a09ac2ca8a2a306cbeff368f9c35e
MD5 c7a10e4362621a66b2ec903e55ab390e
BLAKE2b-256 f9b950d69a0114c2a12b91d173de730928e2b9dbd3ad2d2b14d75f848c6266d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deslop-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 19.3 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c640b549925d1b01053b1aa1cdfde2c247e1185ed744afb33732ab5f8d2401d
MD5 fa65ade4dd8eeda761a7ecea209412b6
BLAKE2b-256 77e444b0ff02462312f07fa45810250398af3da795146a5a9b61771f3b5c2a36

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