Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add borghei/Claude-Skills --skill sample-text-processor -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/sample-skill/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/sample-skill/

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.

Similar skills

All skills for Testing and QA →
fixing-claude-export-conversations daymade fixing-claude-export-conversations repairs a Claude conversation exported as a .txt file: rejoins paragraphs, rebuilds tables and paths that hard wrapping tore apart. CX Codex +1 825installs amc-run-sample-calibration Shubham Agrawal amc-run-sample-calibration runs end-to-end calibration on a bundled warehouse sample dataset against a running AutoMagicCalib service. It helps verify your AMC microservice before feeding real video streams. CX Codex +1 647installs text-to-speech elevenlabs text-to-speech is a Claude Code skill for generating speech with ElevenLabs. It activates for text-to-audio tasks, voiceovers, and voice app development. CX Codex +1 22,900installs docs-code-sample-standards Samuel Berthe docs-code-sample-standards — a skill that sets the rules every code sample in your docs must meet, then audits the published corpus against them and ranks what to fix. CX Codex +1 13,300installs change-order-processor datadrivenconstruction change-order-processor — a skill for Claude Code, Codex, Cursor, GitHub Copilot, and other agents that tracks construction change orders: cost breakdown, approval chain, and schedule impact. CX Codex +1 123installs payment-application-processor datadrivenconstruction payment-application-processor — a skill that processes construction payment applications: validates schedule of values, calculates retainage, tracks payment status, and generates G702/G703 forms. Requires Python 3. CX Codex +1 117installs

From the same set120

The whole set →
prioritization-frameworks The prioritization-frameworks Claude Code skill selects a prioritization method and ranks backlog items. It covers problems, features, and initiatives. CX Codex +1 119installs dependency-auditor The dependency-auditor Claude Code skill checks project dependencies for vulnerabilities, license conflicts, and upgrade work. It covers Python, Node.js, Go, and Rust projects. CX Codex +1 119installs social-media-manager social-media-manager — a skill to build sustainable social presence: platform selection, content pillars, editorial calendars, and community workflows. For marketers and product leaders scaling SaaS social channels. CX Codex +1 118installs pr-review-expert pr-review-expert — a skill for Claude Code and Codex that analyzes pull request blast radius before merging. It checks downstream imports, security weaknesses, and breaking API schema changes. CX Codex +1 118installs infrastructure-compliance-auditor infrastructure-compliance-auditor audits cloud, network, and CI/CD security from infrastructure configuration, then maps findings to compliance frameworks. Use it for posture reviews and control checks. CX Codex +1 118installs codebase-onboarding codebase-onboarding — a skill for Claude Code, Codex, Cursor and several other agents that scans a repository and produces onboarding docs: architecture overview, key file map, local setup guide, and debugging reference. CX Codex +1 117installs stripe-integration-expert stripe-integration-expert is a Claude Code skill for building Stripe billing integrations for SaaS, covering subscriptions, webhooks, and local testing with Stripe CLI. CX Codex +1 116installs summarize-meeting summarize-meeting — a skill for Claude Code and Codex that turns meeting transcripts into action items and logged decisions. Flags missing assignees or dates instead of inventing them. CX Codex +1 114installs

Project sponsors

Companies that keep this analytics open