De-AI-ify: Kill the Bot, Keep the Human
Strip AI-generated patterns from text and code. Not a grammar pass — a voice transplant.
Works on prose, code, commits, docstrings, academic papers. Anything an LLM touched.
How This Works
Two-pass audit. First pass catches the patterns. Second pass catches what the first pass missed — because removing AI patterns can itself create new ones (sterile, voiceless writing is just as obvious as slop).
Quick Start
/slopbuster <file_or_text> # Auto-detect mode, standard depth
/slopbuster <file> --mode text|code|academic # Force specific mode
/slopbuster <file> --depth quick|standard|deep
/slopbuster <file> --score-only # Just score, don't rewrite
Modes
Detect automatically from file extension and content, or specify explicitly.
| Mode |
Targets |
Rule files loaded |
text |
Prose, marketing, blog posts, docs, emails |
text-content, text-language, text-style, text-communication, text-structure |
code |
Source files, comments, naming, commits, docstrings |
code-comments, code-naming, code-commits, code-docstrings, code-quality, code-llm-tells |
academic |
Research papers, theses, abstracts |
academic (49 rules, section-specific) |
auto |
Detects from context |
Loads relevant rule files |
Depth Levels
| Depth |
What happens |
Best for |
quick |
Single pass, obvious patterns only, no scoring |
Fast edits, social copy |
standard |
Full pattern scan + two-pass audit + score + changelog |
Anything going public |
deep |
Full scan + voice calibration against writer's sample + style guide generation |
Ghostwriting, brand voice matching |
Default: standard
The Process
Step 1: Diagnose
Read the input. Load the relevant rule files based on mode. Identify every matching pattern. Score the original.
For text mode, read these rule files:
rules/text-content.md — significance inflation, promotional language, vague attributions, formulaic challenges
rules/text-language.md — AI vocabulary, copula avoidance, synonym cycling, false ranges, negative parallelisms, rule of three
rules/text-style.md — em dashes, boldface, inline-header lists, title case, emojis, curly quotes
rules/text-communication.md — chatbot artifacts, sycophancy, disclaimers, filler phrases, hedging, generic conclusions
rules/text-structure.md — structural anti-patterns and how to fix them
For code mode, read these rule files:
rules/code-comments.md — 18 comment anti-patterns
rules/code-naming.md — 14 naming anti-patterns
rules/code-commits.md — 10 commit message anti-patterns
rules/code-docstrings.md — 8 docstring anti-patterns
rules/code-quality.md — error handling, API design, test anti-patterns
rules/code-llm-tells.md — 14 structural code tells
For academic mode, read:
rules/academic.md — 49 rules across 10 groups with section-specific guidance
For voice and soul guidance (all modes), read:
guides/voice-and-soul.md — how to inject personality, not just strip patterns
guides/style-template.md — if deep mode, use this to build a custom voice profile
For scoring reference, read:
scoring.md — unified scoring system
Step 2: Rewrite
Apply pattern removals. Inject human voice markers (varied rhythm, specificity, opinion, contractions, active voice). Preserve meaning, facts, and key arguments.
Step 3: Two-Pass Audit
Ask yourself: "What still makes this obviously AI-generated?"
List the remaining tells in brief bullets.
Then revise again to kill those tells.
This step is critical. Removing AI patterns without adding soul produces sterile writing that's equally detectable — just by a different classifier.
Step 4: Score and Report
Score the final version. Generate a changelog. Flag anything that needs manual review.
Output Format
For Text Mode
ORIGINAL SCORE: 3.8/10 (AI-heavy)
MODE: text | DEPTH: standard
--- DRAFT REWRITE ---
[first pass rewrite]
--- WHAT'S STILL AI ABOUT THIS? ---
- [remaining tells as brief bullets]
--- FINAL VERSION ---
[second pass rewrite]
FINAL SCORE: 8.4/10 (human-like)
CHANGES MADE:
- Removed 7 hedging phrases ("It's important to note", "arguably")
- Replaced 4 corporate buzzwords ("leverage" -> "use")
- Fixed 3 robotic patterns (parallel structure overuse)
- Added 5 specific examples (replaced vague references)
- Shortened 8 sentences (>40 words -> 15-25 words)
FLAGS FOR MANUAL REVIEW:
- Paragraph 3: Still uses "various" — suggest specific companies
- Paragraph 7: Transition feels abrupt — consider adding context
FILE SAVED: example-HUMAN.md
For Code Mode
MODE: code | DEPTH: standard
FILES SCANNED: 3
--- CHANGES ---
src/auth.ts:
L12: Comment "// Initialize authentication" -> deleted (tautological)
L34: Variable `userDataObject` -> `user` (verbose compound name)
L67: Comment "// We validate the input" -> "// Reject expired tokens — see #1234"
COMMIT MSG REWRITE:
"Enhanced authentication flow with improved error handling"
-> "reject expired OAuth tokens at middleware boundary"
SCORE: 4.2 -> 8.1
For Academic Mode
MODE: academic | DEPTH: standard
FIELD: [detected or specified]
SECTION: [detected or specified]
--- DIAGNOSIS ---
- "plays a crucial role" — Group B Rule 6: significance filler
- "Moreover," — Group B Rule 5: transition padding
- "This finding suggests" — Group F Rule 25: abstract noun subject
--- REVISED TEXT ---
[revised version]
--- CHANGES ---
- [3-6 items with rationale]
SCORE: 3.5 -> 7.8
What Gets Killed (Pattern Summary)
Text: 24 Core Patterns
- Significance inflation ("pivotal moment", "testament to")
- Notability name-dropping (listing outlets without context)
- Superficial -ing analyses ("highlighting", "showcasing", "ensuring")
- Promotional language ("vibrant", "nestled", "groundbreaking", "breathtaking")
- Vague attributions ("experts argue", "industry reports suggest")
- Formulaic challenges ("Despite X... continues to thrive")
- AI vocabulary (delve, tapestry, landscape, interplay, foster, garner, pivotal)
- Copula avoidance ("serves as" instead of "is")
- Negative parallelisms ("not just X, it's Y")
- Rule of three (forcing everything into triads)
- Synonym cycling (rotating words for the same thing)
- False ranges ("from X to Y" without meaningful scale)
- Em dash overuse
- Boldface overuse
- Inline-header vertical lists
- Title case in headings
- Emoji as structure
- Curly quotation marks
- Chatbot artifacts ("I hope this helps!", "Let me know if...")
- Knowledge-cutoff disclaimers
- Sycophantic tone ("Great question!")
- Filler phrases ("in order to", "it is important to note")
- Excessive hedging
- Generic positive conclusions ("the future looks bright")
Code: 79 Patterns Across 6 Domains
- Comments: tautological, section headers, narrating obvious intent, hedge TODOs, "we" language, changelog comments, philosophical prose
- Naming: verbose compounds, Manager/Handler suffix abuse, Enhanced/Advanced prefixes, process/handle verbs, acronym avoidance, result catch-all
- Commits: vague verbs, "various/several", passive voice, past tense, misleading bodies
- Docstrings: tautological summaries, type redundancy, weak openings, filler phrases, happy-path only
- Quality: broad exception catches, generic error messages, boolean parameters, god functions, mock-heavy tests, happy-path-only tests
- LLM tells: commented-out alternatives, symmetrical code, placeholder values, defensive null-checks, tutorial-style comments
Academic: 49 Rules, 10 Groups
- Groups A-J covering meaning preservation, filler removal, punctuation, sentence patterns, voice, deep AI syntax, creative grammar, metaphor, logical closure, subject variety
What Gets Added
Not just subtraction. Good humanization requires injection too.
Read guides/voice-and-soul.md for the full guide. Quick summary:
- Varied sentence rhythm — mix short (5-10 words) and long (20-30 words)
- Opinions and reactions — "I genuinely don't know how to feel about this"
- Specific examples — replace "many companies" with actual names and data
- Contractions — "it's" not "it is" in casual content
- Active voice — "we tested" not "testing was conducted"
- Honest uncertainty — real humans have mixed feelings
- Mess — perfect structure feels algorithmic; let some tangents in
Configuration
Preserve Mode
/slopbuster document.md --preserve-formal
Keeps formal language. Removes obvious cliches only. Target: 7+/10. For white papers, case studies, business docs.
Academic Mode
/slopbuster paper.md --mode academic --field biomedical --section discussion
Preserves disciplinary conventions. Passive voice in Methods stays. Target: 6.5+/10.
Code Mode
/slopbuster src/ --mode code
Scans all source files. Rewrites comments, flags naming issues, suggests commit message fixes.
Voice Calibration (Deep Mode)
/slopbuster doc.md --depth deep --voice-sample author-sample.md
Analyzes the voice sample first, builds a style profile, then matches the rewrite to that voice.
Scoring
See scoring.md for the full system. Quick reference:
Human-ness scale (0-10):
- 0-3: Obviously AI (multiple cliches, robotic structure, AI vocabulary clusters)
- 4-5: AI-heavy (some human touches but needs serious work)
- 6-7: Mixed (could go either way, lacks strong voice)
- 8-9: Human-like (natural voice, minimal patterns)
- 10: Indistinguishable from a skilled human writer
Scoring uses three tiers:
- Tier 1 (3 pts each): AI-specific tells — "delve into", "tapestry of", sycophancy
- Tier 2 (2 pts each): Corporate/formal buzzwords — "synergy", "leverage", "circle back"
- Tier 3 (1 pt each): Weak signals — generic transitions, mild hedging, marketing language
Higher tier matches weigh more because they're stronger AI signals.
Sources and Attribution
Built from analyzing 1,000+ AI vs human content samples across marketing, technical, creative, and academic writing. Cross-referenced against peer-reviewed LLM detection research (Kobak et al. 2025, Liang et al. 2024, Juzek & Ward COLING 2025) and Wikipedia's Signs of AI writing (CC BY-SA 4.0).
Makes AI-generated content sound human again — in prose, code, and papers.
1---2name: slopbuster3description: AI text humanizer for prose, code, and academic writing. Strips AI-generated patterns and restores human voice. Use when editing or reviewing text to make it sound naturally human-written, when cleaning up AI-generated code comments and naming, or when revising academic papers flagged for AI patterns.4license: MIT5---67# De-AI-ify: Kill the Bot, Keep the Human89Strip AI-generated patterns from text and code. Not a grammar pass — a voice transplant.1011Works on prose, code, commits, docstrings, academic papers. Anything an LLM touched.1213## How This Works1415Two-pass audit. First pass catches the patterns. Second pass catches what the first pass missed — because removing AI patterns can itself create new ones (sterile, voiceless writing is just as obvious as slop).1617## Quick Start1819```20/slopbuster <file_or_text> # Auto-detect mode, standard depth21/slopbuster <file> --mode text|code|academic # Force specific mode22/slopbuster <file> --depth quick|standard|deep23/slopbuster <file> --score-only # Just score, don't rewrite24```2526## Modes2728Detect automatically from file extension and content, or specify explicitly.2930| Mode | Targets | Rule files loaded |31|------|---------|-------------------|32| `text` | Prose, marketing, blog posts, docs, emails | text-content, text-language, text-style, text-communication, text-structure |33| `code` | Source files, comments, naming, commits, docstrings | code-comments, code-naming, code-commits, code-docstrings, code-quality, code-llm-tells |34| `academic` | Research papers, theses, abstracts | academic (49 rules, section-specific) |35| `auto` | Detects from context | Loads relevant rule files |3637## Depth Levels3839| Depth | What happens | Best for |40|-------|-------------|----------|41| `quick` | Single pass, obvious patterns only, no scoring | Fast edits, social copy |42| `standard` | Full pattern scan + two-pass audit + score + changelog | Anything going public |43| `deep` | Full scan + voice calibration against writer's sample + style guide generation | Ghostwriting, brand voice matching |4445**Default: `standard`**4647## The Process4849### Step 1: Diagnose50Read the input. Load the relevant rule files based on mode. Identify every matching pattern. Score the original.5152For text mode, read these rule files:53- `rules/text-content.md` — significance inflation, promotional language, vague attributions, formulaic challenges54- `rules/text-language.md` — AI vocabulary, copula avoidance, synonym cycling, false ranges, negative parallelisms, rule of three55- `rules/text-style.md` — em dashes, boldface, inline-header lists, title case, emojis, curly quotes56- `rules/text-communication.md` — chatbot artifacts, sycophancy, disclaimers, filler phrases, hedging, generic conclusions57- `rules/text-structure.md` — structural anti-patterns and how to fix them5859For code mode, read these rule files:60- `rules/code-comments.md` — 18 comment anti-patterns61- `rules/code-naming.md` — 14 naming anti-patterns62- `rules/code-commits.md` — 10 commit message anti-patterns63- `rules/code-docstrings.md` — 8 docstring anti-patterns64- `rules/code-quality.md` — error handling, API design, test anti-patterns65- `rules/code-llm-tells.md` — 14 structural code tells6667For academic mode, read:68- `rules/academic.md` — 49 rules across 10 groups with section-specific guidance6970For voice and soul guidance (all modes), read:71- `guides/voice-and-soul.md` — how to inject personality, not just strip patterns72- `guides/style-template.md` — if deep mode, use this to build a custom voice profile7374For scoring reference, read:75- `scoring.md` — unified scoring system7677### Step 2: Rewrite78Apply pattern removals. Inject human voice markers (varied rhythm, specificity, opinion, contractions, active voice). Preserve meaning, facts, and key arguments.7980### Step 3: Two-Pass Audit81Ask yourself: *"What still makes this obviously AI-generated?"*82List the remaining tells in brief bullets.83Then revise again to kill those tells.8485This step is critical. Removing AI patterns without adding soul produces sterile writing that's equally detectable — just by a different classifier.8687### Step 4: Score and Report88Score the final version. Generate a changelog. Flag anything that needs manual review.8990## Output Format9192### For Text Mode9394```95ORIGINAL SCORE: 3.8/10 (AI-heavy)96MODE: text | DEPTH: standard9798--- DRAFT REWRITE ---99[first pass rewrite]100101--- WHAT'S STILL AI ABOUT THIS? ---102- [remaining tells as brief bullets]103104--- FINAL VERSION ---105[second pass rewrite]106107FINAL SCORE: 8.4/10 (human-like)108109CHANGES MADE:110- Removed 7 hedging phrases ("It's important to note", "arguably")111- Replaced 4 corporate buzzwords ("leverage" -> "use")112- Fixed 3 robotic patterns (parallel structure overuse)113- Added 5 specific examples (replaced vague references)114- Shortened 8 sentences (>40 words -> 15-25 words)115116FLAGS FOR MANUAL REVIEW:117- Paragraph 3: Still uses "various" — suggest specific companies118- Paragraph 7: Transition feels abrupt — consider adding context119120FILE SAVED: example-HUMAN.md121```122123### For Code Mode124125```126MODE: code | DEPTH: standard127FILES SCANNED: 3128129--- CHANGES ---130src/auth.ts:131 L12: Comment "// Initialize authentication" -> deleted (tautological)132 L34: Variable `userDataObject` -> `user` (verbose compound name)133 L67: Comment "// We validate the input" -> "// Reject expired tokens — see #1234"134135COMMIT MSG REWRITE:136 "Enhanced authentication flow with improved error handling"137 -> "reject expired OAuth tokens at middleware boundary"138139SCORE: 4.2 -> 8.1140```141142### For Academic Mode143144```145MODE: academic | DEPTH: standard146FIELD: [detected or specified]147SECTION: [detected or specified]148149--- DIAGNOSIS ---150- "plays a crucial role" — Group B Rule 6: significance filler151- "Moreover," — Group B Rule 5: transition padding152- "This finding suggests" — Group F Rule 25: abstract noun subject153154--- REVISED TEXT ---155[revised version]156157--- CHANGES ---158- [3-6 items with rationale]159160SCORE: 3.5 -> 7.8161```162163## What Gets Killed (Pattern Summary)164165### Text: 24 Core Patterns1661. Significance inflation ("pivotal moment", "testament to")1672. Notability name-dropping (listing outlets without context)1683. Superficial -ing analyses ("highlighting", "showcasing", "ensuring")1694. Promotional language ("vibrant", "nestled", "groundbreaking", "breathtaking")1705. Vague attributions ("experts argue", "industry reports suggest")1716. Formulaic challenges ("Despite X... continues to thrive")1727. AI vocabulary (delve, tapestry, landscape, interplay, foster, garner, pivotal)1738. Copula avoidance ("serves as" instead of "is")1749. Negative parallelisms ("not just X, it's Y")17510. Rule of three (forcing everything into triads)17611. Synonym cycling (rotating words for the same thing)17712. False ranges ("from X to Y" without meaningful scale)17813. Em dash overuse17914. Boldface overuse18015. Inline-header vertical lists18116. Title case in headings18217. Emoji as structure18318. Curly quotation marks18419. Chatbot artifacts ("I hope this helps!", "Let me know if...")18520. Knowledge-cutoff disclaimers18621. Sycophantic tone ("Great question!")18722. Filler phrases ("in order to", "it is important to note")18823. Excessive hedging18924. Generic positive conclusions ("the future looks bright")190191### Code: 79 Patterns Across 6 Domains192- **Comments**: tautological, section headers, narrating obvious intent, hedge TODOs, "we" language, changelog comments, philosophical prose193- **Naming**: verbose compounds, Manager/Handler suffix abuse, Enhanced/Advanced prefixes, process/handle verbs, acronym avoidance, result catch-all194- **Commits**: vague verbs, "various/several", passive voice, past tense, misleading bodies195- **Docstrings**: tautological summaries, type redundancy, weak openings, filler phrases, happy-path only196- **Quality**: broad exception catches, generic error messages, boolean parameters, god functions, mock-heavy tests, happy-path-only tests197- **LLM tells**: commented-out alternatives, symmetrical code, placeholder values, defensive null-checks, tutorial-style comments198199### Academic: 49 Rules, 10 Groups200- Groups A-J covering meaning preservation, filler removal, punctuation, sentence patterns, voice, deep AI syntax, creative grammar, metaphor, logical closure, subject variety201202## What Gets Added203204Not just subtraction. Good humanization requires injection too.205206Read `guides/voice-and-soul.md` for the full guide. Quick summary:207- **Varied sentence rhythm** — mix short (5-10 words) and long (20-30 words)208- **Opinions and reactions** — "I genuinely don't know how to feel about this"209- **Specific examples** — replace "many companies" with actual names and data210- **Contractions** — "it's" not "it is" in casual content211- **Active voice** — "we tested" not "testing was conducted"212- **Honest uncertainty** — real humans have mixed feelings213- **Mess** — perfect structure feels algorithmic; let some tangents in214215## Configuration216217### Preserve Mode218```219/slopbuster document.md --preserve-formal220```221Keeps formal language. Removes obvious cliches only. Target: 7+/10. For white papers, case studies, business docs.222223### Academic Mode224```225/slopbuster paper.md --mode academic --field biomedical --section discussion226```227Preserves disciplinary conventions. Passive voice in Methods stays. Target: 6.5+/10.228229### Code Mode230```231/slopbuster src/ --mode code232```233Scans all source files. Rewrites comments, flags naming issues, suggests commit message fixes.234235### Voice Calibration (Deep Mode)236```237/slopbuster doc.md --depth deep --voice-sample author-sample.md238```239Analyzes the voice sample first, builds a style profile, then matches the rewrite to that voice.240241## Scoring242243See `scoring.md` for the full system. Quick reference:244245**Human-ness scale (0-10):**246- **0-3:** Obviously AI (multiple cliches, robotic structure, AI vocabulary clusters)247- **4-5:** AI-heavy (some human touches but needs serious work)248- **6-7:** Mixed (could go either way, lacks strong voice)249- **8-9:** Human-like (natural voice, minimal patterns)250- **10:** Indistinguishable from a skilled human writer251252**Scoring uses three tiers:**253- Tier 1 (3 pts each): AI-specific tells — "delve into", "tapestry of", sycophancy254- Tier 2 (2 pts each): Corporate/formal buzzwords — "synergy", "leverage", "circle back"255- Tier 3 (1 pt each): Weak signals — generic transitions, mild hedging, marketing language256257Higher tier matches weigh more because they're stronger AI signals.258259## Sources and Attribution260261Built from analyzing 1,000+ AI vs human content samples across marketing, technical, creative, and academic writing. Cross-referenced against peer-reviewed LLM detection research (Kobak et al. 2025, Liang et al. 2024, Juzek & Ward COLING 2025) and Wikipedia's [Signs of AI writing](https://en.wikipedia.org/wiki/Wikipedia:Signs_of_AI_writing) (CC BY-SA 4.0).262263---264265**Makes AI-generated content sound human again — in prose, code, and papers.**