Li human skill

Strip the machine fingerprint out of any draft - em dashes, AI slop words, invisible watermark characters - and score it against a five-check detection panel before it goes out.

by Jakeschincariol·MIT license·★ 1,856 Stars on the repo·GitHub ↗

Use now

Inside this skill

SKILL.md · the author's own words
# li-human

Two tools live in this folder and they both actually run. Use them. Do not
eyeball this.

```bash
python3 humanize.py draft.txt --report        # clean it, show what changed
python3 detect.py draft.txt                    # score it, five checks
python3 detect.py before.txt after.txt         # prove the delta
```

Both read `slop.json`, which is the lexicon: 100+ stock words and phrases with
plain-English replacements, 17 invisible character classes, 11 typographic
substitutions, and 11 structural tells. It is meant to be edited. If the user
has a word they always use that the lexicon strips, remove it from the file.

Word-for-word excerpt, not a result. Read the full SKILL.md ↓

Files of Li human

Jakeschincariol/main1 file shown
SKILL.md
Show the full text99 lines

li-human

Two tools live in this folder and they both actually run. Use them. Do not eyeball this.

python3 humanize.py draft.txt --report        # clean it, show what changed
python3 detect.py draft.txt                    # score it, five checks
python3 detect.py before.txt after.txt         # prove the delta

Both read slop.json, which is the lexicon: 100+ stock words and phrases with plain-English replacements, 17 invisible character classes, 11 typographic substitutions, and 11 structural tells. It is meant to be edited. If the user has a word they always use that the lexicon strips, remove it from the file.

What gets fixed automatically

1. Invisible characters. Zero-width spaces and joiners, word joiners, soft hyphens, byte-order marks, Unicode tag characters, non-breaking and narrow spaces. A keyboard does not produce these. They survive copy-paste, they are invisible in every editor, and they are the single most mechanical thing in generated text. humanize.py deletes every one, including any remaining Unicode format character it does not have a name for.

2. Typography. Em dash to comma, en dash to hyphen, curly quotes to straight, ellipsis to three dots, bullet character to hyphen. The em dash pass is the one that matters: it collapses — to , and then cleans up the double punctuation that leaves behind.

3. The slop lexicon. delve, leverage, robust, seamless, crucial, tapestry, testament to, moreover, "in today's fast-paced world", "let that sink in" and the rest, each swapped for a plain word, with capitalisation preserved and URLs left untouched.

What does NOT get fixed automatically

Structural tells get flagged, not rewritten, because changing the shape of a sentence needs judgement:

  • "It's not just X, it's Y" and "not only X but also Y"
  • Rule-of-three triads
  • Rhetorical one-word question lines: "The result?"
  • Rocket, fire, bulb, sparkle and dart emoji
  • Hashtag walls
  • Reflex engagement bait: "Thoughts?", "Agree?", "Who else?"
  • Uniform sentence length and uniform bullet length

That list is your job. Rewrite each flagged line by hand, keeping the meaning, then re-run detect.py. This is the part that moves the score from REVIEW to PASS, and it is the part a script cannot do.

The five checks

detect.py scores five signals 0-100, higher is more human:

check what it measures machine looks like
BURSTINESS sentence-length variation every sentence the same length
SPECIFICITY numbers, names, concrete markers per 100 words abstract nouns, no figures
SLOP DENSITY lexicon hits per 100 words stock vocabulary
FINGERPRINT invisible chars, em dashes, curly quotes per 1k chars typographically perfect
VOICE contractions, person, structural tells no contractions, staged reveals

The verdict weights the mean at 60% and the weakest single check at 40%, because a detector only needs one signal to fire. PASS needs an overall of 70+ with no check below 55.

Say this honestly

These are five local heuristics modelled on the signals public detectors key on. They run entirely on the user's machine and nothing is uploaded. They are not GPTZero, Originality, Copyleaks, Winston or Turnitin, they do not call those APIs, and they cannot promise those verdicts. Fixing what they measure does tend to move those numbers, because they are measuring the same underlying things. That is the claim. Do not make a bigger one on the user's behalf, and do not tell a user their text is undetectable.

Order of operations

  1. humanize.py draft.txt -o clean.txt --report
  2. Read the structural flags. Rewrite those lines yourself.
  3. detect.py draft.txt clean.txt to show the before and after.
  4. If the verdict is not PASS, fix the weakest check named in the output and go again. Two rounds is normal. Five means the draft was written by formula, and the fix is a different draft, not more passes.
  5. Show the user the cleaned text and the score. Never the score alone.
1---
2name: li-human
3description: >-
4 Strip the machine fingerprint out of any draft - em dashes, AI slop words,
5 invisible watermark characters - and score it against a five-check detection
6 panel before it goes out. Use whenever text needs to sound human, when the
7 user says humanize, "does this sound like AI", "remove the em dashes", "de-slop
8 this", "will this get flagged", or before any LinkedIn post, comment, reply
9 or DM is shown to the user.
10---
11 
12# li-human
13 
14Two tools live in this folder and they both actually run. Use them. Do not
15eyeball this.
16 
17```bash
18python3 humanize.py draft.txt --report # clean it, show what changed
19python3 detect.py draft.txt # score it, five checks
20python3 detect.py before.txt after.txt # prove the delta
21```
22 
23Both read `slop.json`, which is the lexicon: 100+ stock words and phrases with
24plain-English replacements, 17 invisible character classes, 11 typographic
25substitutions, and 11 structural tells. It is meant to be edited. If the user
26has a word they always use that the lexicon strips, remove it from the file.
27 
28## What gets fixed automatically
29 
30**1. Invisible characters.** Zero-width spaces and joiners, word joiners,
31soft hyphens, byte-order marks, Unicode tag characters, non-breaking and
32narrow spaces. A keyboard does not produce these. They survive copy-paste,
33they are invisible in every editor, and they are the single most mechanical
34thing in generated text. `humanize.py` deletes every one, including any
35remaining Unicode format character it does not have a name for.
36 
37**2. Typography.** Em dash to comma, en dash to hyphen, curly quotes to
38straight, ellipsis to three dots, bullet character to hyphen. The em dash pass
39is the one that matters: it collapses ` — ` to `, ` and then cleans up the
40double punctuation that leaves behind.
41 
42**3. The slop lexicon.** delve, leverage, robust, seamless, crucial, tapestry,
43testament to, moreover, "in today's fast-paced world", "let that sink in" and
44the rest, each swapped for a plain word, with capitalisation preserved and
45URLs left untouched.
46 
47## What does NOT get fixed automatically
48 
49Structural tells get **flagged, not rewritten**, because changing the shape of
50a sentence needs judgement:
51 
52- "It's not just X, it's Y" and "not only X but also Y"
53- Rule-of-three triads
54- Rhetorical one-word question lines: "The result?"
55- Rocket, fire, bulb, sparkle and dart emoji
56- Hashtag walls
57- Reflex engagement bait: "Thoughts?", "Agree?", "Who else?"
58- Uniform sentence length and uniform bullet length
59 
60That list is your job. Rewrite each flagged line by hand, keeping the meaning,
61then re-run `detect.py`. This is the part that moves the score from REVIEW to
62PASS, and it is the part a script cannot do.
63 
64## The five checks
65 
66`detect.py` scores five signals 0-100, higher is more human:
67 
68| check | what it measures | machine looks like |
69| --- | --- | --- |
70| BURSTINESS | sentence-length variation | every sentence the same length |
71| SPECIFICITY | numbers, names, concrete markers per 100 words | abstract nouns, no figures |
72| SLOP DENSITY | lexicon hits per 100 words | stock vocabulary |
73| FINGERPRINT | invisible chars, em dashes, curly quotes per 1k chars | typographically perfect |
74| VOICE | contractions, person, structural tells | no contractions, staged reveals |
75 
76The verdict weights the mean at 60% and the **weakest single check** at 40%,
77because a detector only needs one signal to fire. PASS needs an overall of 70+
78with no check below 55.
79 
80## Say this honestly
81 
82These are five local heuristics modelled on the signals public detectors key
83on. They run entirely on the user's machine and nothing is uploaded. They are
84**not** GPTZero, Originality, Copyleaks, Winston or Turnitin, they do not call
85those APIs, and they cannot promise those verdicts. Fixing what they measure
86does tend to move those numbers, because they are measuring the same
87underlying things. That is the claim. Do not make a bigger one on the user's
88behalf, and do not tell a user their text is undetectable.
89 
90## Order of operations
91 
921. `humanize.py draft.txt -o clean.txt --report`
932. Read the structural flags. Rewrite those lines yourself.
943. `detect.py draft.txt clean.txt` to show the before and after.
954. If the verdict is not PASS, fix the weakest check named in the output and
96 go again. Two rounds is normal. Five means the draft was written by
97 formula, and the fix is a different draft, not more passes.
985. Show the user the cleaned text and the score. Never the score alone.
99 

Discussion

Alternatives