Text Statistics

Compute readability and structural statistics for a block of text: word count, sentence count, character count, average word length, and an approximate Flesch reading-ease score. Trigger when the user asks to analyze text, count words, measure readability, or get text statistics.

sarveshtalele Updated

File contents

Text Statistics Skill

Analyze a block of text and report structural and readability metrics.

How it works

  1. Tokenize the input into sentences and words.
  2. Count words, sentences, and characters.
  3. Estimate syllables per word to compute an approximate Flesch reading-ease score.
  4. Return all metrics as a structured object.

Usage

Call the skill with a single text input. The skill returns the metrics described in the outputs section of the frontmatter.

sarveshtalele/mcp-skills-registry/tree/main/skills/text-statistics commit beb0cef828

Frequently asked questions

npx skillmds@latest add sarveshtalele/text-statistics