Structured Data for Openclaw

A comprehensive toolkit for parsing CSV datasets, converting JSON to CSV, and generating professional SVG visualizations.

paulgnz
v1.0.0
Feb 14, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install xpr-structured-data

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install xpr-structured-data using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Structured Data?

The Structured Data skill is a specialized utility designed to bridge the gap between raw data formats and actionable insights within your AI-driven workflows. By providing high-level tools for CSV manipulation and SVG chart generation, it allows agents to handle complex data transformation tasks that are common in business intelligence and reporting. Whether you are dealing with messy CSV exports or need to present data visually, this addition to Openclaw Skills ensures your agent can process and present information with technical precision.

This skill is particularly valuable for developers who need to automate the pipeline from raw data ingestion to polished visual delivery. It handles the nuances of data parsing—such as auto-detecting delimiters and managing quoted fields—while offering the flexibility to create multi-series charts. By integrating these capabilities, Openclaw Skills provide a robust foundation for building data-heavy applications and automated reporting systems.

Structured Data Use Cases

  • Converting legacy CSV exports into JSON arrays for programmatic analysis and transformation.
  • Generating dynamic bar, line, and pie charts to visualize data trends within automated reports.
  • Preparing data for delivery by converting JSON results into standardized CSV files for spreadsheet compatibility.
  • Embedding visual charts directly into Markdown or PDF documents using generated Base64 data URIs.
  • Cleaning and reformatting structured datasets before passing them to other processing agents.

How Structured Data Works

  1. Provide raw CSV text to the parse_csv tool, which automatically identifies the delimiter and returns a structured JSON array.
  2. Utilize the JSON data for analysis, or pass it through custom logic to prepare it for visualization.
  3. Call the generate_chart tool with your data, specifying the chart type (bar, line, or pie) and series labels.
  4. Receive the output in both raw SVG format and a Base64 data URI for immediate embedding.
  5. Optionally use the json_to_csv tool to export the final processed data back into a CSV file with specific column ordering.

Structured Data Setup

To enable these capabilities within your Openclaw Skills environment, ensure the skill is correctly referenced in your agent configuration. No external heavy dependencies are required for basic parsing.

# Example of how an agent might invoke the tool logic
# The skill is typically available as part of the standard data utility suite

Structured Data Data Schema & Taxonomy

Tool Input Requirements Output Metadata
parse_csv Text string, optional limit data, columns, row_count, preview
json_to_csv Array of objects, optional column list Raw CSV string
generate_chart Labels and Values/Series svg (XML), data_uri (Base64)

Structured Data Advanced Features

  • Multi-series support for complex bar and line charts comparing different data categories.
  • Automatic delimiter detection supporting commas, tabs, semicolons, and pipes.
  • Intelligent handling of embedded newlines and quotes within CSV fields to prevent parsing errors.
  • Base64 encoding of SVG assets for seamless integration with PDF generation tools within Openclaw Skills.
  • Deep integration with code-sandbox skills for executing complex JavaScript transformations on parsed data.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*