Reads, filters, aggregates, and converts CSV files using Python's stdlib csv module.
Commands:
head <file> [n] — print the first n rows (default 10) with headers
describe <file> — count rows, list column names, detect types
filter <file> <col> <value> — print rows where column equals value
sum <file> <col> — sum a numeric column
to-json <file> — convert CSV to a JSON array of objects
dedup <file> <col> — remove duplicate rows by a column value
All operations are in-memory. No external libraries required.
Input and output are to stdout unless --out <file> is specified.
1---2name: csv-processor3description: csv-processor4---5# csv-processor67Reads, filters, aggregates, and converts CSV files using Python's stdlib `csv` module.89<csv-processor>10Use this skill to work with tabular data in CSV format.1112Commands:13- `head <file> [n]` — print the first n rows (default 10) with headers14- `describe <file>` — count rows, list column names, detect types15- `filter <file> <col> <value>` — print rows where column equals value16- `sum <file> <col>` — sum a numeric column17- `to-json <file>` — convert CSV to a JSON array of objects18- `dedup <file> <col>` — remove duplicate rows by a column value1920All operations are in-memory. No external libraries required.21Input and output are to stdout unless `--out <file>` is specified.22</csv-processor>
Run npx skillmds@latest add ondrej-merkun/csv-processor in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
csv-processor It is listed under Data & Analytics on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
ondrej-merkun (@ondrej-merkun) published this skill. Their other Agent Skills are listed on their SkillMD profile.