HTTP/1.1 402 PAYMENT REQUIRED agent402.base.eth · BASE · SOLANA · POLYGON · ARBITRUM · STELLAR · ROBINHOOD · USDC · USDG

Data format converter

CSV to JSON to YAML pipeline — convert tabular data through the common interchange formats in one chain.

When to use this pack

An agent has CSV data and needs it in both JSON and YAML for different consumers (an API expects JSON, a config file needs YAML). This chain parses the CSV into JSON, then converts that JSON to YAML — two hops, one payment.

Tools in this pack

Workflow

  1. Call csv-to-json to parse the CSV into a JSON array of objects (headers become keys).
  2. Call json-to-yaml on the resulting JSON to produce clean YAML output.

Run it in Claude

claude mcp add agent402 -s user -- npx -y agent402-mcp@latest

Then paste this prompt into Claude:

Convert this CSV through Agent402's data-convert pipeline: 'name,age\nAlice,30'. (1) Parse to JSON, (2) convert to YAML. Return both the JSON and YAML representations.

← All skill packs