
stylometric-de-ai-rewriter is a universal, zero-dependency LLM skill designed to sanitize multi-vendor AI provenance artifacts (Layer A) and transform robotic AI-generated drafts into natural human writing across all languages and genres using a deterministic 6-Pass Stylometric Editing Protocol (Layer B).
Full standalone HTML documentation, visual rule cards, and multilingual before/after comparisons are located in the docs/ directory:
docs/readme.html) — Full system architecture, Core Safeguards, Layer A provenance sanitization reference, local file metadata commands, and output modes.docs/rules.html) — Deep-dive visual cards for each of the 6 stylometric passes neutralizing 38 universal LLM signatures.docs/examples.html) — Flag-indexed interactive transformations across English, Azerbaijani, Turkish, Mandarin Chinese, Hindi, Spanish, German, Modern Standard Arabic, Portuguese, Russian, Japanese, French, and Indonesian.#26).CV >= 0.50 on texts of 5+ sentences).CV >= 0.45) while respecting native constituent order (such as SOV topic-focus scrambling in Turkic and free constituent fronting in Slavic).Strips mechanical markers emitted across OpenAI/ChatGPT, Anthropic/Claude, Google/Gemini, DeepSeek, Qwen, Perplexity, Meta/Llama, Mistral, Cohere, Grok, and Copilot:
\u200B), word joiners (\u2060), soft hyphens (\u00AD), BOM (\uFEFF), combining grapheme joiners (\u034F), Arabic letter marks (\u061C), Mongolian free variation selectors (\u180B–\u180E), directional Bidi overrides/isolates (\u200E–\u200F, \u202A–\u202E, \u2066–\u2069), invisible math operators (\u2061–\u2064), interlinear annotation anchors (\uFFF9–\uFFFB), Plane 14 Unicode Tag characters (\uE0000–\uE007F), and steganographic Variation Selectors Supplement (\uE0100–\uE01EF).\u200D (ZWJ) inside multi-codepoint emoji sequences and preserves \u200C (ZWNJ) / \u200D (ZWJ) where orthographically required (Arabic, Persian, Kurdish, Urdu, Devanagari, Bengali, Gurmukhi, Gujarati, Oriya, Tamil, Telugu, Kannada, Malayalam, Sinhala, Thai, Lao, Tibetan, Myanmar, Khmer). Strips them only when wedged between Latin, Cyrillic, or Greek letters.\u202F), non-breaking spaces (\u00A0), ideographic spaces (\u3000 outside CJK), and quad/thin/hair spaces (\u2000–\u200A, \u205F) with standard ASCII spaces (0x20). Normalizes leaked fullwidth CJK punctuation (,, :, ;, (, )) inside Latin, Cyrillic, or Turkic sentences.【4:0†source】, :contentReference[oaicite:0]{index=0}), unanchored footnote markers, and LLM tracking parameters (?utm_source=chatgpt.com|claude|gemini|perplexity|copilot).NFC characters and flags any single word token mixing Latin, Cyrillic, and Greek scripts (e.g., a Cyrillic о inside a Latin word) while outputting the corrected pure-script word.Explore the full interactive breakdown in docs/rules.html and multilingual examples in docs/examples.html:
| Pass / Rule | Target Signatures | Core Focus |
|---|---|---|
| Pass 1: Macro-Discourse & Epistemic Alignment | #4, #21, #22, #25, #27–#32 |
Cut panoramic openers (“In today’s rapidly evolving landscape…“), moralizing codas, and paragraph sandwich symmetry; ground claims in source specifics. |
| Pass 2: Typographic & Visual Scaffolding | #33, #34, #35, #36, #37, #38 |
Dissolve decorative bulletization and **[Bold Label]:** lead-ins into prose; vary paragraph block weight; replace habitual em-dashes and diversify punctuation. |
| Pass 3: Rhetorical Templates & Transitions | #11, #20, #23, #24, #26 |
Collapse “Not merely X, but Y” negative parallelisms; unbalance "While X, Y" seesaws; prune forced triads (A, B, and C); cut polar merisms and heavy discourse glue. |
| Pass 4: Syntactic Tree Variance & Burstiness | #2, #3, #7, #8, #9, #10, #12 |
Cut shallow trailing participles (”, highlighting…“) and stacked converbs (“-araq/-ərək”); alternate compact and complex parse trees; apply natural constituent fronting. |
| Pass 5: Lexical Precision & Collocation De-Smoothing | #1, #5, #6, #13–#19 |
Restore direct copulas (is, are, has) and active verbs over inflated substitutes (serves as, boasts); purge AI puffery, dead metaphors, weasel citations, and high-PMI clichés. |
| Pass 6: Self-Audit Verification Gate | Final Quality Gate | Verify sentence-length range, dash density (<= 1 per 400 words), non-terminal punctuation variety (>= 3 types), and zero-tolerance structural tells. |
SKILL.md from this repository./stylometric-de-ai-rewriter or /remove-ai-marks.Contributions expanding cross-linguistic patterns, vendor provenance markers, or documentation are welcome! Please read CONTRIBUTING.md before submitting a Pull Request.
Released under the MIT License. Free for personal, academic, and commercial use. See LICENSE for full text.