structured-data

Parse CSV inputs, convert JSON to CSV, and generate SVG charts.

3|3|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/XPRNetwork/xpr-agents --skill structured-data-xprnetwork
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: structured-data
Source: https://github.com/XPRNetwork/xpr-agents/tree/main/openclaw/starter/agent/skills/structured-data
Command: npx skills add https://github.com/XPRNetwork/xpr-agents --skill structured-data-xprnetwork

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill makes it easy to extract structured data from CSV inputs, convert JSON objects to CSV, and generate lightweight SVG charts for data visualization, enabling streamlined data workflows without heavy tooling.

Core Features & Use Cases

  • CSV handling: parse_csv to read CSV text into JSON with delimiter auto-detection, quoted-field handling, and metadata (data, columns, row_count, preview).
  • JSON to CSV: json_to_csv to convert JSON arrays to CSV with optional column selection and proper quoting.
  • Charts: generate_chart to create bar, line, or pie charts as SVG or data URIs for embedding in Markdown or reports.
  • Use Case: Build a small data pipeline that ingests a CSV export, transforms it into a uniform schema, and visualizes key metrics as SVG charts.

Quick Start

Parse a CSV string, convert a JSON array to CSV, and generate a bar chart SVG from the result.

Frequently Asked Questions about structured-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I parse a CSV string and convert it to JSON with automatic delimiter detection?

CSV parsing transforms raw CSV text into JSON objects using automatic delimiter detection and quoted-field handling. This process returns structured metadata including the extracted data, column names, and row count for immediate pipeline integration.

What is the best way to convert a JSON array to CSV format for ad-hoc analytics?

Converting JSON arrays to CSV format requires mapping JSON structures into delimited text with proper quoting and optional column selection. This generates clean CSV output suitable for downstream data pipelines and analytics workflows without heavy tooling.

Can I generate SVG charts directly from CSV data for dashboard visualization?

Yes, you can generate SVG charts directly from structured data by creating bar, line, or pie charts. This produces lightweight SVG graphics or data URIs ready for embedding in Markdown reports and data dashboards.

Does CSV parsing handle quoted fields and metadata extraction for data pipelines?

CSV parsing explicitly handles quoted fields and extracts metadata such as columns, row_count, and data previews. This deterministic parsing ensures reliable structured data transformation for robust data pipelines and ad-hoc analytics.

How do I embed generated SVG charts into Markdown reports?

Embedding SVG charts into Markdown reports uses data URIs generated from bar, line, or pie chart data. This rendering approach provides explicit input shapes and error handling, yielding portable visualizations for report integration.