# CSV Clean & Reconcile Kit — The Janitor That Shows Its Work

> Feed it the dirty export and get back a clean CSV plus a per-column receipt of every change it made — then point it at two files that should match and get the exact rows and fields where they don't, with counts that are reconciled against the detail before they're printed.

CSV Clean & Reconcile Kit — The Janitor That Shows Its Work is a paid AI agent skill on Agensi by 程向阳, in Data & Databases. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $15 (one-time purchase)
- Creator: [程向阳](https://www.agensi.io/creators/creator-1452)
- Category: [Data & Databases](https://www.agensi.io/skills/data-databases)
- Version: 1.1
- Last updated: 2026-11-26
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/csv-clean-reconcile-kit-the-janitor-that-shows-its-work
- Tags: database, csv, data-cleaning, node-js, data-audit

## About this skill

Every integration, migration, and month-end close starts with the same two fights: the CSV is filthy, and the two systems that were supposed to agree, don't. This kit ends both fights — and unlike a quick script or a spreadsheet macro, it **shows its work and checks its own arithmetic**.

**`clean` — one messy CSV in, a clean CSV and a receipt out.**

- **Exact duplicate rows removed** — byte-identical rows only, first occurrence kept, removals counted. No fuzzy "looks similar" deletions.
- **Dates normalised to ISO** — `2024/01/05`, `05-01-2024`, `06/01/2024` and friends all become `YYYY-MM-DD`. Ambiguous slash dates are resolved by a stated rule (DD/MM) and **counted as ambiguous** in the report, so you know exactly which cells to eyeball.
- **Numbers un-decorated** — `$1,234.50` becomes `1234.50`. Currency symbols ($ € £ ¥ ￥) and thousands separators stripped; digits and decimals never altered. Leading-zero values like `007` are recognised as codes and left alone.
- **Null markers counted, not hidden** — `NULL`, `N/A`, `#N/A` and blanks normalised per column, so you can see which columns are quietly full of holes.
- **Column types inferred** — date / integer / number / string, from the data itself (≥ 80% agreement rule), and printed in the report.

And the receipt is honest: the report's changed-cell total is **reconciled against an independent cell-by-cell diff** of input vs output. If the two counts ever disagree, the tool exits nonzero instead of handing you a confident lie.

**`reconcile` — two CSVs and a key column; three lists out.**

- Rows **only in A**, rows **only in B**, and **same-key rows whose fields differ** — each differing field shown with the A value and the B value side by side, in `diff.md` and machine-readable `diff.json`.
- Duplicate keys, blank keys, and columns that exist in only one file are all surfaced and counted, never silently merged or dropped.
- Summary counts are computed *from the lists* and cross-checked against the input sizes. The headline cannot drift from the detail.

**Fully offline, zero dependencies.** One Node.js program (Node 22+, standard library only). Your CSVs never leave your machine. Demo mode runs on the bundled dirty sample and ledger pair — which contain planted duplicates, four date formats, three currencies, and exactly three known ledger differences — so you can verify the counting yourself before buying. A license key unlocks your own files.

**Honest limits:** cleaning is conservative by design (a column under 80% date-like or number-like is left untouched, and odd cells are counted, not guessed at); reconcile compares trimmed text exactly (`100` ≠ `100.00` — clean both files first); one key column, no fuzzy joins. It's a janitor and an auditor, not a database.

## Requires

- Node.js
- csv
- data-cleaning
- reconciliation
- data-quality
- etl
- dedupe
- diff
- audit
- offline

## Known limitations

Requires Node.js 22+. No fuzzy matching or multi-column keys. 80% threshold for type inference. Ambiguous dates (e.g. 05/06) default to DD/MM.

## 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 Clean & Reconcile Kit — The Janitor That Shows Its Work skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does CSV Clean & Reconcile Kit — The Janitor That Shows Its Work do?

Feed it the dirty export and get back a clean CSV plus a per-column receipt of every change it made — then point it at two files that should match and get the exact rows and fields where they don't, with counts that are reconciled against the detail before they're printed.

### Which AI agents support CSV Clean & Reconcile Kit — The Janitor That Shows Its Work?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use CSV Clean & Reconcile Kit — The Janitor That Shows Its Work?

Connect your AI agent to Agensi through MCP, then ask it to use CSV Clean & Reconcile Kit — The Janitor That Shows Its Work on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

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.
