- Home
- Skills
- Data & Databases
- CSV Import Failure Triage
Works with the AI Agents 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.
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.
Cannot validate an unnamed importer or inspect production systems. Accuracy depends on the supplied error text, target schema, importer settings, and a representative redacted sample. It does not modify source files or guarantee that an import will succeed.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 months ago
Permissions
No special permissions declared or detected
What's inside
Frequently Asked Questions
New in Data & Databases
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.