word-counter

Count words, sentences, and characters in plain text input.

10|7|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/librefang/librefang-registry --skill word-counter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: word-counter
Source: https://github.com/librefang/librefang-registry/tree/main/examples/skills/custom-skill-python
Command: npx skills add https://github.com/librefang/librefang-registry --skill word-counter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Counts words, sentences, and characters in the provided text, enabling quick text metrics and quality checks.

Core Features & Use Cases

  • Word counting: counts total words in a given text.
  • Sentence counting: detects and counts sentences based on common punctuation.
  • Character counting: returns total character count for the input text.
  • Use Case: When drafting articles or summaries, verify length constraints quickly.

Quick Start

Provide the text input and run the skill to receive word, sentence, and character counts.

Frequently Asked Questions about word-counter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I count words, sentences, and characters in a plain text article?

To count words, sentences, and characters in plain text, provide the article as input and run the tool to instantly return total counts for each metric. It reads the text input and outputs the metrics as a plain text string.

What is the best way to check text length and readability metrics for notes?

Checking text length and readability metrics for notes is done by running a text analysis process that returns total word, sentence, and character counts. This helps quickly gauge the length constraints of your drafts.

Can I use this word counter for text processing on messages and summaries?

Yes, you can use this word counter for text processing on messages and summaries. It applies to any plain text input to instantly detect and count sentences based on common punctuation alongside words and characters.

Does the sentence count detection work with all common punctuation marks?

Sentence count detection works by identifying common punctuation marks in the provided text. It scans the plain text input to detect and count sentences based on standard punctuation, returning the total count.

Do I need any external dependencies to run text analysis and count words?

No external dependencies are needed to run text analysis and count words. The tool is implemented entirely in Python with a standalone function that processes the input text and returns the metrics.

Why does my character count vary when processing text input?

Character count varies depending on the exact text input provided, accurately returning the total character count for that specific text. It processes the exact plain text string passed to it without altering the data.