A specialized AI coding skill for generating spec-compliant AntV G2 v5 data visualizations.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install antv-g2-chart
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install antv-g2-chart using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The AntV G2 v5 Chart Generator is a technical skill designed for AI coding agents to produce high-quality charting code. Built on the grammar of graphics, this tool ensures that developers can generate bar charts, scatter plots, area charts, and complex multi-layer views using the modern Spec Mode API. By integrating with Openclaw Skills, developers avoid legacy V4 syntax errors and gain access to a streamlined workflow for professional data presentation.
This skill prioritizes the core constraints of G2 v5, such as mandatory container definitions and the singular use of chart.options to prevent configuration overwrites. It provides a robust framework for mapping data fields to visual channels like color, size, and position, making it an essential part of any developer's toolkit when working with Openclaw Skills.
To integrate this functionality into your project, ensure you have the G2 library installed:
npm install @antv/g2
Once installed, you can leverage the skill through your AI agent's Openclaw Skills interface by providing data and chart descriptions.
The skill organizes chart configurations into a structured metadata taxonomy:
| Key | Description | Requirement |
|---|---|---|
| container | The ID of the DOM element to render into | Required |
| type | The mark type (e.g., 'interval', 'line', 'area') | Required |
| data | The source data array or transform object | Required |
| encode | Mapping data fields to x, y, color, or size | Required |
| transform | Array of mark-level transforms like 'stackY' | Optional |
| labels | Array of label configurations (plural form only) | Optional |
Loading
A high-performance utility for computing 128-bit MD5 cryptographic hash values to ensure data integrity and file validation.

A comprehensive interface for AI agents to interact with Hugging Face models, datasets, and spaces directly from the CLI.

A comprehensive intelligence and knowledge skill providing deep insights into Amazon's e-commerce operations, AWS cloud infrastructure, and global logistics.

A high-performance directory creation utility designed to automate filesystem organization and project structure setup.

An expert intelligence module for analyzing Progressive Insurance's pricing models, branding history, and market-leading Snapshot telemetry data.

A comprehensive AI writing assistant for the full lifecycle of Chinese academic research, specifically optimized for humanities disciplines.








































