mcpbeat Sign in

Text Analyzer Agent Skill

Analyze text content and produce statistics including word count, line count, character count, most frequent words, and readability metrics. Works on any plain text input provided inline or from a file path.

3k tokens
context cost
the whole folder, loaded on every use
4
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
162
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/NVIDIA/SkillEvaluator --skill text-analyzer

What comes with it

8 340 bytes besides the instruction
evals/evals.json
evals/evals2.json
scripts/analyze_text.py

The instruction itself

8 sections, as written by the author

Text Analyzer

Analyze text and produce structured statistics.

Purpose

Provide quick text analytics — word counts, line counts, character counts,

top frequent words, average word length, and sentence count — for any

plain-text input.

Agent Instructions

  • Read this SKILL.md to understand capabilities.
  • Run scripts/analyze_text.py with the appropriate arguments.
  • Return the analysis results to the user.

Examples

Usage

# Analyze inline text
python scripts/analyze_text.py --text "Your text content here"

# Analyze a file
python scripts/analyze_text.py --file /path/to/file.txt

# JSON output (default is human-readable)
python scripts/analyze_text.py --text "Hello world" --json

Output

The script prints a structured report with:

  • Word count — total words
  • Line count — total lines
  • Character count — total characters (including whitespace)
  • Sentence count — estimated sentence count
  • Average word length — mean characters per word
  • Top 5 words — most frequent words and their counts

Limitations

  • Sentence detection uses simple period/question/exclamation splitting;

may be inaccurate for abbreviations (e.g., "U.S.A.").

  • Non-UTF-8 files will be read with errors replaced.

Troubleshooting

| Problem | Fix |

|---------|-----|

| FileNotFoundError | Check the --file path exists |

| Empty output | Ensure --text or --file is provided |

How to use it

Copy the folder

Take nvidia/text-analyzer from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.