# 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.

- Skill: `sarveshtalele/text-statistics` (Agent Skill, multi-file: 6 files)
- Install (CLI): `npx skillmds@latest add sarveshtalele/text-statistics`
- Raw SKILL.md: https://api.skillmd.com/api/skills/sarveshtalele/text-statistics/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- License: MIT
- Author: sarveshtalele (https://skillmd.com/u/sarveshtalele)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/sarveshtalele/text-statistics

---


# 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.

