text-stats

text-stats is a skill for Claude Code from curie-eng/curie. It costs 56 tokens per session (273 once invoked), scanned A, original, Apache-2.0.

A text-statistics skill that counts words and characters or estimates reading time at 200 words per minute. It uses a bundled local engine rather than a network service.

In plain words
What is it for?
Checking word count, character count with or without spaces, and estimated reading time for a passage.
Why use it?
It answers common length questions consistently and avoids manually counting text or estimating reading time.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the text-stats-engine plugin — 1 skill shipped together

Good fit Checking word count, character count with or without spaces, and estimated reading time for a passage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/curie-eng/curie/text-stats
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add curie-eng/curie --skill text-stats
Clone the repo
git clone --depth 1 https://github.com/curie-eng/curie

Made for: Claude Code.

Or install text-stats-engine, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for text-stats

README.md
[![agentmods](https://agentmods.dev/badge/skills/curie-eng/curie/text-stats/github.svg)](https://agentmods.dev/skills/curie-eng/curie/text-stats)
Your own site
<a href="https://agentmods.dev/skills/curie-eng/curie/text-stats"><img src="https://agentmods.dev/badge/skills/curie-eng/curie/text-stats/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for text-stats

Your own site · 80×15
<a href="https://agentmods.dev/skills/curie-eng/curie/text-stats"><img src="https://agentmods.dev/badge/skills/curie-eng/curie/text-stats.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 273 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.00273
Opus 5 $0.00028 $0.00137
Sonnet 5 $0.00011 $0.00055
Haiku 4.5 $0.00006 $0.00027

Measured 9d ago against content hash 5b8636bc6494, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

text-stats scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/text-stats-engine/skills/text-stats/SKILL.md · 28 lines

What it actually says

Text statistics

When to run

The user asks how many words or characters a passage has, or how long it takes to read.

How to answer

  1. Take the text the user provided (or asks about).
  2. Call the in-bundle engine's tool for the metric requested:
    • word_count for a word total.
    • char_count for a character total (pass include_whitespace: false to exclude spaces).
    • reading_time_minutes for an estimated read time at 200 wpm.
  3. Report the number plainly, naming the metric and the text it applies to.

Notes

The engine runs as an in-bundle stdio MCP server (scripts/engine_server.py, declared in .mcp.json). The harness spawns it as a subprocess; there is no network service and nothing to provision. See this bundle's README for when to prefer this shape over a CLI subprocess.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 28 lines · 56 tokens per session scan A 5b8636bc6494

Subscribe to this mod's changes

text-stats is a skill published in the GitHub repository curie-eng/curie (35 stars, last pushed today), licensed Apache-2.0. It adds 56 tokens to every session and 273 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

pdf-text-replace

Replace text in fillable PDF forms by updating form field values. This skill should be used when users need to update names, addresses, dates, or other text in PDF form fields.

instavm/coderunner · 42 tokens

suede-product-marketing

Suede-owned product-marketing context discipline. Use when a project needs a shared record of product, audience, ICP, positioning, objections, customer language, proof, and goals, or when that record needs updating. NOT FOR: writing a campaign (use suede-campaign-in-a-box), conducting new customer interviews (use…

JasonColapietro/suede-creator-skills · 81 tokens

design-export-repair

Fixes broken decks/PDFs exported from Claude's "Design" feature (or similar AI deck generators) — cut-off or clipped text, wrong/substituted fonts, and corrupted .pptx package structure that shows up only once you export to PDF, not while looking at it in the app. Use this skill whenever the user uploads a zip, .pptx…

OneWave-AI/claude-skills · 219 tokens

google-apps-script

Build Google Apps Script automation for Sheets and Workspace. Custom menus, triggers (onEdit / time-driven / form submit), dialogs, sidebars, email batches, PDF export, external API. Use whenever the user wants to automate a Google Sheet, build a Sheets menu / sidebar / dialog, hit a Sheets row from email or a…

jezweb/claude-skills · 89 tokens

csv-excel-merger

Merge multiple CSV/Excel files with intelligent column matching, data deduplication, and conflict resolution. Handles different schemas, formats, and combines data sources. Use when users need to merge spreadsheets, combine data exports, or consolidate multiple files into one.

OneWave-AI/claude-skills · 56 tokens

brand-consistency-checker

Scan documents and slides for off-brand colors, fonts, and logos. Validate against brand guidelines and suggest corrections.

OneWave-AI/claude-skills · 28 tokens