بنقرة واحدة
csv-process
Read, filter, select, aggregate, and join CSV / tabular data without spinning up a full data stack.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Read, filter, select, aggregate, and join CSV / tabular data without spinning up a full data stack.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | csv-process |
| description | Read, filter, select, aggregate, and join CSV / tabular data without spinning up a full data stack. |
| version | 0.1.0 |
Work with CSV and tabular data quickly. Use this for the everyday operations — peek at a file, filter rows, pick columns, compute an aggregate, or join two files on a key — without writing a one-off parser or pulling in a heavy library.
The helper at scripts/csv_tool.py (stdlib csv) handles all of these. For
large datasets or complex analytics, pandas is a better fit
(pip install pandas) — but reach for it only when the operations below aren't
enough.
All subcommands read a CSV with a header row and write CSV (or a value) to stdout.
# Peek: header + first N rows
python scripts/csv_tool.py head data.csv -n 5
# Filter rows by a column condition (==, !=, >, <, >=, <=, contains)
python scripts/csv_tool.py filter data.csv --where 'status == active'
python scripts/csv_tool.py filter data.csv --where 'amount > 100'
# Select / reorder columns
python scripts/csv_tool.py select data.csv --columns id,name,amount
# Aggregate a numeric column, optionally grouped
python scripts/csv_tool.py agg data.csv --column amount --op sum
python scripts/csv_tool.py agg data.csv --column amount --op sum --group-by region
# Inner-join two files on a shared key column
python scripts/csv_tool.py join orders.csv customers.csv --on customer_id
Supported --op for agg: sum, mean, min, max, count.
head — confirm the delimiter parsed, the header names
are what you expect, and the data looks sane.--group-by to get per-category totals; without it you get
a single overall value.pandas.pandas.csv
reader handles quoted fields, but eyeball the head output to be sure.jq-style select, filter, and reshape over JSON and YAML — extract paths, map arrays, and filter records without writing throwaway code.
Write a dataset (array of records) to CSV, JSON, XLSX, or PDF through one interface — format chosen by the output extension.
Read, write, search, and edit files in the workspace safely — atomic writes, exact-match edits, and recursive content search.
Everyday git — clone, branch, stage, diff, commit, and push, with a safe, predictable workflow.
Make HTTP/REST requests with auth, custom headers, query/body, pagination, retries with backoff, and structured error handling.
Connect to a Model Context Protocol (MCP) server, perform the handshake, discover its tools, and invoke them over JSON-RPC.