csv-over-json-tables
Installation
SKILL.md
Tabular Serialization Protocol (CSV / TSV over JSON Arrays)
Overview
When an LLM extracts or analyzes tabular datasets (e.g., customer transaction lists, database query results, or server metric logs), defaulting to an array of JSON objects forces the model to repeat every column key on every single row ("first_name": "...", "transaction_amount": "...", "status": "...").
In a 100-row dataset, repeating JSON keys burns thousands of redundant tokens purely on structural quotation marks, colons, and braces.
The Tabular Serialization Protocol replaces JSON object arrays with Comma-Separated Values (CSV) or Tab-Separated Values (TSV) - defining the header keys once at row 1 and streaming raw comma-delimited data rows, cutting token usage by 65% to 75%.