- Home
- Skills
- Data & Databases
- CSV Toolkit
Works with the AI Agents you already use
CSV Toolkit
Clean, filter, summarize, and convert CSV files to JSON and Markdown tables with Python. Use when the user or agent wants to work with spreadsheet data in a CSV file.
Free
CSV Toolkit
Example session with this skill installed
Summarize this CSV — how many rows, what columns?
- Read your context and instructions
- Compiled the csv toolkit
- Generated the data export
Here is a summary of sales.csv, before changing anything:
- Rows: 2,431
- Columns (6): date, product, price, qty, city, channel
- Empty values: 3 rows have an empty city, 1 row has an empty price
- Duplicates: 2 exact duplicate rows found
- File type: confirmed CSV — no spreadsheet needed
Nothing was changed or overwritten. This is a read-only summary, and your original file is untouched.
Next steps I can do on request
- Clean it: strip whitespace, drop empty rows and exact duplicates (for example 120 rows -> 114 rows)
- Filter it: for example, only the rows where city is Paris, then save them to paris.csv
- Convert it: to JSON (data.json) or to a Markdown table (table.md)
Tell me which one you want, or ask for a different filter — I never guess column names, I use the summary above.
sales.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Handling spreadsheet data often requires opening heavy applications just to perform basic cleanup or filtering. This skill provides a CLI-driven workflow for manipulating CSV files locally using Python, ensuring your data never leaves your machine.
What it does
- Data cleaning identifies and removes exact duplicate rows and strips whitespace from cells.
- Row filtering extracts specific data based on exact matches or substring searches within defined columns.
- Schema analysis generates summaries including row counts, column names, and identifies missing values.
- Format conversion transforms raw CSV data into structured JSON files or formatted Markdown tables.
- Integrity checks validates file types and confirms row counts before and after operations.
How it works
- Analyze the source file using the
summarycommand to map columns and identify data quality issues. - Clean the dataset to drop empty rows and duplicates into a new output file.
- Filter the records by applying
--equalsor--containsflags to specific column headers. - Convert the processed results into
.jsonor.mdformats for documentation or further programmatic use.
Frameworks & tools
This skill utilizes a Python-based utility script csvtool.py for all processing logic. It operates entirely on the local filesystem without external API dependencies.
Why this beats prompting it yourself
Writing scripts to handle edge cases like malformed CSVs or encoding issues is tedious. This skill enforces a safe workflow that never overwrites source files and provides immediate feedback on row-count changes, preventing silent data loss.
Use cases
- Clean messy CRM exports by removing trailing spaces and duplicate leads.
- Extract regional sales data for specific cities into a separate report.
- Convert raw database dumps into Markdown tables for GitHub documentation.
- Inspect large datasets for empty values before importing into a production DB.
Known limitations
Does not support complex logic like multi-column joins or regex filtering. Requires the local csvtool.py script to be present in the tools directory.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Free with an Agensi account
- Software
Python 3.10+
Permissions
What's inside
Frequently Asked Questions
New in Data & Databases
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.