Packs / education-public
readability-score
score a text's readability (Flesch reading ease and Flesch-Kincaid grade) to match it to a class level
Install
logicpacks pack use education-public/readability-scoreget_pack education-public/readability-scoreThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
python-stdlib - Checks: 2 in
outcome/checks.yaml - Code:
readability.py - Tools: python3
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
Score a text's readability (Flesch reading ease and Flesch-Kincaid grade) to match it to a class level.
Steps
- Save the text as plain text.
- Run readability.py.
- Rewrite long sentences and long words until the grade matches the class.
Edge cases
- Formulas are for English; other languages need other formulas.
- Heuristic syllable counts are approximate.
Don'ts
- Don't optimise only for the score; check meaning still holds.
Routes (free first)
python-stdlib:code/readability.py(no install).