Agent skill

Antv G2 Chart

by antvis in antvis/chart-visualization-skills

A skill your agent uses whenever the user wants to create, customize, or troubleshoot G2 v5 chart visualizations.

MITAuto-check passedDevelopment

Install Antv G2 Chart

skills CLI
$ npx skills add antvis/chart-visualization-skills --skill antv-g2-chart -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install antvis/chart-visualization-skills antv-g2-chart --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/antvis/chart-visualization-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/antv-g2-chart .claude/skills/antv-g2-chart && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
antv-g2-chart
GitHub stars
506
Token cost
~2.5k tokens
SKILL.md length
558 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses whenever the user wants to create, customize, or troubleshoot G2 v5 chart visualizations.

  • Works in 6 steps: 通用:container、完整初始 chart.options()… → 颜色表达语义:仅当颜色表示独立的系列、状态或分组时使用 encode.color… → Mark 基线(约定值,覆写引擎默认):interval 用 radius:… → …
  • The user wants to create
  • SKILL.md covers Overview, Content Retrieval Service, Critical Rules and Default Aesthetics / 默认视觉基线, plus 2 more sections
  • Calls curl; reaches sive.antv.antgroup.com and unpkg.com

What it does

Antv G2 Chart is an agent skill from antvis/chart-visualization-skills. Use this skill whenever the user wants to create, customize, or troubleshoot G2 v5 chart visualizations. Triggers include: any mention of 'G2', 'antv g2', '@antv/g2', 'G2 chart', 'G2 可视化', or requests to produce charts like bar charts (柱状图), line charts (折线图), pie charts (饼图), scatter plots (散点图), area charts (面积图), heatmap (热力图), radar charts (雷达图), treemap (矩形树图), funnel charts (漏斗图), sankey diagrams (桑基图), gauge (仪表盘), wordcloud (词云), boxplot (箱线图), as well as G2-specific topics like encode channels, scale…

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Data visualization, Diagrams and Excel spreadsheets. The repository describes itself as: ⛏️ Turning data into a visual language for better thinking with Skills. The licence is MIT.

When your agent uses it

  • The user wants to create
  • Troubleshoot G2 v5 chart visualizations
  • Include: any mention of G2
  • Requests to produce charts like bar charts (柱状图)

Example prompts

  • “antv g2”
  • “@antv/g2”
  • “G2 chart”
  • “/antv-g2-chart”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 通用:container、完整初始 chart.options() spec、chart.render() 是必须项;普通嵌入式图优先 autoFit: true、theme: 'classic' 与 padding: 'auto'。classic…
  2. 颜色表达语义:仅当颜色表示独立的系列、状态或分组时使用 encode.color 和图例。单指标分类比较使用稳定单色(如 style.fill: '#5B8FF9',作为样式值是合法的)并关闭颜色图例,避免彩虹柱和冗余图例。禁止的是把 hex 字符串存进数据后作为…
  3. Mark 基线(约定值,覆写引擎默认):interval 用 radius: 4(引擎默认无圆角);line 用 lineWidth: 2(引擎默认 1);area 用 fillOpacity: 0.5~0.6(引擎默认 0.85,偏实,降下来更透气)。这些值都需显式写在…
  4. 文本只用已知语义:字段/单位/来源明确时,添加语义化轴标题、tooltip 名称和 formatter;报告语境或用户提供标题时添加顶层 title。信息未知时省略,不编造单位、来源或副标题。
  5. 标签按密度选择:少量且需精确读取的数据可加标签;密集散点、多系列折线、类别很多时默认依赖 tooltip。inside 标签用 contrastReverse,发生碰撞时使用 overlapHide / overlapDodgeY / overflowHide;dx / dy…
  6. 特殊图:饼/环图的少量类别优先外置标签,类别较多时改用 legend;不要默认同时重复两者。气泡图保持 G2 默认 sqrt size 映射,按数据范围设置 size.range,仅在 size legend 无助理解时隐藏它。

What it can do on your machine

Read from SKILL.md and the folder at commit a105fa1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • sive.antv.antgroup.com
    • unpkg.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Antv G2 Chart loads about 2.5k tokens when it runs. Until then it costs about 199 tokens; SKILL.md has 558 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~199
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from antvis/chart-visualization-skills at commit a105fa1, republished under its MIT licence (© antvis). 558 words, ~2,533 tokens.

Download SKILL.mdSave it as .claude/skills/antv-g2-chart/SKILL.md (or your agent's skills folder).
name
antv-g2-chart
description
Use this skill whenever the user wants to create, customize, or troubleshoot G2 v5 chart visualizations. Triggers include: any mention of 'G2', 'antv g2', '@antv/g2', 'G2 chart', 'G2 可视化', or requests to produce charts like bar charts (柱状图), line charts (折线图), pie charts (饼图), scatter plots (散点图), area charts (面积图), heatmap (热力图), radar charts (雷达图), treemap (矩形树图), funnel charts (漏斗图), sankey diagrams (桑基图), gauge (仪表盘), wordcloud (词云), boxplot (箱线图), as well as G2-specific topics like encode channels, scale config, coordinate systems, transforms, interactions, themes, labels, and animations. Also use when debugging G2 rendering errors, V4→V5 migration issues, or chart type selection. Do NOT use for G6 graph/network visualization, X6 editor diagrams, or S2 pivot tables.
tools
curl

G2 v5 Chart Visualization

Overview

G2 v5 is AntV's grammar-of-graphics charting library. It uses Spec Mode — a declarative, JSON-like configuration style. Generated examples should start from a complete spec; runtime code may later merge a local update through chart.options().

javascript
import { Chart } from '@antv/g2';

const chart = new Chart({ container: 'container', autoFit: true });
chart.options({
  type: 'interval',
  data: [{ genre: 'Sports', sold: 275 }],
  encode: { x: 'genre', y: 'sold' },
});
chart.render();
CDN Usage
html
<script src="https://unpkg.com/@antv/g2@5/dist/g2.min.js"></script>
<script>
  const chart = new G2.Chart({ container: 'container', autoFit: true });
  chart.options({
    type: 'interval',
    data: [{ genre: 'Sports', sold: 275 }],
    encode: { x: 'genre', y: 'sold' },
  });
  chart.render();
</script>

Content Retrieval Service

When using AntV G2 for data visualization, if you need to understand the concepts, usage, API, examples, and other aspects of G2 v5, you can use the provided context retrieval service. When using the skill, content is retrieved via an antv HTTP API server using GET requests.

  • Host: https://sive.antv.antgroup.com
  • Endpoint: /api/v1/context/retrieve
  • Method: GET
  • Parameters: query, library, topK, content, maxTokens

Retrieve reference documents by query (hybrid search = FTS + vector + RRF fusion).

ParameterTypeRequiredDescription
querystring✅Search keywords, e.g. bar chart interval
librarystring✅Library name: g2, g6, x6
topKnumberNumber of results to return (default: 5)
contentbooleanReturn full reference doc markdown (default: true)
maxTokensnumberMax tokens per result (default: unlimited)
bash
curl "https://sive.antv.antgroup.com/api/v1/context/retrieve?query=bar+chart+stacked&library=g2"

Critical Rules

MUST: Use V5 Spec Mode ONLY
javascript
// ❌ WRONG — V4 chain API (deprecated, will not render)
chart.interval()
  .data([...])
  .encode('x', 'genre')
  .encode('y', 'sold')
  .style({ radius: 4 });

// ✅ CORRECT — V5 Spec Mode
chart.options({
  type: 'interval',
  data: [...],
  encode: { x: 'genre', y: 'sold' },
  style: { radius: 4 },
});
Multi-mark overlays use view + children

chart.options() supports incremental deep-merge updates, which is useful for runtime interaction. For generated one-shot code, provide a complete initial spec. To create independent overlay marks, use one type: 'view' with children; sequentially changing the root type does not create an overlay.

javascript
// ❌ WRONG — this changes one root mark from line to point; it does not overlay them
chart.options({ type: 'line', data, encode: { x: 'date', y: 'value' } });
chart.options({ type: 'point', data, encode: { x: 'date', y: 'value' } });

// ✅ CORRECT — children array for multi-mark
chart.options({
  type: 'view',
  data,
  children: [
    { type: 'line',  encode: { x: 'date', y: 'value' } },
    { type: 'point', encode: { x: 'date', y: 'value' } },
  ],
});
MUST: container is mandatory, chart.render() at the end
javascript
// ❌ WRONG — no container, no render
const chart = new Chart();
chart.options({ type: 'interval', data });

// ✅ CORRECT
const chart = new Chart({ container: 'container', autoFit: true });
chart.options({ type: 'interval', data, encode: { x: 'genre', y: 'sold' } });
chart.render();
MUST: Correct mark types only
❌ Hallucinated (from ECharts/Vega)✅ G2 correct replacement
type: 'ruleX'type: 'lineX'
type: 'ruleY'type: 'lineY'
type: 'regionX'type: 'rangeX'
type: 'regionY'type: 'rangeY'
type: 'venn'type: 'path' + transform

Legal G2 marks: interval, line, area, point, rect, cell, text, image, path, polygon, shape, link, connector, vector, lineX, lineY, rangeX, rangeY, range, box, boxplot, density, heatmap, beeswarm, treemap, pack, partition, tree, sankey, chord, wordCloud, gauge, liquid. sunburst requires @antv/g2-extension-plot.

MUST: encode is an object, transform is an array
javascript
// ❌ WRONG
.encode('x', 'genre')
.transform: { type: 'stackY' }

// ✅ CORRECT
encode: { x: 'genre', y: 'sold' }
transform: [{ type: 'stackY' }]
MUST: labels is plural; range encodings use mark-appropriate channels
javascript
// ❌ WRONG
label: { text: 'sold' }

// ✅ CORRECT
labels: [{ text: 'sold' }]
// Interval / link ranges may use either a two-field array or y + y1.
encode: { y: ['start', 'end'] }
// RangeY explicitly uses y + y1.
encode: { y: 'start', y1: 'end' }
MUST: No d3 in user code
javascript
// ❌ WRONG — d3 is not exposed in user scope
const total = d3.sum(data, d => d.value);

// ✅ CORRECT — use native JS or G2 built-in transforms
const total = data.reduce((sum, d) => sum + d.value, 0);
MUST: No white/near-white fill, no padding as array
javascript
// ❌ WRONG
style: { fill: '#fff' }       // invisible on white background
padding: [40, 30, 40, 50]     // invalid in G2 v5

// ✅ CORRECT
encode: { color: 'group' }    // let G2 assign colors
padding: 40                   // single number or 'auto'
MUST: Transpose is a transform, not a coordinate type
javascript
// ❌ WRONG
coordinate: { type: 'transpose' }

// ✅ CORRECT
coordinate: { transform: [{ type: 'transpose' }] }
Show full SKILL.md (225 more words)Show less

Default Aesthetics / 默认视觉基线

目标是默认清晰、克制、可读,而不是给每张图添加相同装饰。先遵守以下决策,再按需检索 default+aesthetics+design 获取完整示例。

注意区分两种“默认”。G2 引擎默认(theme/create.ts)是 line.lineWidth: 1、area.fillOpacity: 0.85、矩形 radius 无圆角;本节 Mark 基线里的 radius: 4 / lineWidth: 2 / fillOpacity: 0.5~0.6 是本 skill 的约定值,用来覆写引擎默认让生成示例更好看,必须显式写在 style 里,不是省略即生效。

  1. 通用:container、完整初始 chart.options() spec、chart.render() 是必须项;普通嵌入式图优先 autoFit: true、theme: 'classic' 与 padding: 'auto'。classic 是为稳定视觉显式选择的浅色预设,不是引擎默认主题(引擎默认推断为 light);深色容器使用 classicDark。两者共用同一套 category10 色板(首选 #5B8FF9),因此稳定主色在浅/深主题下都可用。
  2. 颜色表达语义:仅当颜色表示独立的系列、状态或分组时使用 encode.color 和图例。单指标分类比较使用稳定单色(如 style.fill: '#5B8FF9',作为样式值是合法的)并关闭颜色图例,避免彩虹柱和冗余图例。禁止的是把 hex 字符串存进数据后作为 encode.color 的类别字段编码。
  3. Mark 基线(约定值,覆写引擎默认):interval 用 radius: 4(引擎默认无圆角);line 用 lineWidth: 2(引擎默认 1);area 用 fillOpacity: 0.5~0.6(引擎默认 0.85,偏实,降下来更透气)。这些值都需显式写在 style 里,不是省略即生效;不需要渐变、阴影或自定义动画。
  4. 文本只用已知语义:字段/单位/来源明确时,添加语义化轴标题、tooltip 名称和 formatter;报告语境或用户提供标题时添加顶层 title。信息未知时省略,不编造单位、来源或副标题。
  5. 标签按密度选择:少量且需精确读取的数据可加标签;密集散点、多系列折线、类别很多时默认依赖 tooltip。inside 标签用 contrastReverse,发生碰撞时使用 overlapHide / overlapDodgeY / overflowHide;dx / dy 只用于避让后的细微调整。
  6. 特殊图:饼/环图的少量类别优先外置标签,类别较多时改用 legend;不要默认同时重复两者。气泡图保持 G2 默认 sqrt size 映射,按数据范围设置 size.range,仅在 size legend 无助理解时隐藏它。

渐变、阴影、滑块、滚动条、自定义动画和 3D 气泡都属于用户明确要求“报告级 / 精致”时的增强项;添加前必须确认不会掩盖数据或降低标签对比度。

Quick Reference

User IntentRetrieve Query
Chart initialization, container, autoFitGET /api/v1/context/retrieve?query=chart+init&library=g2
Bar / column chartGET /api/v1/context/retrieve?query=bar+chart+interval&library=g2
Line / area chartGET /api/v1/context/retrieve?query=line+area+chart&library=g2
Pie / donut / rose chartGET /api/v1/context/retrieve?query=pie+chart+theta&library=g2
Scatter / bubbleGET /api/v1/context/retrieve?query=scatter+point+bubble&library=g2
Treemap / sunburst / packGET /api/v1/context/retrieve?query=treemap+sunburst+pack&library=g2
Heatmap / density / boxplotGET /api/v1/context/retrieve?query=heatmap+density+boxplot&library=g2
Funnel / gauge / wordcloudGET /api/v1/context/retrieve?query=funnel+gauge+wordcloud&library=g2
Encode channels (x, y, color, size)GET /api/v1/context/retrieve?query=encode+channel&library=g2
Scale / palette / color rangeGET /api/v1/context/retrieve?query=scale+palette+color&library=g2
Coordinate (polar, theta, transpose)GET /api/v1/context/retrieve?query=coordinate+polar+theta+transpose&library=g2
Transform (stack, normalize, sort)GET /api/v1/context/retrieve?query=transform+stack+normalize&library=g2
Axis / legend / tooltip / labelsGET /api/v1/context/retrieve?query=axis+legend+tooltip+label&library=g2
Interaction (brush, highlight, drilldown)GET /api/v1/context/retrieve?query=interaction+brush+highlight&library=g2
Theme / dark modeGET /api/v1/context/retrieve?query=theme+dark+classicDark&library=g2
Default aesthetics / 视觉基线GET /api/v1/context/retrieve?query=default+aesthetics+design&library=g2
AnimationGET /api/v1/context/retrieve?query=animation+animate&library=g2
Data fetch / filter / sortGET /api/v1/context/retrieve?query=data+fetch+filter+sort&library=g2
Facet / view compositionGET /api/v1/context/retrieve?query=facet+view+composition&library=g2
Chart type selection guideGET /api/v1/context/retrieve?query=chart+type+selection&library=g2
Rendering troubleshootGET /api/v1/context/retrieve?query=rendering+troubleshoot+debug&library=g2

Dependencies

  • @antv/g2 — G2 v5 charting engine

© antvis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/antv-g2-chart of antvis/chart-visualization-skills.

Open the folder on GitHubat commit a105fa1

Compare with similar skills

Antv G2 Chart next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Antv G2 Chart compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Antv G2 Chart this skillantvis/chart-visualization-skills506—~2.5kAutomated safety check: PassMIT
Markdown Mermaid WritingK-Dense-AI/scientific-agent-skills48k1 repos~4.2kAutomated safety check: NotesApache-2.0
Diagram Designcathrynlavery/diagram-design47k1 repos~7.5kAutomated safety check: PassMIT
Scientific Schematicsspacering-net/codeg3.9k11 repos~5.9kAutomated safety check: NotesMIT
Scientific SchematicsK-Dense-AI/scientific-agent-skills48k1 repos~5.1kAutomated safety check: NotesMIT
Research Schematic Designhashgraph-online/awesome-codex-plugins1.3k—~912Automated safety check: PassApache-2.0

Similar skills

  • Markdown Mermaid Writing

    K-Dense-AI/scientific-agent-skills

    Writes scientific Markdown documentation and Mermaid diagrams for workflows, relationships, timelines, and schemas.

    48k GitHub starsUsed in 1 repo~4.2k tokens
    DevelopmentAuto-check: notes
  • Diagram Design

    cathrynlavery/diagram-design

    Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.

    47k GitHub starsUsed in 1 repo~7.5k tokens
    DevelopmentAuto-check passed
  • Scientific Schematics

    spacering-net/codeg

    Create publication-quality scientific diagrams using Nano Banana 2 AI with smart iterative refinement.

    3.9k GitHub starsUsed in 11 repos~5.9k tokens
    DevelopmentAuto-check: notes
  • Scientific Schematics

    K-Dense-AI/scientific-agent-skills

    Generates scientific diagram drafts using Nano Banana 2 AI with smart iterative refinement.

    48k GitHub starsUsed in 1 repo~5.1k tokens
    DevelopmentAuto-check: notes
  • Research Schematic Design

    hashgraph-online/awesome-codex-plugins

    Create publication-quality, editable scientific and engineering schematics with explicit physical meaning, exact labels, visual hierarchy, and provenance.

    1.3k GitHub stars~912 tokensUpdated today
    DevelopmentAuto-check passed
  • Openchart

    tryopendata/skills

    Generates OpenChart (https://github.com/tryopendata/openchart) chart, table, graph, sankey, tilemap, and geo map specs from data, and guides editorial design decisions.

    142 GitHub stars~11k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed

More from antvis/chart-visualization-skills

All 9 skills in this repo
  • Antv G6 Graph

    antvis/chart-visualization-skills

    A skill your agent uses whenever the user wants to create, customize, or troubleshoot G6 v5 graph/network visualizations.

    506 GitHub stars~1.8k tokensUpdated 18 days ago
    Auto-check passed
  • Antv Infographic

    antvis/chart-visualization-skills

    Create beautiful infographics based on given text content. An agent skill from antvis/chart-visualization-skills.

    506 GitHub stars~3k tokensUpdated 18 days ago
    Auto-check passed
  • Antv T8 Ntv

    antvis/chart-visualization-skills

    Generate structured narrative text visualizations from data using T8 Syntax.

    506 GitHub stars~4.5k tokensUpdated 18 days ago
    Auto-check passed
  • Antv X6 Editor

    antvis/chart-visualization-skills

    A skill your agent uses whenever the user wants to create, customize, or troubleshoot X6 v3 graph editor diagrams.

    506 GitHub stars~2.9k tokensUpdated 18 days ago
    Auto-check passed
  • Antv Gpt Vis

    antvis/chart-visualization-skills

    Recommend and generate appropriate data visualization charts using the GPT-Vis library.

    506 GitHub stars~3.7k tokensUpdated 18 days ago
    Auto-check passed
  • Gpt Vis

    antvis/chart-visualization-skills

    推荐并生成合适的数据可视化图表,使用 GPT-Vis 库。支持两种输出模式:(1)语法模式——生成 Syntax 或 JSON 配置;(2)代码模式——生成完整的运行代码。支持 26 种图表类型。

    506 GitHub stars~2.5k tokensUpdated 18 days ago
    Auto-check passed

Questions about Antv G2 Chart

What does Antv G2 Chart do?

A skill your agent uses whenever the user wants to create, customize, or troubleshoot G2 v5 chart visualizations. Antv G2 Chart is an agent skill from antvis/chart-visualization-skills. Use this skill whenever the user wants to create, customize, or troubleshoot G2 v5 chart visualizations.

When should I use Antv G2 Chart?

Antv G2 Chart fits situations like: the user wants to create; troubleshoot G2 v5 chart visualizations; include: any mention of G2; requests to produce charts like bar charts (柱状图).

How do I install Antv G2 Chart in Claude Code?

Run `npx skills add antvis/chart-visualization-skills --skill antv-g2-chart -a claude-code`. Or copy the skill folder (skills/antv-g2-chart in antvis/chart-visualization-skills) into .claude/skills/antv-g2-chart in your project. Claude Code loads it when a task matches its description.

How do I install Antv G2 Chart in Codex?

Run `npx skills add antvis/chart-visualization-skills --skill antv-g2-chart -a codex`. Or copy the skill folder (skills/antv-g2-chart in antvis/chart-visualization-skills) into .agents/skills/antv-g2-chart in your project. Codex loads it when a task matches its description.

Can I use Antv G2 Chart in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add antvis/chart-visualization-skills --skill antv-g2-chart -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/antv-g2-chart, .gemini/skills/antv-g2-chart, .github/skills/antv-g2-chart and .opencode/skills/antv-g2-chart in your project.

What does Antv G2 Chart need to run?

Going by SKILL.md and its folder, Antv G2 Chart needs the command-line tools its instructions call (curl).

Does Antv G2 Chart access the network?

SKILL.md names 2 domains. In commands or code: sive.antv.antgroup.com and unpkg.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Antv G2 Chart safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Antv G2 Chart use?

Antv G2 Chart is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Antv G2 Chart use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Antv G2 Chart?

Skills that share tags, products or a category with Antv G2 Chart: Markdown Mermaid Writing (K-Dense-AI/scientific-agent-skills, 48k stars), Diagram Design (cathrynlavery/diagram-design, 47k stars), Scientific Schematics (spacering-net/codeg, 3.9k stars) and Scientific Schematics (K-Dense-AI/scientific-agent-skills, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Antv G2 Chart?

antvis (a GitHub organization) maintains it in antvis/chart-visualization-skills, which has 506 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 22, 2026.

Source: antvis/chart-visualization-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.