Back to skills
expanso-csv-to-json
by aronchick
PDF & Documents—Not yet rated
Your rating
Brief
"Convert CSV data to JSON array of objects".
Description
What This Skill Does
Converts CSV data into a JSON array of objects. Runs as a standalone CLI pipeline via stdin or as an MCP server. Can also be deployed to Expanso Cloud.
Runs as either a CLI pipeline or MCP server without writing custom parsing code, making it reusable across different integration patterns.
When to Use It
- Converting exported spreadsheet data for use in a REST API
- Transforming database CSV exports for JavaScript applications
- Migrating CSV config files to JSON format
- Processing CSV reports for ingestion into a web dashboard
- Feeding tabular data into JSON-based automation workflows
Example Workflow
INPUT
User asks: Convert this sales_data.csv to JSON
AGENT
- 1
Receives CSV content via stdin
- 2
Runs expanso-edge with pipeline-cli.yaml
- 3
Parses CSV rows into key-value objects using column headers as keys
- 4
Outputs a JSON array
OUTPUT
A JSON array where each element is an object with keys matching the CSV column headers
Requirements
- Expanso Edge binary installed via: clawhub install expanso-edge
Installation
clawhub install aronchick/expanso-csv-to-jsonRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.