Text Stats
Analyze text documents for word count, reading time, readability scores (Flesch-Kincaid, Gunning Fog), keyword density, and sentence statistics. Supports mul...
Shihao Jiang (Zac)
@zacjiang
Install
$ openclaw skills install @zacjiang/text-statsText Stats
Analyze any text document for readability, word count, keyword density, and more. Perfect for content optimization, SEO analysis, or writing improvement.
Usage
Full analysis
python3 {baseDir}/scripts/text_stats.py analyze document.txt
python3 {baseDir}/scripts/text_stats.py analyze document.md
Word count only
python3 {baseDir}/scripts/text_stats.py wc document.txt
Keyword density
python3 {baseDir}/scripts/text_stats.py keywords document.txt --top 20
Reading time
python3 {baseDir}/scripts/text_stats.py time document.txt
Output Example
๐ Text Analysis: article.md
โโโโโโโโโโโโโโโโโโโโโโโโโโ
Words: 2,847
Characters: 16,203
Sentences: 142
Paragraphs: 38
Avg words/sent: 20.0
Reading time: ~11 min (at 250 wpm)
Readability:
Flesch-Kincaid Grade: 8.2 (8th grade)
Flesch Reading Ease: 62.1 (Standard)
Gunning Fog Index: 10.4
Top Keywords:
AI (47x, 1.65%)
agent (31x, 1.09%)
data (28x, 0.98%)
Features
- ๐ Word, character, sentence, paragraph counts
- โฑ๏ธ Estimated reading time
- ๐ Readability scores (Flesch-Kincaid, Gunning Fog, Flesch Reading Ease)
- ๐ Keyword frequency and density
- ๐จ๐ณ CJK character counting (Chinese characters = words)
- ๐ชถ Zero dependencies โ Python stdlib only
Dependencies
None! Uses only Python standard library.
Top skills in this category
self-improving agent
@pskoettCaptures and maintains learnings, errors, and corrections. Use when a command fails, the user corrects an assumption, a capability is missing, knowledge is outdated, or a better approach is found. Review relevant saved guidance before major tasks, reuse, and promotion; revalidate it according to wha
Self-Improving + Proactive Agent
@ivangdavilaSelf-reflection + Self-criticism + Self-learning + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves permanently. Use when...
ontology
@oswalpalashTyped knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linkin...
Humanizer
@biostartechnologyRemove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
Obsidian
@steipeteWork with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.