unslop is a tool for removing traces of AI writing. According to the repository materials, it aims to "make AI output sound like human speech," removing AI clichés (sycophancy, stock words, diluted phrasing, stacked em dashes) while preserving code, URLs, and headings as-is. It is provided as a Claude Code plugin, also supports assistants such as Cursor, Windsurf, Codex, Cline, Copilot, and Gemini, and offers a standalone CLI.
Purpose and positioning
unslop targets scenarios where agent output needs to be cleaned up and made more human. The repository description states that most users are engineers, cleaning up agent output before delivery; it is also suitable for text that real people need to read, such as cover letters, articles, and LinkedIn posts. It offers two paths: a non-developer guide and a developer CLI.
Main capabilities
- Removes AI clichés: sycophantic openings, stock words, stacked diluted phrasing, piled-up em dashes, triadic parallelism, and more.
- Preserves code blocks, inline code, URLs, headings, YAML frontmatter, tables, blockquotes, and more as-is (byte-for-byte identical in deterministic mode).
- Catches newer AI traits: curly quotes, knowledge cutoff disclaimers, vague attribution, title casing, and repeated "- label:" bullet stacking.
- Five intensity modes: subtle (preserve structure, remove fingerprints), balanced (default), full (rewrite with opinions), voice-match (imitate a sample style), anti-detector (increase sentence variation, contractions, and specificity, used to defend against ESL misjudgment, does not guarantee bypassing GPTZero).
- Audit-only lint mode: detect only, do not modify.
- Reasoning trace cleanup: can strip <thinking>, <analysis>, <reasoning>, and <scratchpad> wrappers and the ## Plan section, with side files retaining the original traces.
- Persistent voice-match: saves a numerical style profile from the user's writing samples (sentence length variance, contraction rate, pronoun ratio), without storing text samples.
- Surprisal variance reading: --surprisal-variance returns the DivEye signal, using local distilgpt2 to compute the per-token log probability.
- Optional detector feedback: score text with a TMR detector via a CLI option, and alongMode ladder upgrade report.
How to use
- Claude Code plugin: paste the install in a Claude Code session, restart, then enter /unslop to enable it; a [unslop:BALANCED] badge appears in the status bar. Use stop unslop to turn it off, /unslop full to raise the intensity, and /unslop-help to view all commands.
- Cursor: open the cloned folder, and the project rule .cursor/rules/unslop.mdc loads automatically; a Cursor plugin manifest is also provided, but the marketplace listing is not yet live.
- Windsurf or Cline: open the cloned folder, and .windsurf/rules/unslop.md and .clinerules/unslop.md load automatically.
- Gemini CLI: reads gemini-extension.json and loads GEMINI.md and the unslop skill.
- Codex: clone the repository and open it; Codex reads the root AGENTS.md before starting.
- Manual hook installation: for forks, isolated environments, or scenarios requiring explicit file writes, copy the hook scripts to ~/.claude/hooks/ and register SessionStart and UserPromptSubmit in settings.json.
- Standalone CLI: install with pipx install unslop; for LLM mode, install pipx install 'unslop[llm]'.
Use cases
- Clean up text such as agent output, commit messages, PR descriptions, and documentation.
- Write cover letters, articles, LinkedIn posts, and other text that needs a human touch.
- Developer workflows that need to preserve code, URLs, and headings.
- Non-developers can get started quickly via GETTING_STARTED.md.
Limitations
- Does not change the meaning of the text, only the tone.
- Deterministic surface rewrites have limited impact on detector scores (tests show movement of only 0.0–0.2 percentage points).
- anti-detector mode does not guarantee bypassing GPTZero; it is mainly used to defend against false positives for non-native English.
- Scenarios requiring ANTHROPIC_API_KEY: default LLM CLI mode, evaluation tests,using voice-match and full mode outside the assistant.
- No telemetry, no analytics, no callbacks. Plugin hooks run locally; the CLI calls the configured API (Anthropic, or no network with --deterministic).
- The first use of --surprisal-variance downloads distilgpt2 (about 330 MB); after that, CPU inference takes about 1 second.
- Not recommended for text that requires precise reading (contracts, drug interaction warnings, deployment manuals).
- Rewrites may smooth over misremembered numbers and make them sound confident; after humanizing, facts need to be re-verified.
- The Cursor plugin marketplace listing is not yet live.
- Origin of the name: Slop refers to residual RLHF preference training, and unslop is the removal operation.