AGENT SKILL
csv-tools
Parse and analyze CSV data
- License 许可
- MIT
- 所属仓库
- gebruder/wirken
- 最近更新
- 2026-11-14
- Stars
- ★ 214
- Forks
- 15
01 前言 Front Matter
- name
- csv-tools
- description
- Parse and analyze CSV data
- permissions
- { "tools": { "allow": [ "exec" ] }, "egress": { "mode": "deny" }, "inference": { "allow": [ "*" ] } }
- disable-model-invocation
- false
02 资源文件 3
- 其他SKILL.deleg128 B
- 其他SKILL.pub64 B
- 其他SKILL.sig128 B
03 SKILL.md 正文
CSV Tools
Work with CSV files using standard shell tools.
View
- First few rows:
head -5 data.csv - Column headers:
head -1 data.csv - Row count:
wc -l data.csv - Specific columns (1st and 3rd):
cut -d',' -f1,3 data.csv
Filter and sort
- Filter rows:
awk -F',' '$3 > 100' data.csv - Sort by column:
sort -t',' -k2 -n data.csv - Unique values in column:
cut -d',' -f2 data.csv | sort -u - Count by value:
cut -d',' -f2 data.csv | sort | uniq -c | sort -rn
Transform
- Remove header:
tail -n +2 data.csv - Add line numbers:
nl -ba data.csv - Replace delimiter:
sed 's/,/\t/g' data.csv(CSV to TSV)
Python (for complex operations)
python3 -c "
import csv, sys
reader = csv.DictReader(open('data.csv'))
for row in reader:
print(row)
" | head -10
04 同仓库更多 Skills
web-fetch
Fetch and extract content from URLs
★ 214
weather
Get current weather and forecasts
★ 214
tmux
Manage tmux terminal sessions
★ 214
system-info
System information and monitoring
★ 214
ssh
SSH key management and remote connections
★ 214
process-manager
Monitor and manage system processes
★ 214