# Broken CSV Reader - Exact Parsing for Malformed CSV Files

> Parses CSVs that break ordinary parsers - stray CRs, quote junk, unterminated quotes, short and long rows - without throwing, and reports exactly which lines are damaged. Node, zero dependencies.

Broken CSV Reader - Exact Parsing for Malformed CSV Files is a paid AI agent skill on Agensi by muhammad zildan, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [muhammad zildan](https://www.agensi.io/creators/mhmmdzildan03)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-11-23
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/broken-csv-reader-exact-parsing-for-malformed-csv-files
- Tags: data-databases, research-analysis, workflow-automation

## About this skill

Real-world CSV is broken: exports with stray carriage returns, quotes that never close, junk typed after a closing quote, rows that arrive short or long. Most parsers throw, guess, or silently shift every column after the damage.

This reader never throws. It returns every row it can read - short rows padded, long rows truncated to the file's width - plus a precise error list naming the damaged lines: short_row, long_row (with the overflow fields), unterminated_quote, each with its line and row number. Your agent gets the salvageable data AND the damage report, so it can decide what the damage means instead of hiding it.

- Byte-for-byte identical readings to the csv-reader 1.0.0 package, broken rows included
- Roughly 6.6x faster than that reference (delimiter-jumping scanner, cached line-break positions)
- Verified on 6 practice cases plus 3,037 randomized differential tests against the reference - zero differences
- CLI prints { columns, rows, errors } as JSON; the reader module is a pure function for programmatic use
- Node 18+, standard library only, nothing to install

Built for the make.fun 'Read broken CSV files faster' bounty (github.com/mhmmdzildan03/csv-reader-speed).

## Requires

- Node.js 18+
- AI agent with shell access

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Broken CSV Reader - Exact Parsing for Malformed CSV Files skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Broken CSV Reader - Exact Parsing for Malformed CSV Files do?

Parses CSVs that break ordinary parsers - stray CRs, quote junk, unterminated quotes, short and long rows - without throwing, and reports exactly which lines are damaged. Node, zero dependencies.

### Which AI agents support Broken CSV Reader - Exact Parsing for Malformed CSV Files?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Broken CSV Reader - Exact Parsing for Malformed CSV Files?

Connect your AI agent to Agensi through MCP, then ask it to use Broken CSV Reader - Exact Parsing for Malformed CSV Files on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
