# CSV Processor

> csv-processor

- Skill: `ondrej-merkun/csv-processor` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add ondrej-merkun/csv-processor`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ondrej-merkun/csv-processor/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- Author: ondrej-merkun (https://skillmd.com/u/ondrej-merkun)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/ondrej-merkun/csv-processor

---

# csv-processor

Reads, filters, aggregates, and converts CSV files using Python's stdlib `csv` module.

<csv-processor>
Use this skill to work with tabular data in CSV format.

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.
</csv-processor>

