sample-text-processor — Claude Code skill: what it does
sample-text-processor — a basic reference skill for word counting, character metrics, and batch case changes in plain text files. Built as a structural template for skill testing.
LicenseRef-MIT-Commons-Clause 118 installs ★ 1,183 updated 2026-11-08
npx skills add borghei/Claude-Skills --skill sample-text-processor -a claude-codeWhat sample-text-processor does
This skill provides core text manipulation utilities via the text_processor.py CLI script. It calculates total word count, distinct words, line totals, character counts, and the most frequent token. It can also transform text casing to uppercase, lowercase, or title case across single files or whole directories.
The tool outputs results as formatted terminal text or structured JSON files. Its internal architecture divides tasks between TextProcessor, OutputFormatter, and FileManager classes, backed by basic streaming to handle larger files without high memory usage.
Execution requires only Python 3.7 or newer without third-party packages. Because it adheres strictly to basic tier boundaries, it lacks support for rich formats like PDF or docx, working solely with plain text files.
What it helps with
- gather word and character metrics for plain text files
- find the most repeated word inside a document
- convert text casing to uppercase or title case via CLI
- batch process folders of text notes into JSON summary files
Example prompts for the agent
- Analyze document.txt and export metrics to results.json
- Transform draft.txt to title case and save as output.txt
- Run batch analysis on the text_files directory
How to install sample-text-processor
1Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill sample-text-processor -a claude-code2Manually: put the files in place
~/.claude/skills/sample-skill/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/sample-skill/
1Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill sample-text-processor -a codex2Manually: put the files in place
.agents/skills/sample-skill/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill sample-text-processor -a cursor2Manually: put the files in place
.cursor/skills/sample-skill/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install borghei/Claude-Skills engineering/skill-tester/assets/sample-skill2Manually: put the files in place
.github/skills/sample-skill/SKILL.md1Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill sample-text-processor -a gemini-cli2Platform CLI
gemini skills install https://github.com/borghei/Claude-Skills --path engineering/skill-tester/assets/sample-skillManually: put the files in place
.devin/skills/sample-skill/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill sample-text-processor -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about sample-text-processor
How to install sample-text-processor in Claude Code?
Run npx skills add borghei/Claude-Skills --skill sample-text-processor -a claude-code in your terminal.
What dependencies does this skill require?
It needs Python 3.7 or higher. The script relies entirely on the Python Standard Library without external packages.
Can it process formats other than plain text?
No, it intentionally limits processing to plain text and will fail on binary documents like PDF or Word files.