# CSV Proof: clean spreadsheets with every row accounted for

> Clean a CSV and get proof of what changed: every removed row, every trimmed cell, and a delivery ZIP that can be rebuilt from the original file and compared byte for byte.

CSV Proof: clean spreadsheets with every row accounted for is a free AI agent skill on Agensi by Iranzi Response, in Data & Databases. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Iranzi Response](https://www.agensi.io/creators/iranzi-response)
- Category: [Data & Databases](https://www.agensi.io/skills/data-databases)
- Version: 1.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/csv-proof-clean-spreadsheets-with-every-row-accounted-for
- Tags: database, productivity, csv, data-cleaning, spreadsheets, audit-trail

## What it does

- Remove blank rows and exact duplicate rows, keeping the first copy
- Trim spaces from the start and end of headers and cells
- List every removed row with its line number and reason
- Record every trimmed cell with its value before and after
- Package a delivery ZIP only after you confirm your review
- Rebuild a delivery from the original CSV and compare it exactly

## Who it's for

- **Freelancers cleaning client spreadsheets:** A report and row lists a client can check, not just a claim that duplicates were removed. Try: "Clean this client CSV and prepare a delivery I can hand over with proof."
- **Assistants tidying contact or order lists:** Blank and exact duplicate rows removed, with each one listed so nothing disappears unnoticed. Try: "Remove empty and repeated rows from this list and show me what you removed."
- **Anyone who has to explain a cleanup later:** A delivery that can be rebuilt from the original file and compared byte for byte. Try: "Check that this delivery.zip really matches the original CSV."

## About this skill

When you clean a client's spreadsheet, "I removed the duplicates" is hard to check. CSV Proof gives you the list.

**Rules it applies**
- Trims spaces from the start and end of headers and cells
- Removes rows with no content
- Removes rows identical to an earlier row after trimming, keeping the first
- Keeps every value as text, so leading zeros stay in the file

**What you get**
- Cleaned CSV files
- A list of every removed row, with its line number and reason
- A list of every trimmed cell, before and after
- A report where source rows = kept + blank + duplicates
- A delivery ZIP, created only after you give a reviewer name
- A check that rebuilds the delivery from the original and compares it byte for byte

**What it does not do:** date repair, fuzzy matching, merging files, Excel (.xlsx) files, or checking that the data is true. Cells that start like spreadsheet formulas are flagged and left unchanged. The reviewer name is a record, not a digital signature. The delivery ZIP includes removed rows and earlier cell values, so check the recipient may see them.

## Requires

- Python 3.9+

## Known limitations

UTF-8 CSV only: up to 32 MiB and 100,000 data rows per file, 200 columns. Removes only blank rows and rows identical after trimming. No date repair, fuzzy matching, currency conversion, merging or Excel (.xlsx) files. Does not check that data is true. The reviewer name is not a digital signature.

## Technical details

One Python script using only the standard library. Tested with Python 3.9 and 3.14 on Linux, Windows and macOS. No extra packages, no API keys, no network requests. Input is UTF-8 CSV with comma, semicolon, tab or pipe delimiters: up to 32 MiB and 100,000 data rows per file, 200 columns, 100 files per run. A row with the wrong number of cells stops the run and writes nothing. Originals are never modified. Licence: PolyForm Shield 1.0.0, included in the package: use it freely, including for client work, but do not offer a competing product made from it.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the CSV Proof: clean spreadsheets with every row accounted for skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does it change?

It trims spaces from the start and end of headers and cells, removes rows with no content, and removes rows identical to an earlier row after trimming. Values are not reformatted.

### What do I receive?

Cleaned CSV files, a list of removed rows, a list of trimmed cells, a report and a proof file. After you confirm your review, these go into a delivery ZIP with a review record.

### What do I need installed?

Python 3.9 or later. The script uses only the standard library, makes no network requests and needs no API keys.

### What can it not do?

It does not repair dates, merge similar names, fill gaps, convert currencies or read Excel files.

### Does it delete or change my original file?

No. The original is only read. A private copy is kept in the run folder, and it is not put in the delivery ZIP.

### What does verification prove?

With the original file, it shows the delivered files are exactly what the rules produce from it. Without the original, it only shows the ZIP is consistent with itself.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
