Metadata-Version: 2.4
Name: deslop
Version: 0.2.0
Summary: CLI tool to rewrite documents so they sound less like AI slop
Project-URL: Homepage, https://github.com/ai-that-works/deslop
Project-URL: Repository, https://github.com/ai-that-works/deslop
Author: AI That Works Contributors
License-Expression: MIT
License-File: LICENSE
Keywords: ai,cli,editing,llm,writing
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Text Processing
Requires-Python: >=3.10
Requires-Dist: baml-py==0.220.0
Requires-Dist: pydantic>=2.0
Description-Content-Type: text/markdown

# deslop

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

## Installation

```bash
pip install deslop
```

Or with uv:

```bash
uv pip install deslop
```

## Usage

Set your Anthropic API key:

```bash
export ANTHROPIC_API_KEY=your-api-key
```

Then run deslop on a file:

```bash
# 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
