infographic-syntax-creator

infographic-syntax-creator is a skill for Claude Code from antvis/Infographic. It costs 61 tokens per session (522 once invoked), scanned A, original, MIT.

A generator for AntV Infographic syntax, a text format that describes infographic layouts and their content.

In plain words
What is it for?
Use it to create syntax for lists, timelines, comparisons, hierarchies, and charts, with suitable templates, text structure, themes, and icons.
Why use it?
It turns notes, outlines, reports, and data structures into the required format without implementing or rendering a web page.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the Infographic plugin — 5 skills shipped together

Good fit Use it to create syntax for lists, timelines, comparisons, hierarchies, and charts, with suitable templates, text structure, themes, and icons.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/antvis/infographic/infographic-syntax-creator
About the project

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.

antvis/Infographic · 6,602 stars · on GitHub · infographic.antv.vision

Install

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.

Any agent
npx skills add antvis/Infographic --skill infographic-syntax-creator
Clone the repo
git clone --depth 1 https://github.com/antvis/Infographic

Made for: Claude Code.

Or install Infographic, the plugin that ships this one along with the rest of its 5 skills.

Wrote 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.

agentmods badge for infographic-syntax-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/antvis/infographic/infographic-syntax-creator.svg)](https://agentmods.dev/skills/antvis/infographic/infographic-syntax-creator)
Your own site
<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>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 522 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 7d ago against content hash 5d954cc22ea7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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.

skills/infographic-syntax-creator/SKILL.md · 33 lines

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

  1. Read references/prompt.md for syntax rules, templates, and output constraints.
  2. 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).
  3. Extract the user's key structure: title, desc, items, hierarchy, metrics; infer missing pieces if needed.
  4. Compose the syntax using references/prompt.md as the formatting baseline.
  5. 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 icon for semantic data items by default. If a list item, step, node, compare branch, or compare child has a clear concept, include an icon unless the user explicitly wants text-only output or the template is chart-only.
    • If the chosen template name or item style implies icons, treat icon as expected on every primary datum rather than optional.
    • When icon is 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's children.
    • 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.md is representative rather than exhaustive; prefer structurally correct registered templates over forcing a bad match.

Read the full file on GitHub · 33 lines

Files

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.

Changes

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.

  1. 7d ago First seen · 33 lines · 61 tokens per session scan A 5d954cc22ea7

Subscribe to this mod's changes

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.