Agent skill

Antv Infographic

by antvis in antvis/chart-visualization-skills

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

MITAuto-check passedMedia & Creative

Install Antv Infographic

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

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

GitHub CLI
$ gh skill install antvis/chart-visualization-skills antv-infographic --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-infographic .claude/skills/antv-infographic && 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-infographic
GitHub stars
506
Token cost
~3k tokens
SKILL.md length
834 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 2 steps: Understand User Requirements → Render the Infographic
  • Users request to create infographics
  • SKILL.md covers Specifications and Generation Process
  • Reaches unpkg.com

What it does

Antv Infographic is an agent skill from antvis/chart-visualization-skills. Create beautiful infographics based on given text content. Use when users request to create infographics.

Its SKILL.md is about 3k 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 Media & Creative, covering Infographics. 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

  • Users request to create infographics
  • Tasks that involve Infographics

Example prompts

  • “/antv-infographic”

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. Understand User Requirements
  2. Render the Infographic

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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are plain and html).

    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:

    • unpkg.com

    Also links to:

    • infographic.antv.vision

    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 Infographic loads about 3k tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 834 words of instructions outside code blocks.

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

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). 834 words, ~2,967 tokens.

Download SKILL.mdSave it as .claude/skills/antv-infographic/SKILL.md (or your agent's skills folder).
name
antv-infographic
description
Create beautiful infographics based on given text content. Use when users request to create infographics.

Infographics convert data, information, and knowledge into perceptible visual language. They combine visual design with data visualization, compressing complex information with intuitive symbols to help audiences quickly understand and remember key points.

Infographic = Information Structure + Visual Expression

This task uses AntV Infographic to create visual infographics.

Before starting the task, you need to understand the AntV Infographic syntax specifications, including template list, data structure, themes, etc.

Specifications

AntV Infographic Syntax

AntV Infographic syntax is a custom DSL used to describe infographic rendering configurations. It uses indentation to describe information, has strong robustness, and is convenient for AI streaming output and infographic rendering. It mainly contains the following information:

  1. template: Use templates to express the text information structure.
  2. data: Infographic data, including title, desc, data items, etc. Data items typically contain fields such as label, desc, icon, etc.
  3. theme: Theme contains style configurations such as palette, font, etc.

For example:

plain
infographic list-row-horizontal-icon-arrow
data
  title Title
  desc Description
  lists
    - label Label
      value 12.5
      desc Explanation
      icon document text
theme
  palette #3b82f6 #8b5cf6 #f97316
Syntax Specifications
  • The first line must be infographic <template-name>, template selected from the list below (see "Available Templates" section).

  • Use data / theme blocks, with two-space indentation within blocks.

  • Key-value pairs use "key space value"; arrays use - as entry prefix.

  • icon uses icon keywords (e.g., star fill).

  • data should contain title/desc + template-specific main data field (not necessarily items).

  • Main data field selection (use only one, avoid mixing):

    • list-* → lists
    • sequence-* → sequences (optional order asc|desc)
    • compare-* → compares (supports children for grouped comparisons), can contain multiple comparison items
    • hierarchy-structure → items (each item corresponds to an independent hierarchy, each level can contain sub-items, can be nested up to 3 levels)
    • hierarchy-* → single root (tree structure, nested through children);
    • relation-* → nodes + relations; simple relation diagrams can omit nodes, using arrow syntax in relations
    • chart-* → values (numeric statistics, optional category)
    • Use items as fallback when uncertain
  • compare-binary-* / compare-hierarchy-left-right-* binary templates: must have two root nodes, all comparison items hang under these two root nodes' children

  • hierarchy-*: use single root, nested through children (do not repeat root)

  • theme is used to customize themes (palette, font, etc.) For example: dark theme + custom color scheme

    plain
    infographic list-row-horizontal-icon-arrow
    theme dark
      palette
        - #61DDAA
        - #F6BD16
        - #F08BB4
  • Use theme.base.text.font-family to specify font, such as handwriting style 851tegakizatsu

  • Use theme.stylize to select built-in styles and pass parameters Common styles:

    • rough: hand-drawn effect
    • pattern: pattern fill
    • linear-gradient / radial-gradient: linear/radial gradient

    For example: hand-drawn style (rough)

    plain
    infographic list-row-horizontal-icon-arrow
    theme
      stylize rough
      base
        text
          font-family 851tegakizatsu
  • Do not output JSON, Markdown, or explanatory text

Data Syntax Examples

Data syntax examples by template category (use corresponding fields, avoid adding items simultaneously):

  • list-* templates
plain
infographic list-grid-badge-card
data
  title Feature List
  lists
    - label Fast
      icon flash fast
    - label Secure
      icon secure shield check
  • sequence-* templates
plain
infographic sequence-steps-simple
data
  sequences
    - label Step 1
    - label Step 2
    - label Step 3
  order asc
  • hierarchy-* templates
plain
infographic hierarchy-structure
data
  root
    label Company
    children
      - label Dept A
      - label Dept B
  • compare-* templates
plain
infographic compare-swot
data
  compares
    - label Strengths
      children
        - label Strong brand
        - label Loyal users
    - label Weaknesses
      children
        - label High cost
        - label Slow release

Quadrant diagram

plain
infographic compare-quadrant-quarter-simple-card
data
  compares
    - label High Impact & Low Effort
    - label High Impact & High Effort
    - label Low Impact & Low Effort
    - label Low Impact & High Effort
  • chart-* templates
plain
infographic chart-column-simple
data
  values
    - label Visits
      value 1280
    - label Conversion
      value 12.4
  • relation-* templates

Edge label syntax: A -label-> B or A -->|label| B

plain
infographic relation-dagre-flow-tb-simple-circle-node
data
  nodes
    - id A
      label Node A
    - id B
      label Node B
  relations
    A - approves -> B
    A -->|blocks| B
  • Fallback items example
plain
infographic list-row-horizontal-icon-arrow
data
  items
    - label Item A
      desc Description
      icon sun
    - label Item B
      desc Description
      icon moon
Available Templates
  • chart-bar-plain-text
  • chart-column-simple
  • chart-line-plain-text
  • chart-pie-compact-card
  • chart-pie-donut-pill-badge
  • chart-pie-donut-plain-text
  • chart-pie-plain-text
  • chart-wordcloud
  • compare-binary-horizontal-badge-card-arrow
  • compare-binary-horizontal-simple-fold
  • compare-binary-horizontal-underline-text-vs
  • compare-hierarchy-left-right-circle-node-pill-badge
  • compare-quadrant-quarter-circular
  • compare-quadrant-quarter-simple-card
  • compare-swot
  • hierarchy-mindmap-branch-gradient-capsule-item
  • hierarchy-mindmap-level-gradient-compact-card
  • hierarchy-structure
  • hierarchy-tree-curved-line-rounded-rect-node
  • hierarchy-tree-tech-style-badge-card
  • hierarchy-tree-tech-style-capsule-item
  • list-column-done-list
  • list-column-simple-vertical-arrow
  • list-column-vertical-icon-arrow
  • list-grid-badge-card
  • list-grid-candy-card-lite
  • list-grid-ribbon-card
  • list-row-horizontal-icon-arrow
  • list-sector-plain-text
  • list-zigzag-down-compact-card
  • list-zigzag-down-simple
  • list-zigzag-up-compact-card
  • list-zigzag-up-simple
  • relation-dagre-flow-tb-animated-badge-card
  • relation-dagre-flow-tb-animated-simple-circle-node
  • relation-dagre-flow-tb-badge-card
  • relation-dagre-flow-tb-simple-circle-node
  • sequence-ascending-stairs-3d-underline-text
  • sequence-ascending-steps
  • sequence-circular-simple
  • sequence-color-snake-steps-horizontal-icon-line
  • sequence-cylinders-3d-simple
  • sequence-filter-mesh-simple
  • sequence-funnel-simple
  • sequence-horizontal-zigzag-underline-text
  • sequence-mountain-underline-text
  • sequence-pyramid-simple
  • sequence-roadmap-vertical-plain-text
  • sequence-roadmap-vertical-simple
  • sequence-snake-steps-compact-card
  • sequence-snake-steps-simple
  • sequence-snake-steps-underline-text
  • sequence-stairs-front-compact-card
  • sequence-stairs-front-pill-badge
  • sequence-timeline-rounded-rect-node
  • sequence-timeline-simple
  • sequence-zigzag-pucks-3d-simple
  • sequence-zigzag-steps-underline-text

Template Selection Recommendations:

  • Strict sequence (process/steps/development trend) → sequence-*
    • Timeline → sequence-timeline-*
    • Staircase diagram → sequence-stairs-*
    • Roadmap → sequence-roadmap-vertical-*
    • Zigzag path → sequence-zigzag-*
    • Circular progress → sequence-circular-simple
    • Colorful snake steps → sequence-color-snake-steps-*
    • Pyramid → sequence-pyramid-simple
  • Opinion listing → list-row-* or list-column-*
  • Binary comparison (pros/cons) → compare-binary-*
  • SWOT → compare-swot
  • Hierarchical structure (tree diagram) → hierarchy-tree-*
  • Data charts → chart-*
  • Quadrant analysis → compare-quadrant-*
  • Grid list (key points) → list-grid-*
  • Relationship display → relation-*
  • Word cloud → chart-wordcloud
  • Mind map → hierarchy-mindmap-*
Show full SKILL.md (286 more words)Show less
Example

Creating an Internet technology evolution infographic

plain
infographic list-row-horizontal-icon-arrow
data
  title Internet Technology Evolution
  desc From Web 1.0 to AI era, key milestones
  lists
    - time 1991
      label Web 1.0
      desc Tim Berners-Lee published the first website, opening the Internet era
      icon web
    - time 2004
      label Web 2.0
      desc Social media and user-generated content become mainstream
      icon account multiple
    - time 2007
      label Mobile
      desc iPhone released, smartphone changes the world
      icon cellphone
    - time 2015
      label Cloud Native
      desc Containerization and microservices architecture are widely used
      icon cloud
    - time 2020
      label Low Code
      desc Visual development lowers the technology threshold
      icon application brackets
    - time 2023
      label AI Large Model
      desc ChatGPT ignites the generative AI revolution
      icon brain

Generation Process

Step 1: Understand User Requirements

Before creating an infographic, first understand the user's needs and the information they want to express, in order to determine the template and data structure.

If the user provides a clear content description, it should be broken down into a clear and concise structure.

Otherwise, clarification from the user is needed (e.g., "Please provide a clear and concise content description.", "Which template do you want to use?")

  • Extract key information structure (title, desc, items, etc.).
  • Clarify required data fields (title, desc, items, label, value, icon, etc.).
  • Select appropriate template.
  • Describe infographic content using AntV Infographic syntax {syntax}.

Key Note: Must respect the language of user input. For example, if the user inputs in Chinese, the text in the syntax must also be in Chinese.

Step 2: Render the Infographic

When you have the final AntV Infographic syntax, you can generate a complete HTML file following these steps:

  1. Create a complete HTML file with the following structure:
    • DOCTYPE and HTML meta (charset: utf-8)
    • Title: {title} - Infographic
    • Include AntV Infographic script: https://unpkg.com/@antv/infographic@latest/dist/infographic.min.js
    • Create container div with id container
    • Initialize Infographic (width: '100%', height: '100%')
    • Replace {title} with actual title
    • Replace {syntax} with actual AntV Infographic syntax
    • Add SVG export functionality: const svgDataUrl = await infographic.toDataURL({ type: 'svg' });

Reference HTML template:

html
<div id="container"></div>
<script src="https://unpkg.com/@antv/infographic@latest/dist/infographic.min.js"></script>
<script>
 const infographic = new AntVInfographic.Infographic({
    container: '#container',
    width: '100%',
    height: '100%',
  });
  document.fonts?.ready.then(() => {
    infographic.render(`{syntax}`);
  }).catch((error) => {
    console.error('Error waiting for fonts to load:', error);
    infographic.render(`{syntax}`);
  });
</script>
  1. Use the Write tool to generate HTML file, named as <title>-infographic.html

  2. Show to user:

    • Generate file path and prompt: "Open directly with a browser to view and save as SVG"
    • Output syntax and prompt: "Tell me if you need to adjust template/colors/content"

Note: The HTML file must include:

  • SVG export via export button
  • Container is responsive, both width and height are 100%

© 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-infographic of antvis/chart-visualization-skills.

Open the folder on GitHubat commit a105fa1

Compare with similar skills

Antv Infographic 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 Infographic compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Antv Infographic this skillantvis/chart-visualization-skills506—~3kAutomated safety check: PassMIT
Visual Explainernicobailon/visual-explainer10k—~3.3kAutomated safety check: PassMIT
Lanshu Create AI Presenter Videocclank/lanshu-create-ai-presenter-video2.6k—~3.6kAutomated safety check: PassMIT
Image Generationonyx-dot-app/onyx32k1 repos~1.7kAutomated safety check: PassCustom licence
Math ExplainerGordenSun/mathVideoMaker2901 repos~2.4kAutomated safety check: PassNone
SEO Image GeneratorAgriciDaniel/claude-seo19k2 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • Visual Explainer

    nicobailon/visual-explainer

    Turns systems, code changes, plans and data into self-contained HTML pages where figures carry the explanation, with options for slide decks and narrated MP4 videos.

    10k GitHub stars~3.3k tokensUpdated today
    Media & CreativeAuto-check passed
  • Lanshu Create AI Presenter Video

    cclank/lanshu-create-ai-presenter-video

    Turn a topic or finished script into a complete, publish-ready explainer video — led by an AI presenter from an authorized adult presenter image, or performed in one of nine visual explainer styles…

    2.6k GitHub stars~3.6k tokensUpdated 4 days ago
    Media & CreativeAuto-check passed
  • Image Generation

    onyx-dot-app/onyx

    Generate or edit raster images (photos, illustrations, textures, sprites, mockups, logos, infographics) using the workspace's configured image-generation provider via onyx-cli image.

    32k GitHub starsUsed in 1 repo~1.7k tokens
    Media & CreativeAuto-check passed
  • Math Explainer

    GordenSun/mathVideoMaker

    Generate math explanation videos (animated with Manim) and interactive web pages from a user's request.

    290 GitHub starsUsed in 1 repo~2.4k tokens
    Media & CreativeAuto-check passed
  • SEO Image Generator

    AgriciDaniel/claude-seo

    Generates Open Graph previews, blog hero images, product photos and infographics for SEO use through Gemini image tools and the banana extension.

    19k GitHub starsUsed in 2 repos~2.1k tokens
    Media & CreativeAuto-check passed
  • Ecom Image2

    buluslan/gpt-image2-ecommerce

    由 buluslan(公众号:新西楼.AI)研发的开源电商做图 Skill:39 个电商场景模板、Campaign 套图一致性、GPT-Image-2.5 官方双模型路由(Flare/Sunburst)与平台技术预检。通过用户配置的 OpenAI 兼容端点生成图片,或导出 prompt 包手动使用。Trigger whenever the user wants product main…

    410 GitHub stars~2.9k tokensUpdated 23 days ago
    Media & CreativeAuto-check passed

More from antvis/chart-visualization-skills

All 9 skills in this repo
  • Antv G2 Chart

    antvis/chart-visualization-skills

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

    506 GitHub stars~2.5k tokensUpdated 18 days ago
    Auto-check passed
  • 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 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 Infographic

What does Antv Infographic do?

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

When should I use Antv Infographic?

Antv Infographic fits situations like: users request to create infographics; tasks that involve Infographics.

How do I install Antv Infographic in Claude Code?

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

How do I install Antv Infographic in Codex?

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

Can I use Antv Infographic 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-infographic -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-infographic, .gemini/skills/antv-infographic, .github/skills/antv-infographic and .opencode/skills/antv-infographic in your project.

What does Antv Infographic need to run?

SKILL.md names no scripts, command-line tools or credentials: Antv Infographic is instructions for the agent only.

Does Antv Infographic access the network?

SKILL.md names 2 domains. In commands or code: unpkg.com; the agent is likely to contact it when it follows the instructions. As links in the text: infographic.antv.vision. This is read from the text; nothing was executed.

Is Antv Infographic 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 Infographic use?

Antv Infographic 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 Infographic use?

About 3k tokens (SKILL.md is roughly 12k 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 Infographic?

Skills that share tags, products or a category with Antv Infographic: Visual Explainer (nicobailon/visual-explainer, 10k stars), Lanshu Create AI Presenter Video (cclank/lanshu-create-ai-presenter-video, 2.6k stars), Image Generation (onyx-dot-app/onyx, 32k stars) and Math Explainer (GordenSun/mathVideoMaker, 290 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Antv Infographic?

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.