csv-quick-clean
Skill0 starsChanged 34 days agoMITView on GitHub
Quickly cleans a messy CSV export from a bank, accounting tool, CRM or store - skips title lines above the real header, detects the delimiter, removes blank and duplicate rows, converts amount text like "(1,234.50)", "Rs. 500", "$1,200" or "250 Dr" into numbers and rewrites dates as YYYY-MM-DD. Use when the user uploads a CSV that won't sort or sum properly, asks to tidy or clean an export, or needs a clean CSV before analysis.
In this repositoryOne other file it gives its agents.
- ai-crawler-checkSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Read the JSON summary and tell the user what changed: the header row found, title lines skipped, duplicates removed, and which columns …
- Distinctive: line 22
Do the user's actual analysis on the clean file with pandas, not on the raw one.
- Distinctive: line 25
Never edit values by hand to "fix" them.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CSV Quick Clean (free sampler)
Script paths:
${CLAUDE_SKILL_DIR}is this skill's folder. Claude Code fills it in. On claude.ai and the API the folder is copied into the sandbox, so run the samescripts/...path relative to this SKILL.md.
Workflow
- Save the user's file and run:
python3 ${CLAUDE_SKILL_DIR}/scripts/quick_clean.py "input.csv" - Read the JSON summary and tell the user what changed: the header row found, title lines skipped, duplicates removed, and which columns became numbers or dates.
- Show the first 5 rows of
input_clean.csvand offer the file. - Do the user's actual analysis on the clean file with pandas, not on the raw one.
Rules
- Never edit values by hand to "fix" them. If a column didn't convert, say so and show 3 example values.
- Dates are read day-first unless a value proves month-first (for example 09/13/2026). Mention which was used.
- This is the lite version. For Excel files, total-row checks, bank-vs-books reconciliation, budget variance and month-end packs, see the Oarsman Finance Analyst Pack.
Example
tests/fixtures/messy_export.csv (2 title lines, a duplicate row, (1,200.00) and Rs. 5,000 Cr amounts, 12 Sep 2026 dates) becomes 4 clean rows with numeric amounts and ISO dates.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

