Help us improve
Share bugs, ideas, or general feedback.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hatch3r:hatch3r-cli-csvkitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!-- HATCH3R-CLI-SKILL-GENERATED v1 -->
Parse, transform, clean, and analyze CSV files: auto-detect formats, filter/sort/merge/pivot, generate stats/outliers, with Python (pandas) and JavaScript examples.
Guides qsv-based CSV wrangling with standard workflow order, tool selection matrix for tasks like filtering/joining/aggregating, selection syntax, and pipeline patterns for cleaning/profiling.
Share bugs, ideas, or general feedback.
csvkit — Python CSV toolkit (csvlook, csvsql, csvjoin, csvstat)
Reach for csvlook when the task is in the data category and the agent would otherwise call an MCP tool or read large outputs into context.
CLI tools return structured stdout that fits in <1KB for typical queries; equivalent MCP calls regularly exceed 10KB. Reference: Anthropic engineering (Nov 4 2025) — code-execution-over-MCP yields 98.7% token reduction.
csvcut -c name,email records.csv
Project two named columns from a CSV — column-name addressing instead of positional.
csvstat records.csv
One-shot column-by-column summary: type, count, null %, min/max/mean. Drop-in EDA.
csvgrep -c status -m active records.csv
Row filter where column status matches literal active.
csvjoin -c id a.csv b.csv
Join two CSVs on column id (inner join by default; --left / --outer available).
csvsql --query 'SELECT name FROM data WHERE active = 1' data.csv
Run SQL directly against a CSV using an in-memory SQLite — no schema file required.
hatch3r-cli-duckdb (tier 2) loads and queries the same file in a fraction of the time.hatch3r-cli-qsv (tier 2) is faster with lower memory pressure.| Tool | When to prefer |
|---|---|
hatch3r-cli-duckdb (tier 2) | Large files, analytical SQL, Parquet, multi-file joins |
hatch3r-cli-qsv (tier 2) | Fast column slicing, sampling, deduping |
hatch3r-cli-miller (tier 3) | Streaming put/filter DSL, format conversion |
Verify with:
command -v csvlook
Install (mac):
# pipx
pipx install csvkit
Homepage: https://csvkit.readthedocs.io/