You ask in plain words
With whatever notes or documents you already have.
Can you tidy this messy export without losing any of the data?
Clean the purchases. Date order is unknown. Empty prices mean missing. Pounds use a decimal point.
Your notes
customer,date,price 00123,03/04/2026, 00123,2026-04-05,0
Your agent answers with a checked method
It runs 5 checks before it replies.
Your agentUsing this skill
Keep both purchases under the text ID 00123. Leave the first date as 03/04/2026 for the owner to resolve and its price as missing. The second row is dated 2026-04-05 and has a genuine price of zero.
- A repeated person can make several purchases. Removing a row requires a record-level identity rule.
- A syntactically valid date in both day-first and month-first formats offers no evidence about which was intended.
- Default import settings turn NA, N/A and blank into missing in every column, so a real code such as the area NA disappears.
- Numeric import turns 009 and 9 into the same number, merging two different identifiers.
- Turning a blank amount into zero changes totals and averages.
Why that’s right. The customer occurs twice. Neither the ambiguous date nor the missing price can be inferred from the second purchase.
Is it the right skill?
What it’s for, and when another skill or a person is the better choice.
Use it when
- Someone wants a messy export tidied before analysis, import or sharing.
- The data has IDs with leading zeros, mixed date formats or placeholders such as NA, N/A or blanks.
- Someone wants duplicates removed and it is not clear whether the repeated rows are real records.
Not the right skill when
- Rebuilding a file whose rows, quotes or columns broke during import. Use the CSV import rescue skill first.
- Filling in missing values or correcting suspected errors. The skill marks them for the data owner; imputation is an analysis decision.
The method it follows
6 steps, in order, every time.
- Work on a copy that keeps the original row order and row count. Write down each transformation before applying it.
- Import every column as text first, with automatic type detection and default missing-value markers switched off, then convert column by column. Excel strips leading zeros, Power Query guesses types from the first 200 rows, and pandas reads NA and N/A as missing in every column unless told otherwise.
- Use the declared date convention. With an unknown convention, convert only dates whose reading is certain, such as ISO dates or a day above 12. Keep an ambiguous value as supplied and record its location.
- Convert amounts using the stated locale and distinguish numeric zero from an empty amount. Apply missing markers only to the columns they are declared for. Never reconstruct leading zeros already lost in a numeric export.
- Remove a row only under a declared identity rule for the unit of observation. Keep repeated customer IDs when the rows are transactions.
- Compare row counts and the count of non-missing values in each converted column before and after. Return the coordinates of every unresolved cell for the data owner.
What to have ready
If something’s missing, your agent asks before it starts.
- Raw table and the column contract for identifiers, dates, amounts and missing values.
- The intended unit of observation and any authorised duplicate-removal rule.

What does each row represent, such as one customer, one order or one transaction? That decides whether repeated rows are duplicates.

Which columns are identifiers, dates and amounts, and what date order and decimal style does the source use?

Which values mean missing, and in which columns, such as blank, NA or N/A?
Try it on your own AI
A new question with a known answer, so you can check your AI gets it right.
-
Copy the questionUse DD/MM/YYYY. NA is missing for price. Customer IDs are literal text. Return only JSON following the skill’s test format. customer,date,price 0A1,04/05/2026,NA 000,05/05/2026,2.50
-
Ask your AI in a new chat
Give it this skill first, then paste the question. It replies with a short block of data in the format the skill asks for.
-
Show the answer and why
The agreed convention resolves the ambiguous-looking dates while the identifier 000 survives.
{
"rows": [
{
"customer": "0A1",
"date": "2026-05-04",
"price": null
},
{
"customer": "000",
"date": "2026-05-05",
"price": 2.5
}
],
"review": []
}
The check runs in your browser. Nothing you paste is sent anywhere.
-
Copy the questionClean this stock list. Treat both id and area as text. In area only, blank and N/A mean missing. Keep the bin column unchanged. Return only JSON following the skill’s test format. id,area,bin 009,NA,B7 9,N/A,B4 8,,B2
-
Ask your AI in a new chat
Give it this skill first, then paste the question. It replies with a short block of data in the format the skill asks for.
-
Show the answer and why
NA is a real area. Its spelling differs from the declared marker, and the two similar-looking IDs remain separate.
{
"rows": [
{
"id": "009",
"area": "NA",
"bin": "B7"
},
{
"id": "9",
"area": null,
"bin": "B4"
},
{
"id": "8",
"area": null,
"bin": "B2"
}
],
"review": []
}
The check runs in your browser. Nothing you paste is sent anywhere.
Where the method comes from
Free to use and adapt with credit (CC BY 4.0).
Use this skill in Raq.com
Add it to your Skill Library and your agent applies it whenever a request matches. Edit it for your own business and keep every version.