Loading...
Loading...
Analyze and transform text files using bash tools
npx skill4agent add vercel-labs/bash-tool textbash /skills/text/scripts/stats.sh document.txtbash /skills/text/scripts/search.sh <file> <pattern> [--count] [--context <lines>]bash /skills/text/scripts/extract.sh <file> --lines <start>-<end>
bash /skills/text/scripts/extract.sh <file> --between <start_pattern> <end_pattern>bash /skills/text/scripts/wordfreq.sh document.txt [--top <n>]# 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