Humanize AI Text
Comprehensive CLI for detecting and transforming AI-generated text to bypass detectors. Based on Wikipedia's Signs of AI Writing.
Quick Start
# Detect AI patterns
python scripts/detect.py text.txt
# Transform to human-like
python scripts/transform.py text.txt -o clean.txt
# Compare before/after
python scripts/compare.py text.txt -o clean.txt
Detection Categories
The analyzer checks for 16 pattern categories from Wikipedia's guide:
Critical (Immediate AI Detection)
| Category |
Examples |
| Citation Bugs |
oaicite, turn0search, contentReference |
| Knowledge Cutoff |
"as of my last training", "based on available information" |
| Chatbot Artifacts |
"I hope this helps", "Great question!", "As an AI" |
| Markdown |
**bold**, ## headers, code blocks |
High Signal
| Category |
Examples |
| AI Vocabulary |
delve, tapestry, landscape, pivotal, underscore, foster |
| Significance Inflation |
"serves as a testament", "pivotal moment", "indelible mark" |
| Promotional Language |
vibrant, groundbreaking, nestled, breathtaking |
| Copula Avoidance |
"serves as" instead of "is", "boasts" instead of "has" |
Medium Signal
| Category |
Examples |
| Superficial -ing |
"highlighting the importance", "fostering collaboration" |
| Filler Phrases |
"in order to", "due to the fact that", "Additionally," |
| Vague Attributions |
"experts believe", "industry reports suggest" |
| Challenges Formula |
"Despite these challenges", "Future outlook" |
Style Signal
| Category |
Examples |
| Curly Quotes |
"" instead of "" (ChatGPT signature) |
| Em Dash Overuse |
Excessive use of — for emphasis |
| Negative Parallelisms |
"Not only... but also", "It's not just... it's" |
| Rule of Three |
Forced triplets like "innovation, inspiration, and insight" |
Scripts
detect.py — Scan for AI Patterns
python scripts/detect.py essay.txt
python scripts/detect.py essay.txt -j # JSON output
python scripts/detect.py essay.txt -s # score only
echo "text" | python scripts/detect.py
Output:
- Issue count and word count
- AI probability (low/medium/high/very high)
- Breakdown by category
- Auto-fixable patterns marked
transform.py — Rewrite Text
python scripts/transform.py essay.txt
python scripts/transform.py essay.txt -o output.txt
python scripts/transform.py essay.txt -a # aggressive
python scripts/transform.py essay.txt -q # quiet
Auto-fixes:
- Citation bugs (oaicite, turn0search)
- Markdown (**, ##, ```)
- Chatbot sentences
- Copula avoidance → "is/has"
- Filler phrases → simpler forms
- Curly → straight quotes
Aggressive (-a):
- Simplifies -ing clauses
- Reduces em dashes
compare.py — Before/After Analysis
python scripts/compare.py essay.txt
python scripts/compare.py essay.txt -a -o clean.txt
Shows side-by-side detection scores before and after transformation
Workflow
Scan for detection risk:
python scripts/detect.py document.txt
Transform with comparison:
python scripts/compare.py document.txt -o document_v2.txt
Verify improvement:
python scripts/detect.py document_v2.txt -s
Manual review for AI vocabulary and promotional language (requires judgment)
AI Probability Scoring
| Rating |
Criteria |
| Very High |
Citation bugs, knowledge cutoff, or chatbot artifacts present |
| High |
>30 issues OR >5% issue density |
| Medium |
>15 issues OR >2% issue density |
| Low |
<15 issues AND <2% density |
Customizing Patterns
Edit scripts/patterns.json to add/modify:
ai_vocabulary — words to flag
significance_inflation — puffery phrases
promotional_language — marketing speak
copula_avoidance — phrase → replacement
filler_replacements — phrase → simpler form
chatbot_artifacts — phrases triggering sentence removal
Batch Processing
# Scan all files
for f in *.txt; do
echo "=== $f ==="
python scripts/detect.py "$f" -s
done
# Transform all markdown
for f in *.md; do
python scripts/transform.py "$f" -a -o "${f%.md}_clean.md" -q
done
Reference
Based on Wikipedia's Signs of AI Writing, maintained by WikiProject AI Cleanup. Patterns documented from thousands of AI-generated text examples.
Key insight: "LLMs use statistical algorithms to guess what should come next. The result tends toward the most statistically likely result that applies to the widest variety of cases."
1---
2name: humanize-ai-text
3description: Humanize AI-generated text to bypass detection. This humanizer rewrites ChatGPT, Claude, and GPT content to sound natural and pass AI detectors like GPTZero, Turnitin, and Originality.ai. Based on Wikipedia's comprehensive "Signs of AI Writing" guide. Makes robotic AI writing undetectable and human-like.
4allowed-tools:
5 - Read
6 - Write
7 - StrReplace
8 - Glob
9metadata:
10 source: https://skillmd.com/skills/modbender/humanize-ai-text
11---
12
13# Humanize AI Text
14
15Comprehensive CLI for detecting and transforming AI-generated text to bypass detectors. Based on [Wikipedia's Signs of AI Writing](https://en.wikipedia.org/wiki/Wikipedia:Signs_of_AI_writing).
16
17## Quick Start
18
19```bash
20# Detect AI patterns
21python scripts/detect.py text.txt
22
23# Transform to human-like
24python scripts/transform.py text.txt -o clean.txt
25
26# Compare before/after
27python scripts/compare.py text.txt -o clean.txt
28```
29
30---
31
32## Detection Categories
33
34The analyzer checks for **16 pattern categories** from Wikipedia's guide:
35
36### Critical (Immediate AI Detection)
37| Category | Examples |
38|----------|----------|
39| Citation Bugs | `oaicite`, `turn0search`, `contentReference` |
40| Knowledge Cutoff | "as of my last training", "based on available information" |
41| Chatbot Artifacts | "I hope this helps", "Great question!", "As an AI" |
42| Markdown | `**bold**`, `## headers`, ``` code blocks ``` |
43
44### High Signal
45| Category | Examples |
46|----------|----------|
47| AI Vocabulary | delve, tapestry, landscape, pivotal, underscore, foster |
48| Significance Inflation | "serves as a testament", "pivotal moment", "indelible mark" |
49| Promotional Language | vibrant, groundbreaking, nestled, breathtaking |
50| Copula Avoidance | "serves as" instead of "is", "boasts" instead of "has" |
51
52### Medium Signal
53| Category | Examples |
54|----------|----------|
55| Superficial -ing | "highlighting the importance", "fostering collaboration" |
56| Filler Phrases | "in order to", "due to the fact that", "Additionally," |
57| Vague Attributions | "experts believe", "industry reports suggest" |
58| Challenges Formula | "Despite these challenges", "Future outlook" |
59
60### Style Signal
61| Category | Examples |
62|----------|----------|
63| Curly Quotes | "" instead of "" (ChatGPT signature) |
64| Em Dash Overuse | Excessive use of — for emphasis |
65| Negative Parallelisms | "Not only... but also", "It's not just... it's" |
66| Rule of Three | Forced triplets like "innovation, inspiration, and insight" |
67
68---
69
70## Scripts
71
72### detect.py — Scan for AI Patterns
73
74```bash
75python scripts/detect.py essay.txt
76python scripts/detect.py essay.txt -j # JSON output
77python scripts/detect.py essay.txt -s # score only
78echo "text" | python scripts/detect.py
79```
80
81**Output:**
82- Issue count and word count
83- AI probability (low/medium/high/very high)
84- Breakdown by category
85- Auto-fixable patterns marked
86
87### transform.py — Rewrite Text
88
89```bash
90python scripts/transform.py essay.txt
91python scripts/transform.py essay.txt -o output.txt
92python scripts/transform.py essay.txt -a # aggressive
93python scripts/transform.py essay.txt -q # quiet
94```
95
96**Auto-fixes:**
97- Citation bugs (oaicite, turn0search)
98- Markdown (**, ##, ```)
99- Chatbot sentences
100- Copula avoidance → "is/has"
101- Filler phrases → simpler forms
102- Curly → straight quotes
103
104**Aggressive (-a):**
105- Simplifies -ing clauses
106- Reduces em dashes
107
108### compare.py — Before/After Analysis
109
110```bash
111python scripts/compare.py essay.txt
112python scripts/compare.py essay.txt -a -o clean.txt
113```
114
115Shows side-by-side detection scores before and after transformation
116
117---
118
119## Workflow
120
1211. **Scan** for detection risk:
122 ```bash
123 python scripts/detect.py document.txt
124 ```
125
1262. **Transform** with comparison:
127 ```bash
128 python scripts/compare.py document.txt -o document_v2.txt
129 ```
130
1313. **Verify** improvement:
132 ```bash
133 python scripts/detect.py document_v2.txt -s
134 ```
135
1364. **Manual review** for AI vocabulary and promotional language (requires judgment)
137
138---
139
140## AI Probability Scoring
141
142| Rating | Criteria |
143|--------|----------|
144| Very High | Citation bugs, knowledge cutoff, or chatbot artifacts present |
145| High | >30 issues OR >5% issue density |
146| Medium | >15 issues OR >2% issue density |
147| Low | <15 issues AND <2% density |
148
149---
150
151## Customizing Patterns
152
153Edit `scripts/patterns.json` to add/modify:
154- `ai_vocabulary` — words to flag
155- `significance_inflation` — puffery phrases
156- `promotional_language` — marketing speak
157- `copula_avoidance` — phrase → replacement
158- `filler_replacements` — phrase → simpler form
159- `chatbot_artifacts` — phrases triggering sentence removal
160
161---
162
163## Batch Processing
164
165```bash
166# Scan all files
167for f in *.txt; do
168 echo "=== $f ==="
169 python scripts/detect.py "$f" -s
170done
171
172# Transform all markdown
173for f in *.md; do
174 python scripts/transform.py "$f" -a -o "${f%.md}_clean.md" -q
175done
176```
177
178---
179
180## Reference
181
182Based on Wikipedia's [Signs of AI Writing](https://en.wikipedia.org/wiki/Wikipedia:Signs_of_AI_writing), maintained by WikiProject AI Cleanup. Patterns documented from thousands of AI-generated text examples.
183
184Key insight: "LLMs use statistical algorithms to guess what should come next. The result tends toward the most statistically likely result that applies to the widest variety of cases."