# CSV Cleanup

> Clean and validate CSV data. Use when the user asks to deduplicate, trim, or sanity-check a CSV before import.

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

---


# CSV cleanup

Use this when the user wants to tidy CSV data.

## Steps
1. Detect the delimiter (comma, tab, or semicolon) from the header row.
2. Trim leading and trailing whitespace from every cell.
3. Drop rows that are exact duplicates of an earlier row.
4. Report the final row and column counts, and how many duplicates were removed.

Always show the cleaned result and a one-line summary of what changed.

