agentleFS
gofastercloudgofastercloud/worldbuilder/skills/prose-check/SKILL.md

prose-check

Skill7 starsChanged 4 days agoApache-2.0View on GitHub

Measure prose readability for worldbuilder chapters, entities and stories using Flesch, Flesch-Kincaid, Gunning Fog, dialogue ratio and style flags. Use when the user asks how hard their writing is to read, whether a chapter or story matches its target audience, or which paragraphs or files stand out. Scores are advisory.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run the stdlib-only readability report (scripts/readability.py, resolved relative to this skill's directory) on a file or folder:

    line 8

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Prose check

Run the stdlib-only readability report (scripts/readability.py, resolved relative to this skill's directory) on a file or folder:

python3 <this-skill-dir>/scripts/readability.py <path> [--json]

Pass a single .md file, or a folder (searched recursively, files starting with _ skipped). Frontmatter is stripped. Use --json when you need to inspect the numbers programmatically.

Reading the scores

  • Flesch reading ease (higher is easier): 60-70 is standard fiction, 50-60 is literary or dense, below 30 is academic.
  • Flesch-Kincaid grade: years of schooling. Genre and young-adult fiction usually sits around 6-9, adult literary fiction 9-12. Worldbuilding reference text (rules, histories) often runs higher because of proper nouns and clauses.
  • Gunning Fog and Coleman-Liau are cross-checks; if they disagree wildly with FK, the text likely has many long words or unusual punctuation.
  • Dialogue ratio: share of words inside quotes. Action-heavy scenes are low, dialogue-driven scenes high. Judge it against the scene's intent.
  • Adverbs and fillers per 1,000 words, repeated openers and longest sentences: style flags to look at, not errors.

Compare like with like. A codex entry, a chapter and a dialogue scene should not share one target. Ask the user for the intended audience and prose style before calling a score too hard or too easy.

Outliers

Paragraphs or files more than 1.5 standard deviations from their average are flagged. These are places to look, not problems to fix. Check whether the outlier is deliberate (a dense worldbuilding passage, a quiet emotional beat) before rewriting.

Caveats

  • Syllables are estimated with a vowel-group heuristic, so scores can differ by a few tenths from textstat-based tools.
  • Results are advisory. Never change prose only to hit a number.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.