Gallery
# CSV cleanup

Use the bundled script on your computer; it only reads the input and writes a new file.

```
python3 ~/skills/csv-cleanup/scripts/clean.py input.csv cleaned.csv
```

It trims whitespace in every cell, turns headers into `snake_case`, removes fully empty rows and exact duplicate rows, and prints a summary.

After running it:

1. Open the first rows of the cleaned file and check the headers look right.
2. Tell the person how many rows were removed and why (the script's summary).
3. Ask before doing anything that changes meaning, such as merging near-duplicates, fixing dates or filling blanks.

Skill · By Casama · Apache-2.0

CSV cleanup

Clean a messy CSV file - trim spaces, normalize headers, drop empty and duplicate rows - and report what changed.

What it can access

  • Reads files you share
  • Can creates a cleaned file
  • Runs code Runs scripts while it works
  • Computer Needs the bot's own computer
  • Cost Uses a few credits

Try it

CategoryData
Made byCasama
VersionVersion 1 · updated November 11, 2026
AddedNovember 11, 2026
LicenseApache-2.0
SourceOn GitHub
Add a badge to your README

Add to Casama

Markdown

[![Add to Casama](https://gallery.casama.ai/badge.svg)](https://gallery.casama.ai/i/skill/csv-cleanup/)

HTML

<a href="https://gallery.casama.ai/i/skill/csv-cleanup/"><img src="https://gallery.casama.ai/badge.svg" alt="Add to Casama" height="40"></a>

More skills