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.0.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.0-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deslop-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 abd7b8201bca4c55d0e1aa1602a9fdbb35d77e97c776f2c26adf882403a1c2a7
MD5 5e43e937c5113a118b49ccabd9c1edf4
BLAKE2b-256 969257723f36c421b9d7838a48fb3de307c6508923acea0eea7459cf721bfb04

See more details on using hashes here.

File details

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

File metadata

  • Download URL: deslop-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 149d02de611d4ae26cded205929a3de3d10feb94f4701771ad8ca072272dd2a6
MD5 52aeb439ec6cdabce7376009fc16a8cd
BLAKE2b-256 458d270417383426ea203e46f18da0255d02b9f8e1029a790a6b6ac6a30708e7

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