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.
npx skills add https://github.com/NVIDIA/SkillEvaluator --skill text-analyzer
Analyze text and produce structured statistics.
Provide quick text analytics — word counts, line counts, character counts,
top frequent words, average word length, and sentence count — for any
plain-text input.
scripts/analyze_text.py with the appropriate arguments.# 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
The script prints a structured report with:
may be inaccurate for abbreviations (e.g., "U.S.A.").
| Problem | Fix |
|---------|-----|
| FileNotFoundError | Check the --file path exists |
| Empty output | Ensure --text or --file is provided |
Take nvidia/text-analyzer from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
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.