AntV Infographic is a declarative framework that turns structured descriptions into editable, high-quality SVG infographics. Developers and AI agents use its syntax, templates, themes, editor, and rendering tools to create visual explanations, while the listed skills help agents generate infographic structures and files.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add antvis/Infographic --skill infographic-syntax-creatorgit clone --depth 1 https://github.com/antvis/InfographicWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/antvis/infographic/infographic-syntax-creator)<a href="https://agentmods.dev/skills/antvis/infographic/infographic-syntax-creator"><img src="https://agentmods.dev/badge/skills/antvis/infographic/infographic-syntax-creator.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.00522 |
| Opus 5 | $0.00030 | $0.00261 |
| Sonnet 5 | $0.00012 | $0.00104 |
| Haiku 4.5 | $0.00006 | $0.00052 |
Grade A, and why
infographic-syntax-creator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 33 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Infographic Syntax Creator
Overview
Generate AntV Infographic syntax output from user content, following the rules in references/prompt.md.
Workflow
- Read
references/prompt.mdfor syntax rules, templates, and output constraints. - If the user explicitly names a valid template or template family, honor it first; otherwise choose the best matching template for the structure (sequence/list/compare/hierarchy/chart).
- Extract the user's key structure: title, desc, items, hierarchy, metrics; infer missing pieces if needed.
- Compose the syntax using
references/prompt.mdas the formatting baseline. - Preserve hard constraints in every output:
- Output is a single fenced code block containing only syntax; no extra text.
- First line is
infographic <template-name>. - Use two-space indentation; key/value pairs are
key value; arrays use-. - Keep all user-facing text in the same language as the user's input unless the user explicitly asks for translation or bilingual output.
- Prefer generating
iconfor semantic data items by default. If a list item, step, node, compare branch, or compare child has a clear concept, include aniconunless the user explicitly wants text-only output or the template is chart-only. - If the chosen template name or item style implies icons, treat
iconas expected on every primary datum rather than optional. - When
iconis written as a keyword phrase, separate words with spaces rather than hyphens. Exact icon IDs may keep their native punctuation. compare-binary-*/compare-hierarchy-left-right-*must have exactly two root nodes, and the actual comparison points belong in each root node'schildren.compare-swot/compare-quadrant-*follow their own root-node counts and should not be forced into a binary structure.
Notes
- This skill returns syntax only. If the user wants a rendered HTML file or a complete deliverable, prefer
infographic-creator. - The template list in
references/prompt.mdis representative rather than exhaustive; prefer structurally correct registered templates over forcing a bad match.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 33 lines · 61 tokens per session scan A 5d954cc22ea7
infographic-syntax-creator is a skill published in the GitHub repository antvis/Infographic (6,602 stars, last pushed 16d ago), licensed MIT. It adds 61 tokens to every session and 522 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
infographic
A guide for creating infographics with only HTML and CSS. Infographics present structured information visually, such as timelines, comparisons, funnels and organisation charts.
infographic-creator
Create beautiful infographics based on given text content. Use when users request to create infographics.
chart-visualization
A skill for turning data into visual charts such as bar, line, pie, scatter, radar, Sankey, and flow diagrams. It sends chart definitions to AntV's visualization service and returns an image link.
mermaid-diagram
A guide for writing Mermaid code for structured diagrams. Mermaid is a text format that can describe diagrams such as flowcharts, architecture diagrams and timelines.
infographic
Design infographic layouts and content structure. Plan visual storytelling with data, icons, and text hierarchy for impactful information design.
p5js
Use when users request: p5.js sketches, creative coding, generative art, interactive visualizations, canvas animations, browser-based visual art, data viz, shader effects, or any p5.js project.