- Home
- Skills
- Data & Databases
- CSV Import Failure Triage
Works with the AI tools you already use
CSV Import Failure Triage
Diagnose failed CSV imports from a redacted sample and get ranked causes, validation checks, and a safe retry plan.
$7
CSV Import Failure Triage
Example session with this skill installed
Our CRM rejected this CSV with: “Row 4 has 5 columns; expected 4.”
Expected columns
customer_id,email,signup_date,plan
Contract
- UTF-8, comma-delimited, header enabled
- signup_date must use YYYY-MM-DD
- customer_id must be unique
- email is required
- plan must be basic, pro, or enterprise
Please diagnose it without requesting the full customer dataset.
customer_id,email,signup_date,plan
00017,user1@example.invalid,2026-09-10,basic
00018,"user2@example.invalid,2026-09-11,pro
00018,user3@example.invalid,09/12/2026,enterprise,priority
00020,,2026-09-13,basic
- Read your context and instructions
- Compiled the csv import failure
Failure summary
The sample contains two structural blockers and three contract violations. The reported five-column error is directly explained by the extra priority value. An earlier unbalanced quote may also change how the importer counts logical rows, so both structural problems should be corrected before another upload.
Minimum evidence received
- Exact importer error
- Expected four-column schema
- Encoding, delimiter, header, date, uniqueness, required-field, and enumeration rules
- Four synthetic sample records
Ranked cause table
| Rank | Status | Cause | Supporting evidence | Discriminating check |
|---|---|---|---|---|
| 1 | VERIFIED | Extra fifth field | The enterprise,priority record contains five comma-separated values but the schema has four columns | Count parsed fields after resolving the quote error |
| 2 | VERIFIED | Unbalanced quote | The record beginning 00018,"user2... opens a quoted field without a closing quote | Run a quote-balance check and inspect the parser’s logical-record boundaries |
| 3 | VERIFIED | Invalid date format | 09/12/2026 does not match the required YYYY-MM-DD format | Confirm the intended calendar date before converting it |
| 4 | VERIFIED | Duplicate key | customer_id value 00018 appears twice although the field must be unique | Resolve the correct identifier against the source of truth |
| 5 | VERIFIED | Missing required email | The 00020 record has an empty email field | Obtain the correct value or follow the destination’s documented rejection policy |
Safe repair pattern
The unbalanced quote can be structurally corrected without changing the represented value:
00018,user2@example.invalid,2026-09-11,pro
Do not invent a replacement customer ID, email address, or date. Determine whether priority is an accidental extra value or belongs to a newer schema. Confirm whether 09/12/2026 means 2026-09-12 or 2026-12-09 before converting it.
Validation checklist
- Decode as UTF-8 and check for an unexpected BOM
- Confirm every logical record has exactly four fields
- Confirm all quoted fields are balanced
- Match headers exactly and preserve
customer_idas text - Validate dates against
YYYY-MM-DD - Check required fields and unique keys
- Restrict
planto the documented enumeration
Retry plan
- Save corrections under a new filename; do not overwrite the source.
- Resolve the three unknown business values using the authoritative source.
- Run the structural and contract checks above.
- Retry with a small representative subset if the CRM supports test imports.
- Confirm that parsing and validation complete without creating duplicate records before importing the full file.
Unknowns
The supplied evidence does not establish whether priority should be removed or mapped to a new field, which duplicate 00018 identifier is incorrect, what the missing email should be, or how the ambiguous date should be interpreted. These require source-of-truth confirmation, not guessing.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
Stop guessing why a CSV upload failed.
CSV Import Failure Triage turns a small, privacy-safe evidence set into a structured diagnosis. It checks common structural and contract failures including encoding and BOM issues, wrong delimiters, broken quoting, ragged rows, duplicate or missing headers, invalid dates and numbers, required-field failures, duplicate keys, and schema mismatch.
What you provide
- The exact import error
- The expected columns or target schema
- Relevant importer settings
- A header and 5–10 representative, redacted rows
What you receive
- A ranked cause table with VERIFIED, LIKELY, and UNKNOWN findings
- Evidence supporting every diagnosis
- A minimal synthetic correction pattern
- A pre-import validation checklist
- A reversible retry plan
- Clearly identified unknowns and the smallest additional evidence needed
Privacy comes first. The skill never asks for credentials, production access, cloud-drive access, database access, or a complete private customer dataset. It does not modify your source file or fabricate successful test results.
Designed for analysts, operations teams, developers, and SaaS users who need to understand why a CSV import failed before attempting another upload.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 19 days ago
- Passed all security checks, Safe to install