Text Stats

v1.0.0

Analyze text documents for word count, reading time, readability scores (Flesch-Kincaid, Gunning Fog), keyword density, and sentence statistics. Supports mul...

0· 392·5 current·5 all-time
byShihao Jiang (Zac)@zacjiang

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for zacjiang/text-stats.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Text Stats" (zacjiang/text-stats) from ClawHub.
Skill page: https://clawhub.ai/zacjiang/text-stats
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Canonical install target

openclaw skills install zacjiang/text-stats

ClawHub CLI

Package manager switcher

npx clawhub@latest install text-stats
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description (text analysis, readability, keyword density, CJK support) align with the included script and SKILL.md usage examples. The script implements the advertised features and does not request unrelated capabilities or credentials.
Instruction Scope
Runtime instructions tell the agent to execute the bundled Python script against a file path provided by the user. The script reads whatever file path is supplied (expected for a text-analyzing tool). It does not access environment variables, network endpoints, or other system config. Users should be aware that, if given a path to a sensitive file, the tool will read it — this is expected behavior but worth noting.
Install Mechanism
There is no install spec; the skill is instruction-driven and invokes an included Python script. The SKILL.md and code both claim zero dependencies and the script uses only the Python standard library.
Credentials
The skill requests no environment variables, credentials, or config paths. The code does not attempt to read environment variables or external credentials.
Persistence & Privilege
always is false and the skill does not modify agent/system configuration or persist credentials. It runs only when invoked and does not escalate privileges.
Assessment
This skill runs the included Python script locally against whatever file you tell it to analyze; it does not contact external services or require credentials. Before installing or invoking, review the script if you have sensitive files — the tool will read any file path you provide. No network exfiltration or hidden behavior was detected, and the implementation uses only the Python standard library.

Like a lobster shell, security has layers — review code before you run it.

latestvk978z28tkf8ac8b7p935d7r12s82ebnn
392downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

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

Comments

Loading comments...