Skip to content
cccskills
FreePublished on GitHub

text

Analyze and transform text files using bash tools

The English summary is being prepared. Showing the original description.

See how to install

Files included (5)

  • SKILL.md1.2 KB
  • scripts/extract.sh782 B
  • scripts/search.sh759 B
  • scripts/stats.sh552 B
  • scripts/wordfreq.sh678 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Text Processing Skill

Process text files using standard bash tools (grep, sed, awk, wc).

Available Scripts

stats.sh

Get statistics about a text file (lines, words, characters).

bash /skills/text/scripts/stats.sh document.txt

search.sh

Search for patterns in text files.

bash /skills/text/scripts/search.sh <file> <pattern> [--count] [--context <lines>]

extract.sh

Extract specific lines or sections from a file.

bash /skills/text/scripts/extract.sh <file> --lines <start>-<end>
bash /skills/text/scripts/extract.sh <file> --between <start_pattern> <end_pattern>

wordfreq.sh

Count word frequencies in a text file.

bash /skills/text/scripts/wordfreq.sh document.txt [--top <n>]

Examples

# Get file statistics
bash /skills/text/scripts/stats.sh readme.txt

# Search with context
bash /skills/text/scripts/search.sh log.txt "ERROR" --context 2

# Extract lines 10-20
bash /skills/text/scripts/extract.sh file.txt --lines 10-20

# Top 10 most frequent words
bash /skills/text/scripts/wordfreq.sh article.txt --top 10

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

csv

Free

Analyze and transform CSV data using bash tools

The English summary is being prepared. Showing the original description.

vercel-labs/bash-tool628Updated Aug 22, 2026

See all skills by vercel-labs

Report a problem with this skill