- Home
- Skills
- Agents & Orchestration
- CSV Import Contract Repair
More screenshots
Works with the AI tools you already use
CSV Import Contract Repair
Repair CSV and spreadsheet import drift across encoding, headers, mappings, types, row identity, validation, retries, partial success, and cleanup.
$6.99
CSV Import Contract Repair
Example session with this skill installed
Repair our CSV import flow. Preview uses header names but the worker uses indices, leading to column shifts. Add idempotency to the worker and ensure the preview token binds the file hash.
- Read your context and instructions
- Compiled the csv import contract
Analyzed import services and BullMQ workers. Found drift in column mapping logic. Planned safe patch: unified parser profile, added file digest to confirmation token, and implemented row-level idempotency via a results ledger. Added deterministic tests for shifted headers.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
The problem
CSV and spreadsheet imports often suffer from contract drift where preview logic, execution workers, and retry handlers interpret files differently. This leads to silent data corruption, duplicate records, and tenant-scope leaks when encoding, locales, or mapping rules vary across the stack.
What it does
- Identifies drift between preview parsers and background execution workers.
- Detects encoding, delimiter, and byte-order mark (BOM) inconsistencies.
- Adds version-binding to ensure execution matches the exact file digest and mapping confirmed by the user.
- Implements idempotent row application to prevent duplicate writes during job retries.
- Neutralizes dangerous formulas and external links in generated error export files.
Frameworks & tools
Works with repository-based import logic including pandas, openpyxl, Prisma, SQLAlchemy, BullMQ, Celery, and standard CSV parsers.
Why this beats prompting it yourself
Generic prompts often miss the subtle lifecycle gaps between a web-based preview and a background worker. This skill enforces a strict provenance chain from raw bytes to persisted row outcomes, ensuring local verification remains deterministic without needing production data access.
Use cases
- Fixing column-shift risks where headers are mapped differently in preview versus execution.
- Standardizing locale-sensitive date and decimal parsing across heterogeneous environments.
- Securing multi-tenant imports where referenced IDs must be resolved within strict ownership boundaries.
- Hardening batch rollback logic to target only mutations owned by a specific import.
Known limitations
Does not access production databases, execute live migrations, or certify the accuracy of historical data already imported into the system.
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 1 month ago
- Passed all security checks, Safe to install