ChartGen AI for Openclaw

ChartGen is a powerful AI integration that automates data analysis, chart creation, and professional report generation directly within your agent workflow.

chartgen-ai
v1.0.0
Mar 24, 2026
0
853
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install chart-ai

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 chart-ai 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 ChartGen AI?

ChartGen is a comprehensive AI platform designed for advanced visualization, deep data analysis, and automated report generation. By leveraging this integration within Openclaw Skills, developers and users can transform raw data from spreadsheets or text descriptions into professional-grade ECharts, complex diagrams, and multi-chart dashboards. It serves as a bridge between complex datasets and actionable visual insights.

Beyond simple charting, the skill handles multi-file joins for Excel and CSV formats, identifies trends, and detects outliers. Whether you need a quick sales trend line or a full PowerPoint presentation with AI-generated slides, ChartGen provides a robust API-driven workflow to deliver high-fidelity outputs and interactive edit URLs for further customization.

ChartGen AI Use Cases

  • Creating dynamic ECharts visualizations such as Bar, Line, Pie, and Heatmaps from raw CSV or Excel data.
  • Generating technical diagrams including Flowcharts, Sequence diagrams, ER diagrams, and Gantt charts for project management.
  • Conducting deep data analysis to uncover YoY trends, statistical outliers, and cross-file insights.
  • Automating the creation of multi-page PowerPoint (PPT) presentations and comprehensive Markdown analysis reports.
  • Building real-time dashboards with multi-chart layouts for business intelligence monitoring.

How ChartGen AI Works

  1. Confirmation Phase: The skill first analyzes the user request or uploaded files and presents a numbered list of suggested actions, ensuring explicit user consent before processing.
  2. Submission: Upon confirmation, the agent sends a notification to the user and invokes the chartgen_api.js submit command with the query, channel, and file paths.
  3. Background Processing: The skill handles long-running tasks (up to 25 minutes for complex PPTs) using background execution or cron-based polling to monitor the task_id status.
  4. Status Retrieval: The agent periodically checks the API until the status returns as finished, error, or timeout, ensuring the user is kept informed throughout the lifecycle.
  5. Result Delivery: Once completed, the skill delivers a Markdown text report, saves artifact images (charts) or PPT files locally, and provides an edit URL for manual adjustments.

ChartGen AI Setup

To integrate this among your Openclaw Skills, ensure you have Node.js version 14 or higher installed. Follow these steps:

  1. Obtain an API key by visiting https://chartgen.ai/chat (Menu -> API).
  2. Configure your environment variable:
export CHARTGEN_API_KEY="your_api_key_here"
  1. Alternatively, save the key to the local configuration directory:
mkdir -p ~/.chartgen && echo "your_api_key_here" > ~/.chartgen/api_key
  1. Verify that the tools/chartgen_api.js script is accessible in your skill path.

ChartGen AI Data Schema & Taxonomy

The skill organizes its output into a structured JSON format to ensure consistency across different messaging channels:

Field Description
text_reply The primary analysis report formatted in Markdown.
artifacts[] List of generated assets containing artifact_id, image_path, and title.
edit_url A web link to modify the generated visualization on the ChartGen platform.
ppt_metadata Specific fields for PPT tasks including page_count and download_path.
html_content Optional pre-rendered HTML for high-fidelity web display.

ChartGen AI Advanced Features

  • Multi-file Analysis: Support for joining data across multiple .xlsx and .csv files for complex relational insights.
  • Non-blocking Workflows: Native support for background execution and asynchronous polling, preventing agent timeouts during heavy report generation.
  • Interactive Editing: Every generated visual includes a direct edit_url, allowing users to fine-tune ECharts configurations in the ChartGen web UI.
  • Multi-Channel Adaptation: Intelligent handling of artifact delivery based on the messaging channel (e.g., Signal, WhatsApp, or Web).

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0