# Text Statistics

> Analyze text for word count, reading time, complexity metrics, and readability scores. Use when user asks to analyze document length, calculate reading time, or assess text complexity.

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

---


# Text Statistics

Quick analysis of text metrics including word count, reading time, complexity, and readability.

## When to Use

Invoke when user:
- Asks "how long is this text?"
- Wants reading time estimates
- Needs complexity or readability scores
- Says "analyze this document" or "how many words?"

## Core Capabilities

### 1. Basic Metrics

**Word Count**
- Total words
- Unique words
- Average word length

**Character Count**
- With and without spaces
- Alphanumeric vs punctuation

**Reading Time**
- Assuming 200-250 words/minute
- Adjusted for complexity

### 2. Complexity Analysis

**Sentence Structure**
- Average sentence length
- Sentence length variance
- Simple vs complex sentences

**Vocabulary**
- Unique word ratio
- Long word percentage (7+ chars)
- Syllable count estimates

### 3. Readability Scores

**Flesch Reading Ease**
- 0-100 scale
- Higher = easier to read

**Grade Level Estimate**
- US grade level equivalent
- Based on sentence/word complexity

## Output Format

```
TEXT STATISTICS REPORT
=====================

Basic Metrics:
- Word Count: X (Y unique)
- Character Count: X (Y without spaces)
- Reading Time: X-Y minutes

Complexity:
- Avg Sentence Length: X words
- Long Words (7+ chars): X%
- Vocabulary Richness: X%

Readability:
- Flesch Score: X/100 (Level)
- Grade Level: X

Interpretation:
[Brief assessment of text complexity and audience appropriateness]
```

## Examples

See `references/examples.md` for analyzed samples.

## Integration

Standalone skill. Useful before:
- Prose Polish (get baseline metrics)
- Content generation (target metrics)

