Works with the AI Agents you already use

    Broken CSV Reader by Dio

    by dio

    1

    Reads broken CSV files without throwing — clean rows plus a structured error report for every problem, each with its line and row.

    $9.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Broken CSV Reader by Dio

    Broken CSV Reader by Dio

    Example session with this skill installed

    Read the sample broken CSV with the bundled script and report every problem in it.

    • Read your context and instructions
    • Compiled the broken csv reader
    • Generated the data export

    Broken CSV Reader — sample-broken.csv — header on
    Columns (4): id | name | city | note
    Rows: 6
    Errors: 5
    line 3 row 1: short_row fields=3
    line 4 row 2: long_row extra=["field"]
    line 5 row 3: stray_cr
    line 6 row 4: quote_junk
    line 7 row 5: unterminated_quote

    Rows JSON
    [["1","Alpha, A.","Jakarta","says "hi""],["2","Beta","Bandung",""],["3","Gamma","Surabaya","extra"],["4","DeltaX","Denpasar","ok"],["5","Epsilonjunk","Medan","ok"],["6",""Zeta","Semarang","unclosed"]]

    sample-broken.csv

    CSV · data export

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Real-world CSV files are broken: rows with missing or extra fields, quotes that never close, junk after a closing quote, stray carriage returns, mixed line endings. Most parsers either throw on the first problem or silently guess. This reader never throws and never guesses silently — it reads the whole file under one documented set of rules and returns three things: the columns, every row (padded or cut to the first record's width), and an error report listing every problem in the order it was met, each with its physical line and row.

    The five error kinds. short_row (missing fields, padded), long_row (extra fields, cut — the extras are kept in the report), stray_cr (a lone carriage return, dropped), quote_junk (characters after a closing quote, appended and flagged), unterminated_quote (a quote that never closes, re-read literally). Quoted fields, doubled quotes, embedded line breaks, CRLF/LF mixes and a leading BOM are all handled by the same rules, which are written down in full in the included spec.

    Fast. The reader is a single-pass scanner that cuts fields out of the text with slice() instead of building them character by character. It reads 200,000 rows / 9.5 MB in about 0.23 seconds, and in its original benchmark it matched a reference reader's answers exactly on 4,688 differential tests while running about 6.8× faster.

    What you get. One SKILL.md, a standalone Node script (standard library only, no network calls, no API keys) with a small CLI, a sample broken CSV that contains one of each error kind for an offline demo, and the complete reading spec.

    Honest limits. Comma delimiter only — no semicolon or tab mode, and the skill says so rather than returning one wide column as if it were a parse. The whole file is read into memory (fine to a few hundred MB; not a streaming reader). Every value stays a string — no type guessing. The dialect is deliberate repair, not strict RFC 4180 validation; the error report is the point.

    Comma delimiter only. Loads whole file into memory. UTF-8 encoding required. No automatic type inference for numbers or dates.

    How to use

    1. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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 11 days ago

    Software
    Node.js 18+ (for the bundled script)

    Tip: run the bundled script on the included sample-broken.csv first — it contains one of each error kind, so you can see the full report format before feeding it your own files.

    Permissions

    Terminal / Shell
    Read Files

    File Scopes

    *.csv

    Terminal is used only to run the bundled Node.js script, and file read access only to load the CSV file the user provides. The script makes no network calls and reads no environment variables.

    Listed11 days ago
    Updated9 days ago

    What's inside

    Frequently Asked Questions

    Standard parsers fail on unclosed quotes or uneven row lengths. This skill is designed to never crash, instead extracting all possible data while documenting every structural error with exact line and row numbers.

    This is a Node.js utility that can be integrated into any AI agent or workflow capable of executing shell commands or script files. It operates as a standalone CLI tool, making it compatible with local development environments and containerized agents.

    Yes, the skill automatically repairs "ragged" rows by padding short records with empty strings or truncating rows that exceed the initial column count, ensuring your data is perfectly rectangular for database insertion.

    The current version uses a high-speed, single-pass scanner that requires the CSV file to fit into memory. It is optimized for files up to a few hundred megabytes, which typically covers hundreds of thousands of rows.

    Your purchase includes the `csv-reader.mjs` script, documentation on error types, and example malformed files for testing. You receive full access to the deterministic engine for use in your own data pipelines.

    The skill currently supports comma-separated values only. It is specifically optimized for standard comma delimiters to maintain its high-speed, single-pass processing performance.

    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.