HumanizerPro

Stylometric De-AI & Anti-Provenance Rewriter

HumanizerPro Logo

License: MIT Format: SKILL.md Languages: 13+ Universal

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).

Creator: Dr. Fərid Zeynalov (Baku, Azerbaijan).


📖 Web Documentation & Interactive Guides

Full standalone HTML documentation, visual rule cards, and multilingual before/after comparisons are located in the docs/ directory:


🎯 Core Safeguards

  1. Source Fidelity First: Never invents facts, numbers, dates, named sources, citations, or physical details absent from the source text (fiction is exempt). Preserves genuine empirical, clinical, or legal epistemic hedges (may, might, suggests, is associated with) while stripping performative throat-clearing (“it is worth noting that”).
  2. Genre and Register Gate: Classifies the input before editing so essay rules are never forced onto non-essay formats:
    • Emails, messages, and thread replies: Preserves greetings, sign-offs, and actionable task/schedule bullets; leads directly with the decision, question, or request (#26).
    • Academic abstracts and executive summaries: Preserves required structural moves (objective, method, results, conclusion) and empirical confidence bounds.
    • Technical documentation, READMEs, legal clauses, and checklists: Keeps numbered steps, bullet lists, tables, code blocks, inline identifiers, paths, and exact defined terms.
    • Short texts (< 120 words or < 5 sentences): Skips long-range horizon anchors and 300-word window targets; focuses on stripping chatbot wrappers, negative parallelisms, and inflated verbs.
  3. Universal Morphosyntactic Scaling: Adapts sentence-length dispersion targets to the morphological typology of the target language:
    • Analytic & moderately inflected languages (English, Spanish, French, Italian, Portuguese): Alternates between short (3–7 words) and complex (35–55 words) sentences (CV >= 0.50 on texts of 5+ sentences).
    • Agglutinative, polysynthetic & heavily inflected languages (Azerbaijani, Turkish, Kazakh, Uzbek, Finnish, Hungarian, Korean, Japanese, Russian, German, Arabic): Alternates compact 3–5 word finite clauses with 22–35 word multi-clause sentences (CV >= 0.45) while respecting native constituent order (such as SOV topic-focus scrambling in Turkic and free constituent fronting in Slavic).
    • Isolating & logographic scripts (Mandarin Chinese, Cantonese, Japanese Kanji/Kana, Thai, Khmer): Varies clause character counts sharply across punctuation boundaries.

🛡️ Two-Tier Sanitization Architecture

Tier 1: Layer A — Multi-Vendor Technical Provenance Hygiene

Strips mechanical markers emitted across OpenAI/ChatGPT, Anthropic/Claude, Google/Gemini, DeepSeek, Qwen, Perplexity, Meta/Llama, Mistral, Cohere, Grok, and Copilot:


Tier 2: Layer B — The 6 Core Rules (6-Pass Stylometric Editing Pipeline)

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.

🚀 Installation & Usage

1. Install in Your AI Agent or Skill Collection

  1. Copy SKILL.md from this repository.
  2. Add it to your LLM workspace, custom agent instructions, or skill directory.
  3. Trigger the workflow in any language using /stylometric-de-ai-rewriter or /remove-ai-marks.

2. Output Modes


🤝 Contributing

Contributions expanding cross-linguistic patterns, vendor provenance markers, or documentation are welcome! Please read CONTRIBUTING.md before submitting a Pull Request.

📄 License

Released under the MIT License. Free for personal, academic, and commercial use. See LICENSE for full text.