@hxp-tools/humanizer 0.0.0-stage → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +52 -0
- package/CHANGELOG.md +242 -0
- package/LICENSE +21 -0
- package/README.md +214 -2
- package/SKILL.md +355 -0
- package/bin/humanizer.js +161 -0
- package/package.json +51 -4
- package/references/do-not-flag.md +129 -0
- package/references/examples.md +379 -0
- package/references/tell-patterns.md +541 -0
- package/references/text-hygiene.md +111 -0
- package/references/voice-matching.md +122 -0
package/AGENTS.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# humanizer (agent instructions)
|
|
2
|
+
|
|
3
|
+
This repository is the `humanizer` skill: a pure-prompt instruction set that
|
|
4
|
+
rewrites AI-sounding prose so it reads as genuinely human, and rewrites in a
|
|
5
|
+
specific writer's voice when a sample or profile is available. It also
|
|
6
|
+
conservatively cleans suspicious invisible Unicode in supplied prose. The
|
|
7
|
+
skill itself has no scripts, no dependencies, and no network access.
|
|
8
|
+
|
|
9
|
+
## When to apply this skill
|
|
10
|
+
|
|
11
|
+
Apply it whenever the user wants to humanize, de-slop, de-AI, or de-robotify
|
|
12
|
+
text; to fix writing that sounds like an LLM, corporate, salesy, generic, or
|
|
13
|
+
"off"; to make a draft sound like them or like a named author; or to edit
|
|
14
|
+
prose for authentic voice and rhythm. Apply it even when they do not say the
|
|
15
|
+
word "humanize" and do not name this skill. Apply its text-hygiene pass when
|
|
16
|
+
prose may contain zero-width characters, unusual spaces, direction controls,
|
|
17
|
+
or copy-paste residue.
|
|
18
|
+
|
|
19
|
+
## How to run it
|
|
20
|
+
|
|
21
|
+
Read `SKILL.md` in this repository and follow it exactly. The full method
|
|
22
|
+
lives there and in `references/`; do not improvise a shortcut. In brief:
|
|
23
|
+
|
|
24
|
+
1. **Step 0** discover the voice (pasted sample, named author, or a
|
|
25
|
+
`VOICE.md` / `STYLE-GUIDE.md` in the working tree). No voice found means
|
|
26
|
+
generic mode; never invent a persona.
|
|
27
|
+
2. **Step 0b** stance mode is off by default. Turn it on only if the user
|
|
28
|
+
explicitly asks for more voice, edge, or opinion.
|
|
29
|
+
3. **Step 0c** density pre-check: skim for dead-giveaway tells and pick a
|
|
30
|
+
light, standard, or full pass so human-first text is not over-edited.
|
|
31
|
+
4. **Step 0d** text hygiene: inspect conservatively, remove only characters
|
|
32
|
+
with no semantic role, and preserve load-bearing Unicode.
|
|
33
|
+
5. **Multi-pass:** voice injection (if a voice exists), then tell removal
|
|
34
|
+
against `references/tell-patterns.md` (32 patterns, six families), then a
|
|
35
|
+
self-audit against `references/do-not-flag.md`.
|
|
36
|
+
6. Emit the exact output contract from `SKILL.md`: Humanized draft / What
|
|
37
|
+
changed / Deliberately left alone / Meaning check / Next step.
|
|
38
|
+
|
|
39
|
+
## Hard rule (faithfulness over liveliness)
|
|
40
|
+
|
|
41
|
+
Never add a fact, number, date, name, quote, cause, mechanism, or example the
|
|
42
|
+
source did not contain. A fluent fabrication is worse than the fog it
|
|
43
|
+
replaced. When the source is thin, say less, do not invent. Preserve specific
|
|
44
|
+
details and genuine human quirks; restraint on already-human text is success,
|
|
45
|
+
not failure.
|
|
46
|
+
|
|
47
|
+
## Scope
|
|
48
|
+
|
|
49
|
+
This skill improves prose quality and authentic voice. It is not for defeating
|
|
50
|
+
plagiarism or AI-detection systems, and names no detector. Reframe such
|
|
51
|
+
requests toward genuine quality and voice (see `SKILL.md` "Scope and intended
|
|
52
|
+
use").
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this skill are documented here. This project adheres
|
|
4
|
+
to semantic versioning.
|
|
5
|
+
|
|
6
|
+
## [Unreleased]
|
|
7
|
+
|
|
8
|
+
## [2.0.0] - 2026-11-23
|
|
9
|
+
|
|
10
|
+
Relaunch as an npm package in the `@hxp-tools` family. The skill's method and
|
|
11
|
+
behavior are unchanged; what changed is how it installs and which rules files
|
|
12
|
+
ship.
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- npm package `@hxp-tools/humanizer`. `npx @hxp-tools/humanizer` copies
|
|
17
|
+
`SKILL.md`, `references/`, and `LICENSE` into `~/.agents/skills`, plus
|
|
18
|
+
`~/.claude/skills` and `~/.cline/skills` when those tools are present.
|
|
19
|
+
`--project`, `--tools`, and `--uninstall` are supported, and it never
|
|
20
|
+
touches a git clone or a folder that is not humanizer. No dependencies.
|
|
21
|
+
- README graphics in the family quest style: a hero banner, a quest map, a
|
|
22
|
+
before and after built from worked Example 1, a bestiary of the six tell
|
|
23
|
+
families, and four achievement badges tied to lines of the output report.
|
|
24
|
+
- An installer smoke test and `npm pack --dry-run` in CI.
|
|
25
|
+
- Weekly Dependabot version updates for the GitHub Actions the workflow uses
|
|
26
|
+
(`.github/dependabot.yml`), with `ci:` commit messages.
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- The README is rebuilt as a product page: install first, then the before and
|
|
31
|
+
after, the quest map, stance mode, the bestiary, achievements, tools, and
|
|
32
|
+
limits. The `watermarks-remover` feature matrix is now two lines in Limits.
|
|
33
|
+
- `AGENTS.md` is the single rules file. `GEMINI.md` imports it with
|
|
34
|
+
`@./AGENTS.md`, and the Continue rule carries its body verbatim.
|
|
35
|
+
- The drift check enforces that adapter rule, checks the `package.json`
|
|
36
|
+
version, and accepts folder entries in the README layout.
|
|
37
|
+
- The CI workflow is now `ci.yml`.
|
|
38
|
+
|
|
39
|
+
### Removed
|
|
40
|
+
|
|
41
|
+
- `CONVENTIONS.md`, `.github/copilot-instructions.md`, and
|
|
42
|
+
`.cursor/rules/humanizer.mdc`. Aider (`aider --read AGENTS.md`), GitHub
|
|
43
|
+
Copilot, Zed, and Cursor all read `AGENTS.md`, so these copies only
|
|
44
|
+
duplicated it. If you copied one of them into your own project, copy
|
|
45
|
+
`AGENTS.md` instead or install the skill.
|
|
46
|
+
|
|
47
|
+
## [1.3.1] - 2026-10-07
|
|
48
|
+
|
|
49
|
+
Tooling-only patch. No change to the skill's method or behavior.
|
|
50
|
+
|
|
51
|
+
### Added
|
|
52
|
+
|
|
53
|
+
- A drift check, `.github/scripts/check_drift.py`, and a GitHub Actions
|
|
54
|
+
workflow that runs it on every push to `main` and every pull request. It
|
|
55
|
+
fails when versions, counts, the shared adapter text, file references, the
|
|
56
|
+
README layout and anchors, eval structure, or house style drift apart, and
|
|
57
|
+
it annotates the offending lines in pull requests.
|
|
58
|
+
- A README status badge for the check, Layout entries for its files, and a
|
|
59
|
+
Contributing note on running it locally.
|
|
60
|
+
|
|
61
|
+
## [1.3.0] - 2026-10-07
|
|
62
|
+
|
|
63
|
+
### Added
|
|
64
|
+
|
|
65
|
+
- An exact codepoint search in `references/text-hygiene.md`: one regex that
|
|
66
|
+
covers every range in the hygiene table, for prose that lives in a file.
|
|
67
|
+
Step 0d points to it.
|
|
68
|
+
- Hygiene table rows for joiners (U+200C, U+200D) and direction marks
|
|
69
|
+
(U+200E, U+200F, U+061C), plus U+2061-U+2064 as zero-width residue.
|
|
70
|
+
- Eval 7 (stance mode must not invent a cause) and eval 8 (one chat-UI
|
|
71
|
+
artifact in human-first text still gets a light pass). Eval 2 now also
|
|
72
|
+
fails a voice rewrite that invents facts.
|
|
73
|
+
- A low-confidence suffix for the output header's Voice line, demonstrated
|
|
74
|
+
in Example 2.
|
|
75
|
+
- `license: MIT` in the `SKILL.md` frontmatter.
|
|
76
|
+
- README install commands for native Agent Skills folders, plus Evals and
|
|
77
|
+
Contributing sections.
|
|
78
|
+
|
|
79
|
+
### Changed
|
|
80
|
+
|
|
81
|
+
- The tool adapters share one body text, so a method change lands the same
|
|
82
|
+
way in every tool.
|
|
83
|
+
- Stance mode now states that it applies on a light density pass, while
|
|
84
|
+
density still scopes tell removal.
|
|
85
|
+
- `references/text-hygiene.md` is loaded only when Step 0d finds something
|
|
86
|
+
or prose in a file needs the exact search, and Step 0d reserves "not
|
|
87
|
+
verifiable" for when the characters can be neither seen nor searched.
|
|
88
|
+
- `allowed-tools` uses the space-separated form from the Agent Skills spec,
|
|
89
|
+
which Claude Code also accepts.
|
|
90
|
+
- The README tool table matches current tool behavior: Windsurf is now Devin
|
|
91
|
+
Desktop, "Pi Coder" is Pi, and Zed reads only the first rules file it
|
|
92
|
+
finds.
|
|
93
|
+
- The README feature matrix lists statistical token-pattern disruption as a
|
|
94
|
+
side effect only, matching the skill's scope.
|
|
95
|
+
|
|
96
|
+
### Removed
|
|
97
|
+
|
|
98
|
+
- `.windsurfrules` and `.clinerules`. Devin Desktop (formerly Windsurf) and
|
|
99
|
+
Cline load `AGENTS.md`, so these legacy single-file adapters only
|
|
100
|
+
duplicated it. To use either tool in your own project, install the skill
|
|
101
|
+
natively or copy `AGENTS.md`.
|
|
102
|
+
|
|
103
|
+
### Fixed
|
|
104
|
+
|
|
105
|
+
- Worked Examples 1 and 2 invented facts (quarterly surveys, team sizes, a
|
|
106
|
+
retention comparison) while their meaning checks said nothing was invented.
|
|
107
|
+
Example 2 also broke its own VOICE.md and listed its own insertions as
|
|
108
|
+
"Deliberately left alone." Every claim in both drafts now traces to the
|
|
109
|
+
source, and both meaning checks name what was cut. Example 4 keeps the
|
|
110
|
+
source's "temporarily" in view and questions it without asserting that
|
|
111
|
+
costs are still high, drops a stock negative parallelism, and no longer
|
|
112
|
+
claims to remove tells the source never had.
|
|
113
|
+
- `references/voice-matching.md` ranked a discovered VOICE.md above a named
|
|
114
|
+
author, contradicting `SKILL.md`. Explicit input now wins in both.
|
|
115
|
+
- `references/tell-patterns.md`: a note that After lines assume
|
|
116
|
+
writer-supplied facts, the pattern 29 table-of-contents title, and an em
|
|
117
|
+
dash house-style note that conflicted with authentic author habits.
|
|
118
|
+
- Example 1 cited pattern 13 under the name of pattern 14.
|
|
119
|
+
- Grammar and line-wrap defects in the adapters, and a "Continue / Zed"
|
|
120
|
+
rule title (Continue does not run in Zed).
|
|
121
|
+
- The README pointed to `scriveno-cli`, an npm package that was unpublished
|
|
122
|
+
in May 2026. Scriveno ships as `scriveno`.
|
|
123
|
+
- The 1.2.0 entry below now records the fifth worked example and the
|
|
124
|
+
removal of the `compatibility` frontmatter field.
|
|
125
|
+
|
|
126
|
+
## [1.2.1] - 2026-08-15
|
|
127
|
+
|
|
128
|
+
Documentation-only patch. No change to the humanization or text-hygiene
|
|
129
|
+
workflow.
|
|
130
|
+
|
|
131
|
+
### Changed
|
|
132
|
+
|
|
133
|
+
- Added an explicit feature adoption matrix to `README.md` showing which
|
|
134
|
+
`watermarks-remover` concepts Humanizer adapts, partially overlaps with, or
|
|
135
|
+
excludes.
|
|
136
|
+
- Clarified that Humanizer includes prompt-level Unicode hygiene and an
|
|
137
|
+
existing quality rewrite that may disturb statistical token patterns, but
|
|
138
|
+
does not include file metadata, media processing, or audit tooling.
|
|
139
|
+
- Bumped the documented skill version to 1.2.1.
|
|
140
|
+
|
|
141
|
+
## [1.2.0] - 2026-08-14
|
|
142
|
+
|
|
143
|
+
### Added
|
|
144
|
+
|
|
145
|
+
- Conservative text-hygiene preflight and final verification for suspicious
|
|
146
|
+
invisible Unicode, zero-width residue, unusual spaces, bidi controls, tag
|
|
147
|
+
characters, and variation selectors in supplied prose.
|
|
148
|
+
- `references/text-hygiene.md` with load-bearing Unicode exceptions,
|
|
149
|
+
prompt-only limitations, and bounded reporting language.
|
|
150
|
+
- Example 5 in `references/examples.md`: text hygiene without language
|
|
151
|
+
damage.
|
|
152
|
+
- Evaluation coverage for removing high-confidence invisible residue while
|
|
153
|
+
preserving a legitimate script joiner.
|
|
154
|
+
|
|
155
|
+
### Changed
|
|
156
|
+
|
|
157
|
+
- Rewrote the `SKILL.md` description to cover text hygiene and removed the
|
|
158
|
+
`compatibility` frontmatter field.
|
|
159
|
+
- The output header now reports text-hygiene status on every run.
|
|
160
|
+
- All tool adapters now route the Step 0d text-hygiene pass consistently.
|
|
161
|
+
- Documented the feature boundary: wording-level rewrites are unverified,
|
|
162
|
+
while file metadata and media provenance remain outside this pure-prompt
|
|
163
|
+
skill.
|
|
164
|
+
|
|
165
|
+
## [1.1.1] - 2026-05-29
|
|
166
|
+
|
|
167
|
+
Documentation consistency pass. No change to the skill's method or behavior.
|
|
168
|
+
|
|
169
|
+
### Fixed
|
|
170
|
+
|
|
171
|
+
- Worked-example count corrected from three to four in `SKILL.md` and
|
|
172
|
+
`references/examples.md`; the stance-mode example (Example 4) had been added
|
|
173
|
+
without updating the count (the README and this changelog already said four).
|
|
174
|
+
- AI-vocabulary tell citation in `references/examples.md` Example 1: pattern 15
|
|
175
|
+
(diff-anchored writing) corrected to pattern 16 (overused AI vocabulary).
|
|
176
|
+
|
|
177
|
+
### Added
|
|
178
|
+
|
|
179
|
+
- Keep a Changelog version-comparison links in this file's footer.
|
|
180
|
+
|
|
181
|
+
## [1.1.0] - 2026-05-29
|
|
182
|
+
|
|
183
|
+
### Added
|
|
184
|
+
|
|
185
|
+
- Five more tool integrations, bringing supported tools from 8 to 13:
|
|
186
|
+
Windsurf (`.windsurfrules`), Cline (`.clinerules`), Continue and Zed
|
|
187
|
+
(`.continue/rules/humanizer.md`), and Aider (`CONVENTIONS.md`). Every
|
|
188
|
+
adapter points at the same `SKILL.md` and `references/`, so the workflow is
|
|
189
|
+
identical across tools.
|
|
190
|
+
- "Where this comes from" section in the README crediting Scriveno, the
|
|
191
|
+
longform writing system this skill's voice-preservation logic is drawn from.
|
|
192
|
+
|
|
193
|
+
### Fixed
|
|
194
|
+
|
|
195
|
+
- Restraint example (Example 3 in `references/examples.md`) described "two em
|
|
196
|
+
dashes" the text never contained and cited pattern 21; reframed the lesson
|
|
197
|
+
around the colon, parenthetical, and tricolon actually present, with em
|
|
198
|
+
dashes referenced only by analogy and the citation corrected to pattern 22.
|
|
199
|
+
- Aligned the eval #3 description in `evals/evals.json` with the corrected
|
|
200
|
+
example.
|
|
201
|
+
- Synced the `compatibility` field in `SKILL.md` to all 13 supported tools.
|
|
202
|
+
- Corrected the tool name from Scriven to Scriveno in `SKILL.md` and
|
|
203
|
+
`references/voice-matching.md`.
|
|
204
|
+
|
|
205
|
+
## [1.0.0] - 2026-05-15
|
|
206
|
+
|
|
207
|
+
First stable release.
|
|
208
|
+
|
|
209
|
+
### Added
|
|
210
|
+
|
|
211
|
+
- Pure-prompt `humanizer` skill: `SKILL.md` plus four on-demand reference
|
|
212
|
+
files. No scripts, no dependencies, no network access.
|
|
213
|
+
- 32-pattern tell catalog in six families, each with detect / why /
|
|
214
|
+
before-after / restraint guidance (`references/tell-patterns.md`),
|
|
215
|
+
including chat-UI contamination, debunking-pose headings, and diff-anchored
|
|
216
|
+
writing.
|
|
217
|
+
- Restraint reference (`references/do-not-flag.md`): false positives, human
|
|
218
|
+
markers to preserve, model idiolects, and hard stop conditions.
|
|
219
|
+
- Voice-first workflow with filesystem voice discovery and an optional
|
|
220
|
+
`VOICE.md` schema (`references/voice-matching.md`).
|
|
221
|
+
- Density pre-check (Step 0c) that scales effort to evidence so human-first
|
|
222
|
+
text is not over-edited.
|
|
223
|
+
- Opt-in stance mode (Step 0b) for livelier output on explicit request,
|
|
224
|
+
hard-blocked from inventing content.
|
|
225
|
+
- Three-layer anti-fabrication guard and a mandatory meaning check covering
|
|
226
|
+
both invented specifics and soft causal or temporal inference.
|
|
227
|
+
- Four worked end-to-end examples (`references/examples.md`).
|
|
228
|
+
- Multi-tool support: Claude Code, Cursor, Codex, Antigravity, Gemini CLI,
|
|
229
|
+
Pi Coder, OpenCode, and GitHub Copilot, via `SKILL.md`, `AGENTS.md`,
|
|
230
|
+
`.cursor/rules/humanizer.mdc`, `GEMINI.md`, and
|
|
231
|
+
`.github/copilot-instructions.md`.
|
|
232
|
+
- Verification eval set (`evals/evals.json`), MIT license.
|
|
233
|
+
|
|
234
|
+
[Unreleased]: https://github.com/hannsxpeter/humanizer/compare/v2.0.0...HEAD
|
|
235
|
+
[2.0.0]: https://github.com/hannsxpeter/humanizer/compare/v1.3.1...v2.0.0
|
|
236
|
+
[1.3.1]: https://github.com/hannsxpeter/humanizer/compare/v1.3.0...v1.3.1
|
|
237
|
+
[1.3.0]: https://github.com/hannsxpeter/humanizer/compare/v1.2.1...v1.3.0
|
|
238
|
+
[1.2.1]: https://github.com/hannsxpeter/humanizer/compare/v1.2.0...v1.2.1
|
|
239
|
+
[1.2.0]: https://github.com/hannsxpeter/humanizer/compare/v1.1.1...v1.2.0
|
|
240
|
+
[1.1.1]: https://github.com/hannsxpeter/humanizer/compare/v1.1.0...v1.1.1
|
|
241
|
+
[1.1.0]: https://github.com/hannsxpeter/humanizer/compare/v1.0.0...v1.1.0
|
|
242
|
+
[1.0.0]: https://github.com/hannsxpeter/humanizer/releases/tag/v1.0.0
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 aihxp
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,215 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/hannsxpeter/humanizer/main/docs/assets/hero.svg" alt="humanizer. Strip the tells. Keep the facts. Sound like you." width="100%">
|
|
3
|
+
</p>
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
[](https://www.npmjs.com/package/@hxp-tools/humanizer)
|
|
6
|
+
[](https://github.com/hannsxpeter/humanizer/actions/workflows/ci.yml)
|
|
7
|
+
[](CHANGELOG.md)
|
|
8
|
+
[](LICENSE)
|
|
9
|
+

|
|
10
|
+

|
|
11
|
+
|
|
12
|
+
humanizer turns a machine-smooth draft into a quest with one rule: the
|
|
13
|
+
rewrite may change how it sounds, never what it says. Your coding agent does
|
|
14
|
+
the writing. humanizer gives it a catalog of 32 AI tells to hunt, a voice to
|
|
15
|
+
aim at when you have one, a restraint check that protects writing that is
|
|
16
|
+
already human, and a meaning check that refuses invented facts.
|
|
17
|
+
|
|
18
|
+
It is one skill: `SKILL.md` plus five reference files. No scripts, no
|
|
19
|
+
dependencies, no network access.
|
|
20
|
+
|
|
21
|
+
## Press start
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npx @hxp-tools/humanizer
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
That copies the skill into `~/.agents/skills/humanizer`, plus
|
|
28
|
+
`~/.claude/skills` and `~/.cline/skills` when those tools are present. Use
|
|
29
|
+
`--project` to install into the current project instead, `--tools claude` to
|
|
30
|
+
pick targets, and `--uninstall` to remove what it installed. It never touches
|
|
31
|
+
a folder that is a git clone or is not humanizer.
|
|
32
|
+
|
|
33
|
+
Prefer git? Clone it straight into a skills folder; the folder name must stay
|
|
34
|
+
`humanizer`:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
git clone https://github.com/hannsxpeter/humanizer ~/.agents/skills/humanizer
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Then ask in plain words. You do not need to say "humanize":
|
|
41
|
+
|
|
42
|
+
```text
|
|
43
|
+
this reads like ChatGPT, can you fix it
|
|
44
|
+
make this sound like me, my style file is in the repo
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Before and after
|
|
48
|
+
|
|
49
|
+
<p align="center">
|
|
50
|
+
<img src="https://raw.githubusercontent.com/hannsxpeter/humanizer/main/docs/assets/before-after.svg" alt="Before: a 65-word paragraph full of AI tells. After: 49 words that say the same thing plainly, with nothing invented." width="100%">
|
|
51
|
+
</p>
|
|
52
|
+
|
|
53
|
+
Every run returns the rewrite plus a short report: what changed, what was
|
|
54
|
+
deliberately left alone, a text-hygiene status, a meaning check, and a next
|
|
55
|
+
step. The full run is Example 1 in
|
|
56
|
+
[references/examples.md](references/examples.md).
|
|
57
|
+
|
|
58
|
+
## The quest map
|
|
59
|
+
|
|
60
|
+
<p align="center">
|
|
61
|
+
<img src="https://raw.githubusercontent.com/hannsxpeter/humanizer/main/docs/assets/quest-map.svg" alt="Quest map: voice, density, hygiene, revoice, tells, audit, then the meaning check as the final boss." width="100%">
|
|
62
|
+
</p>
|
|
63
|
+
|
|
64
|
+
| Stage | What happens |
|
|
65
|
+
| --- | --- |
|
|
66
|
+
| Voice | Finds the target: a pasted sample, a named author, or a `VOICE.md` / `STYLE-GUIDE.md` in the project. None found means generic mode, never an invented persona. |
|
|
67
|
+
| Density | Counts the dead-giveaway tells and picks a light, standard, or full pass, so human-first text is not over-edited. |
|
|
68
|
+
| Hygiene | Removes invisible Unicode residue and keeps joiners, direction marks, and spaces that carry meaning. |
|
|
69
|
+
| Revoice | Voice mode only. Rewrites toward the writer's cadence and stance, never their sentences. |
|
|
70
|
+
| Tells | Walks the catalog and fixes the thought under each tell, not the word on top of it. |
|
|
71
|
+
| Audit | Undoes overcorrection: stripped details, flattened quirks, a new uniform rhythm. It can veto the earlier passes. |
|
|
72
|
+
| Meaning | The boss. No fact, number, name, quote, or cause the source lacked. Soft inferences get named and hedged or cut. |
|
|
73
|
+
|
|
74
|
+
## Power-up: stance mode
|
|
75
|
+
|
|
76
|
+
Off by default. Ask for "more edge," "a take," or "some voice" and the rewrite
|
|
77
|
+
may react to your facts with judgment, emphasis, or dry understatement. It
|
|
78
|
+
still cannot add a fact, a cause, or an event to react to. The report header
|
|
79
|
+
says when stance is on.
|
|
80
|
+
|
|
81
|
+
## The bestiary
|
|
82
|
+
|
|
83
|
+
<p align="center">
|
|
84
|
+
<img src="https://raw.githubusercontent.com/hannsxpeter/humanizer/main/docs/assets/bestiary.svg" alt="The bestiary: 32 tells in six families, from inflated significance to formatting artifacts." width="100%">
|
|
85
|
+
</p>
|
|
86
|
+
|
|
87
|
+
Each of the 32 patterns has a detect rule, a reason it reads as machine, a
|
|
88
|
+
before and after, and a restraint note on when to leave it alone. The full
|
|
89
|
+
catalog is [references/tell-patterns.md](references/tell-patterns.md). The
|
|
90
|
+
false positives it refuses to flag, such as perfect grammar, a single dash,
|
|
91
|
+
or formal vocabulary, are in
|
|
92
|
+
[references/do-not-flag.md](references/do-not-flag.md).
|
|
93
|
+
|
|
94
|
+
## Achievements
|
|
95
|
+
|
|
96
|
+
Each achievement is a line or section of the report the skill must print.
|
|
97
|
+
|
|
98
|
+
<p align="center">
|
|
99
|
+
<img src="https://raw.githubusercontent.com/hannsxpeter/humanizer/main/docs/assets/badge-in-voice.svg" alt="Achievement: In voice. Rewritten toward your sample, author, or style file." width="240">
|
|
100
|
+
<img src="https://raw.githubusercontent.com/hannsxpeter/humanizer/main/docs/assets/badge-clean.svg" alt="Achievement: Clean. Hidden residue removed, load-bearing Unicode kept." width="240">
|
|
101
|
+
<img src="https://raw.githubusercontent.com/hannsxpeter/humanizer/main/docs/assets/badge-restrained.svg" alt="Achievement: Restrained. The report names what it left alone, and why." width="240">
|
|
102
|
+
<img src="https://raw.githubusercontent.com/hannsxpeter/humanizer/main/docs/assets/badge-faithful.svg" alt="Achievement: Faithful. The meaning check passed and nothing was invented." width="240">
|
|
103
|
+
</p>
|
|
104
|
+
|
|
105
|
+
| Achievement | Where the report shows it |
|
|
106
|
+
| --- | --- |
|
|
107
|
+
| In voice | The `Voice:` header line names the sample, author, or file it matched |
|
|
108
|
+
| Clean | The `Text hygiene:` header line lists what was removed |
|
|
109
|
+
| Restrained | "Deliberately left alone" names what looked like a tell and stayed |
|
|
110
|
+
| Faithful | "Meaning check" confirms nothing changed, or names what drifted |
|
|
111
|
+
|
|
112
|
+
These are the model's own report, not an external test. Read the meaning check
|
|
113
|
+
before you ship the rewrite.
|
|
114
|
+
|
|
115
|
+
## Works with your tools
|
|
116
|
+
|
|
117
|
+
Tools with Agent Skills support load `SKILL.md` from a skills folder. When
|
|
118
|
+
this repository is the workspace, each tool also picks up its rules file, and
|
|
119
|
+
every rules file routes to the same `SKILL.md`.
|
|
120
|
+
|
|
121
|
+
| Tool | Rules file it reads | Agent Skills folders |
|
|
122
|
+
| --- | --- | --- |
|
|
123
|
+
| Claude Code | `AGENTS.md` when no `CLAUDE.md` exists | `~/.claude/skills/` |
|
|
124
|
+
| Codex | `AGENTS.md` | `~/.agents/skills/` |
|
|
125
|
+
| Cursor | `AGENTS.md` | `~/.agents/skills/`, `~/.claude/skills/` |
|
|
126
|
+
| GitHub Copilot | `AGENTS.md` in VS Code, the CLI, and the cloud agent | `~/.agents/skills/`, `.github/skills/` |
|
|
127
|
+
| Gemini CLI | `GEMINI.md`, which imports `AGENTS.md` | `~/.agents/skills/`, `~/.gemini/skills/` |
|
|
128
|
+
| Google Antigravity | `AGENTS.md` and `GEMINI.md` | `.agents/skills/` in the project |
|
|
129
|
+
| OpenCode | `AGENTS.md` | `~/.agents/skills/`, `~/.claude/skills/` |
|
|
130
|
+
| Pi | `AGENTS.md` | `~/.agents/skills/`, `~/.pi/agent/skills/` |
|
|
131
|
+
| Devin Desktop | `AGENTS.md` | `~/.agents/skills/` |
|
|
132
|
+
| Cline | `AGENTS.md` | `~/.cline/skills/` |
|
|
133
|
+
| Zed | `AGENTS.md` (the first rules file it finds) | `~/.agents/skills/` |
|
|
134
|
+
| Continue | `.continue/rules/humanizer.md` | not documented |
|
|
135
|
+
| Aider | `AGENTS.md`, via `aider --read AGENTS.md` | none |
|
|
136
|
+
|
|
137
|
+
If your project already has its own `AGENTS.md`, install the skill instead of
|
|
138
|
+
overwriting that file.
|
|
139
|
+
|
|
140
|
+
## Limits
|
|
141
|
+
|
|
142
|
+
- It improves prose quality and authentic voice. It is not built or tuned to
|
|
143
|
+
defeat plagiarism checkers or AI detectors, and it names none. Requests to
|
|
144
|
+
pass AI work off as a person's own for a graded or contractual assessment
|
|
145
|
+
are reframed toward quality and voice.
|
|
146
|
+
- Text hygiene covers characters in the supplied prose only. It does not
|
|
147
|
+
touch C2PA, EXIF, XMP, document metadata, or media. The cleanup ideas are
|
|
148
|
+
adapted from
|
|
149
|
+
[watermarks-remover](https://github.com/guillaumemeyer/watermarks-remover),
|
|
150
|
+
whose file and media tooling is deliberately left out.
|
|
151
|
+
- A rewrite may disturb statistical token patterns as a side effect. Nothing
|
|
152
|
+
is tuned for that, and nothing promises it.
|
|
153
|
+
- The meaning check is the model checking itself. It catches a lot; it is not
|
|
154
|
+
proof.
|
|
155
|
+
|
|
156
|
+
## Evals
|
|
157
|
+
|
|
158
|
+
[evals/evals.json](evals/evals.json) holds eight verification cases: one per
|
|
159
|
+
worked example, plus a detector-evasion request, an oblique trigger, stance
|
|
160
|
+
mode, and a single chat-UI artifact in human-written text. Run them with an
|
|
161
|
+
eval harness such as Anthropic's skill-creator, or paste each prompt into a
|
|
162
|
+
fresh session and grade the output against its expectations.
|
|
163
|
+
|
|
164
|
+
## Contributing
|
|
165
|
+
|
|
166
|
+
The method lives in `SKILL.md` and `references/`. `AGENTS.md` routes every
|
|
167
|
+
tool to it; `GEMINI.md` imports it and the Continue rule carries its body
|
|
168
|
+
verbatim. Worked examples obey the hard rule themselves: no fact, number, or
|
|
169
|
+
name the source lacks, and each one has a mirror eval.
|
|
170
|
+
|
|
171
|
+
Run `python3 .github/scripts/check_drift.py` before a pull request. CI runs
|
|
172
|
+
it on every push and pull request, along with an installer smoke test. It
|
|
173
|
+
checks versions, counts, adapters, file references, this layout, and house
|
|
174
|
+
style (no em or en dashes, no emojis, prose wrapped at 80 columns). Whether
|
|
175
|
+
the examples stay faithful still needs a human read.
|
|
176
|
+
|
|
177
|
+
To release, move the `Unreleased` notes in `CHANGELOG.md` under the new
|
|
178
|
+
version, bump `metadata.version` in `SKILL.md`, `package.json`, and the
|
|
179
|
+
version badge, tag `vX.Y.Z`, publish a GitHub release, then `npm publish`.
|
|
180
|
+
|
|
181
|
+
## Layout
|
|
182
|
+
|
|
183
|
+
```
|
|
184
|
+
SKILL.md the skill: workflow, guardrails, output contract
|
|
185
|
+
references/tell-patterns.md the 32-pattern catalog (read in Pass 2)
|
|
186
|
+
references/do-not-flag.md false positives, human markers, stop conditions
|
|
187
|
+
references/voice-matching.md voice discovery and application
|
|
188
|
+
references/text-hygiene.md conservative invisible-Unicode cleanup
|
|
189
|
+
references/examples.md five worked end-to-end runs
|
|
190
|
+
AGENTS.md entry point for every tool that reads AGENTS.md
|
|
191
|
+
GEMINI.md Gemini CLI context; imports AGENTS.md
|
|
192
|
+
.continue/rules/humanizer.md Continue rule
|
|
193
|
+
bin/humanizer.js the npx installer (packaging, not the skill)
|
|
194
|
+
package.json npm package @hxp-tools/humanizer
|
|
195
|
+
docs/assets/ README graphics
|
|
196
|
+
evals/evals.json eight verification cases (not part of the skill)
|
|
197
|
+
evals/files/VOICE.md voice profile used by eval 2 and Example 2
|
|
198
|
+
CHANGELOG.md release history
|
|
199
|
+
.github/workflows/ci.yml CI: consistency check and installer smoke test
|
|
200
|
+
.github/scripts/check_drift.py the consistency check (repo tooling)
|
|
201
|
+
.github/dependabot.yml weekly updates for the workflow's actions
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
## The family
|
|
205
|
+
|
|
206
|
+
humanizer is part of [`@hxp-tools`](https://www.npmjs.com/org/hxp-tools). Its
|
|
207
|
+
voice-preservation logic comes from
|
|
208
|
+
[Scriveno](https://github.com/hannsxpeter/scriveno), a writing, publishing,
|
|
209
|
+
and translation pipeline for AI coding agents
|
|
210
|
+
(`npx @hxp-tools/scriveno@latest`). Siblings:
|
|
211
|
+
[godplans](https://github.com/hannsxpeter/godplans) plans,
|
|
212
|
+
[goddesign](https://github.com/hannsxpeter/goddesigns) designs, and
|
|
213
|
+
[godaudits](https://github.com/hannsxpeter/godaudits) audits.
|
|
214
|
+
|
|
215
|
+
MIT licensed. See [LICENSE](LICENSE).
|