
text
โ 592by vercel ยท part of vercel-labs/bash-tool
Analyze and transform text files using bash tools
This is the playbook your agent receives when the skill activates โ you don't need to read it to use the skill, but it's here to audit before installing.
name: text description: Analyze and transform text files using bash tools
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.txtsearch.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 10npx skills add https://github.com/vercel-labs/bash-tool --skill textRun this in your project โ your agent picks the skill up automatically.
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MITโ you can use, modify, and redistribute it under that license's terms.