What problem does it solve? Quantifying the complexity profile of a writing corpus is error-prone when relying on a single readability formula or raw type-token ratios, which diverge or distort with text length. This Skill computes multiple readability formulas and length-corrected lexical diversity indices, then translates the results into concrete, copy-paste-ready LLM prompt constraints for voice replication. ## Core Features & Use Cases - Multi-Formula Readability Scoring: Computes Flesch-Kincaid, Coleman-Liau, Gunning Fog, SMOG, and ARI per document, reporting a consensus median and range instead of a single score. - Length-Corrected Lexical Diversity: Measures MTLD, MATTR, and hapax legomena ratio so vocabulary diversity can be compared across texts of different lengths. - Prompt Constraint Translation: Converts measured metrics into target ranges (grade level, sentence length, MTLD floor) formatted as a ready-to-embed constraint block. - Use Case: Before building a voice-replication agent from a Reddit corpus, run this analysis to discover the author writes at FK grade 11-14 with MTLD around 94, then embed those numeric targets directly into the generation prompt. ## Quick Start Analyze the writing samples in this project and produce a readability and lexical diversity report with prompt constraints at docs/analysis/19-readability-lexical-diversity.md.