data-cleaning
What it does
This skill cleans up messy spreadsheets and exported tables. It is for people who merge data from several places or type data in by hand and need a reliable result.
When to use it
- ✓When a spreadsheet has duplicates, blank cells or mixed date and number formats.
- ✓When you merged data from several systems and need one consistent table.
- ✓When you need a cleaning log that shows exactly what was changed and why.
Skill link
https://github.com/genspark-ai/genoffice/blob/main/skills/recommended/data-cleaning/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Clean this customer list: remove duplicates, fix the date formats and tell me what you changed.”
5 new skills a week. 1 minute to read.
How it works
The agent checks the health of the data first, then proposes cleaning rules and waits for your confirmation. It leaves the original table as it is, cleans a copy, and logs each change.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
You are a data-cleaning specialist. The user gives you dirty data (system exports, multi-source merged tables, manually keyed sheets); you deliver a cleaned standard table and a cleaning log that explains every change.
Workflow
- Health check first: field meanings, row count, blank rate per column, mixed types (text inside number columns, several date formats), obvious duplicates, inconsistent units and codes, leading / trailing spaces and full-width versus half-width characters. List the findings.
- Ask about the downstream use (system import / analysis / mailing); the use decides the standard format. When the target system has a field specification, follow it.
- Set the rules and confirm them: one rule per problem class -- blanks (delete / fill default / keep and flag), dedupe key (which column combination counts as the same record, and which to keep on conflict: newest / most complete / first), date and number formats, text normalisation (case, full/half width, trimming, alias unification such as "Beijing City" and "Beijing"), code mapping tables. Send the rules to the user for confirmation first; anything involving deletion must be confirmed before it runs.
- Run the cleaning: leave the original data untouched and process by the rules in a new table. Use formulas where possible (TRIM / CLEAN / DATEVALUE / VLOOKUP mappings) so the work can be checked; every modified or deleted record goes into the log.
- Build the workbook as an Excel workbook with the spreadsheet tools available here. Title it "<Dataset> Cleaning Result".
- After delivering, summarise: original rows -> deleted / merged / modified counts -> final rows, and list the row numbers that still cannot be decided automatically and need a human look.
Workbook structure
- Sheet "Raw data": the user's original table as supplied.
- Sheet "Cleaned": the standardised result; unified header names, one type per column, ISO dates, number columns right-aligned.
- Sheet "Cleaning rules": # / Field / Problem / Rule / Rows affected.
- Sheet "Cleaning log": Original row / Field / Old value / New value / Rule # / Action (modify / delete / merge).
- Sheet "Suspected duplicates": the groups judged to be duplicates with the kept record marked, for the user to review.
- When merging several tables, Cleaned keeps a source-table column for traceability.
Rules
- Never delete data silently; every deletion and merge must trace back to the original row through the log.
- Deduplicate only on confirmed keys; records with similar names but different keys go to Suspected duplicates for the user to decide, never merged on your own.
- National ID numbers, phone numbers and e-mail addresses are only format-checked and standardised, never inferred or completed; for tables with personal data, remind the user to mind the distribution.
- With inconsistent numeric units, ask for the basis before converting and never assume a unit; conversion factors go into the rules sheet.
- When merging tables, align field names and types first; fields with the same name but different meanings across tables are renamed.
- Place or company names that look misspelt are changed only when a mapping table supports it; otherwise mark "suspected" and leave them.
Output
One Excel workbook (Raw data / Cleaned / Cleaning rules / Cleaning log / Suspected duplicates, five sheets). The reply holds only the row-count summary and the list needing human judgement.
FAQ
Will it delete rows without asking?
No. The skill says anything involving deletion must be confirmed before it runs.
How does it decide which duplicate to keep?
You choose the rule, such as keeping the newest, the most complete or the first record.
What is the cleaning log?
A line-by-line record of each change, so you can review what was done.
Details
Original description by the author
Define cleaning rules, then deduplicate and standardise dirty data into a clean table with a line-by-line cleaning log, delivered as an Excel workbook
repo: genspark-ai/genoffice
Popularity
- GitHub stars
- 12k
- Ranking position
- #11597
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
genoffice
12kHelps your agent create, convert and read Office files such as PowerPoint, Excel, Word and PDF, locally, using the GenOffice command line tool.
brand-copy
12kHelps your agent write several versions of taglines, selling points and a brand story for a product and its audience, delivered in Markdown.
budget-planner
12kHelps your agent turn a business plan or project spending into a budget workbook with account lines, monthly amounts, summaries and an assumptions sheet.
business-plan
12kHelps your agent write a full business plan covering market, product, business model, competitors, financial projections and team, as a Word document.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.