Mechanical prose metrics — sentence length, opener variety, dialogue ratio, repetition, pronoun distribution. Use when you need quantitative signals about prose before making subjective judgments, or when comparing a draft against the project's baseline.
Scripts that measure mechanical properties of prose. These produce numbers, not quality verdicts. The numbers become useful only when compared against the project's own baseline — research shows no reliable universal thresholds for "good" prose exist.
The bundled resources/analyze.sh script produces:
bash resources/analyze.sh <file.md> [window_size]
file.md — the markdown file to analyzewindow_size — optional, number of paragraphs for the repetition detection window (default: 5)Output is plain text with labeled sections. Standard unix tools only (awk, sed, grep, wc, sort).
Some metrics from the research literature are excluded because they're either unreliable, require Python NLP libraries, or don't produce actionable signals for creative writing:
resources/analyze.sh — the analysis scriptresources/antipatterns.md — AI writing antipatterns, honestly categorized as research-backed vs community folklore. Read this when reviewing AI-generated drafts and you want to know which signals are worth investigating vs which are unreliable.resources/baseline.md — how to establish a project baseline from existing chapters and compare new drafts against it. Read this before interpreting analysis output for the first time on a project.