Back to skills
expanso-json-to-csv
by aronchick
PDF & Documents—Not yet rated
Your rating
Brief
"Convert JSON array of objects to CSV format".
Description
What This Skill Does
Converts a JSON array of objects into CSV format. Runs as a standalone CLI pipeline via stdin/stdout or as an MCP server using the Expanso Edge runtime.
Handles the conversion inline in a pipeline without writing custom scripts, and can be exposed as an MCP server for agent-driven workflows.
When to Use It
- Exporting API response data to a spreadsheet
- Converting JSON log files for analysis in Excel
- Transforming database exports for reporting tools
- Preparing structured JSON data for CSV-based ETL pipelines
- Sharing JSON datasets with non-technical stakeholders
Example Workflow
INPUT
User asks: Convert this JSON array to CSV
AGENT
- 1
Receives JSON array via stdin
- 2
Parses each object and extracts field names as column headers
- 3
Maps object values to corresponding CSV columns
- 4
Outputs formatted CSV text to stdout
OUTPUT
CSV-formatted text with headers and data rows matching the input JSON structure
Requirements
- Expanso Edge binary installed in PATH (expanso-edge)
Installation
clawhub install aronchick/expanso-json-to-csvRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.