AI Blocks › Make documents, sheets and slides
Data file cleanup agent
Give it a messy data file. It fixes and re-checks until the file passes, and saves your rules for the next one.
Data file cleanup agent is a free AI agent for the job "Make documents, sheets and slides". Give the instructions to an AI assistant that supports the required files and tools, then review its output.
Free · No account · Made by AI Blocks · Level: beginner · Thinking: low
What it does
A messy file gets cleaned once by hand, then the next export arrives with the same problems. Fixes are forgotten, rows vanish without a trace, and nobody can say whether the file is clean now or only looks it. This agent cleans in rounds, and judges each round by a count. It writes down what a passing file looks like, audits, fixes only what the audit found, and audits again. It never fills a blank with a guess. Every removed row is saved with its reason. After three rounds it stops and lists what a person must decide. It keeps the rules it used, so the next export is cleaned the same way.
You give it
- The data file, as a spreadsheet or CSV
- What each column means, and which ones must never be blank (optional but best)
- What the file is for, such as a report or an import into another system (optional)
- Your rules file from last time, after the first run
- A buyer brief (optional)
You get
- A cleaned file, with your original left alone
- Counts of blanks, duplicates and odd values before and after each round
- Every removed row, saved with its reason
- A list of what only a person can decide
- A rules file for the next export
Use it when
- A report or import keeps failing because of blanks, duplicates or text where numbers should be.
- You get the same kind of messy export every week or month.
- You want a clean file and a record of what was changed.
How to use it
- Start a chat with the agent. In Claude Code, add it as a skill or save it in .claude/agents.
- Attach the file, or put it in a folder the agent can open.
- Say what each column means, or let it propose rules and say yes to them.
- Read the hand-back. Fix the cells it left for you, or tell it the rule to use.
- Next time, give it the new export. It reads your rules file and cleans the same way.