Epic Infographics 标志

Epic Infographics

社区
OrRon
epic-infographics

Create polished, professional infographic images from data, facts, or a topic. Builds a self-contained HTML/CSS+SVG page in one of several fully-specified design languages, renders it to PNG with a bundled script, then reviews and fixes its own output. Can also choreograph the same file with CSS animation and render it to MP4/GIF. Use when the user asks for an infographic, a visual summary, a stats poster, a social graphic, a one-pager image, an animated infographic or short data video, or "turn this data into an image."

概览

发布者OrRon
代码仓库EpicInfographics
技能名称epic-infographics
星标数
445
复刻数
38
附带文件
24
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 24 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 OrRon 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Epic Infographics AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/OrRon/EpicInfographics/tree/main/skills/epic-infographics
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OrRon/EpicInfographics.git /tmp/EpicInfographics
mkdir -p .claude/skills
cp -r /tmp/EpicInfographics/skills/epic-infographics .claude/skills/epic-infographics
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Epic Infographics,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Epic Infographics。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Epic Infographics 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Epic Infographics

You are going to produce an infographic image (PNG) by writing a single self-contained HTML file and rendering it with the bundled script. The three things that separate a great result from a mediocre one:

  1. Varied data representations — not everything is a bar chart.
  2. Executing one design language exactly — its tokens are law.
  3. The check–render–review loop — the mechanical preflight must pass, and you MUST look at your own PNG and fix it before delivering. Never deliver a render you haven't looked at.

Workflow

1. Understand the brief

An infographic made for "everyone" lands with no one. Before touching any data, pin down three things:

  • Audience — who is this for, and how much do they already know? (executives skimming, practitioners fluent in the jargon, general public)
  • Goal — what should the graphic do: inform, persuade, impress, or drive one action? The goal decides what kind of fact can be the hero.
  • Context — where will it live (feed, slide deck, print, link preview)? This feeds the canvas choice in step 5 and sets how loud the design can be.
  • Still or animated — offer an animated MP4/GIF version alongside the still (step 12). Motion earns its keep where the graphic will autoplay (social feeds, stories, slides, landing pages); for print or a link preview the still alone is the right answer, so say so in the offer.

If the request already answers these, restate them in one line and move on. If not, ask the user before proceeding — one round of questions, as multiple-choice where you have a tool for it (e.g. AskUserQuestion) so answering takes one click. Only when you are running unattended and cannot ask, pick sensible answers and state those assumptions at delivery.

2. Gather the data

Collect the facts that serve the brief. Use what the user gave; research or derive the rest — never invent statistics; if values are illustrative, label them so. Gather slightly more than one graphic needs: the pitch in step 3 is only honest when there was more than one possible angle in the material.

3. Pitch the story

An infographic is an argument, not a data dump. From the data, draft 2–3 candidate story angles. Each pitch is a working headline, the hero number/fact that anchors it, and one sentence: what should the reader remember? The angles must genuinely differ — e.g. "how big it is" vs. "how fast it's changing" vs. "what it costs you" — not rewordings of one claim.

Present the pitches to the user as a multiple-choice question (AskUserQuestion where available, plain text otherwise), with your recommended angle first and marked as recommended. If you cannot ask, take your recommendation and say so at delivery. The chosen angle decides the hero element; every other fact is support or gets cut.

4. Find the visual metaphor

Read references/illustration-and-texture.md. List 2–3 physical objects the subject evokes and pick one that can carry data (a cup whose fill level is the value, a ladder whose rungs are the steps). This becomes the canvas's subject — the reason the graphic could only be about THIS topic. Type-led styles (swiss) may go abstract instead, but then scale and composition must do the identity work. The litmus test comes back at review: cover the text — is the topic still recognizable?

5. Pick the canvas

PresetSize (px)Use for
square1080×1080social feed post
story1080×1920stories/reels, phone-first
wide1920×1080presentations, YouTube, wallpaper
og1200×630link previews, banners
a41240×1754print poster/handout
tall1080×autolong-form scrolling infographic

Aspect drives layout before style does: story/tall = vertical single-column flow; wide = 2–3 column zones; square = hero + 2×2 support grid is a safe default.

6. Pick the design language

Read exactly ONE file from references/design-languages/ and follow it completely — palette hexes, fonts, geometry, signature devices, do/don'ts.

  • User asked for a vibe → match it (technical → blueprint, dramatic/tech → dark-glass, literary → editorial, warm/craft → retro-print, friendly → hand-drawn, nature/science/anatomy → naturalist-plate, systems/places/playful-spatial → isometric-world, places/journeys/ vistas → park-poster, how-it-works/inside-a-machine → cutaway).
  • No preference → pick by subject matter, favoring the scene-native styles above.
  • High slop-risk styles — swiss, corporate-clean, neo-brutalist — are flat by construction (type + shapes on a plain ground) and have repeatedly failed audience tests. Use them ONLY when the user explicitly asks for that look, and even then import scene-craft: environment, detail density, a story path (composition.md rule zero).
  • Every color and font size in your HTML must come from the style file. No freelancing.

7. Choose data representations

Read references/data-vocabulary.md and pick deliberately varied forms: one hero element (big number, hero chart, or hero pictogram) plus 2–4 support elements of different types. Three bar charts in a row is a failure even if each one is correct. Prefer forms that fuse with the metaphor (liquid fill, object-as-bar, icon army) over generic charts beside it.

8. Compose and build

Read references/composition.md and pick one named composition pattern (Big Object, Bleed, Overlap stack, Diagonal drive, Editorial spread, Specimen sheet) — state it in an HTML comment. A card grid may only be a sub-zone (≤ ⅓ of the canvas), never the whole layout. Apply the tension rules: one dense zone + one empty zone, three sizes minimum, something crossing a boundary, a non-uniform background, canvas-level texture if the style calls for it. Then start from templates/skeleton.html. Rules:

  • Single self-contained file: style tokens as CSS custom properties, all charts as inline SVG (recipes + math in references/charts.md), Google Fonts via <link>, no other external resources, no JS frameworks.
  • One hero element; everything else visually subordinate to it. Mark it with the data-hero attribute — the preflight checker uses it to verify emphasis.
  • A consistent spacing scale (the style file defines it) — no ad-hoc margins.
  • Footer strip: data source (if one exists) and/or attribution.

9. Preflight the layout — mechanical gate

bash
node scripts/check.mjs infographic.html --preset square

Before rendering a single pixel, the checker loads the page headless and measures the actual glyph geometry. It reports errors (text painted over other text, text clipped by an overflow ancestor or cut by the canvas edge, content escaping the canvas, fonts below the readable floor, more than one data-hero) and warnings (missing data-hero, weak hero dominance, tight font sizes, near-miss overlaps).

  • Errors block you. Fix the HTML and re-run until the error count is zero. Never render around an error — an error at this stage is a real defect, not a formality.
  • Warnings are review items: fix each one, or keep it only with a one-line justification (e.g. a deliberate 10px caption in a print titleblock).
  • Ink-on-ink layering you designed on purpose (a giant translucent numeral behind a headline) is waived with data-overlap-ok on one of the two elements. Add it only for overlaps that are a composition decision, and confirm their legibility in the PNG review — every waiver is yours to defend.

10. Render

bash
node scripts/render.mjs infographic.html infographic.png --preset square

First-time setup (once per machine): npm install && npx playwright install chromium (run from the skill directory). The script waits for fonts, so text always renders.

11. Review your own PNG — mandatory

Read the PNG file (view the image). Check ruthlessly:

  • Any text overflowing, clipped, colliding, or widowed?
  • Does the hero element dominate at a glance? Squint test: is there ONE focal point?
  • Are chart proportions truthful (bar ratios match value ratios)?
  • Contrast: is every piece of text comfortably readable?
  • Crowding: does anything need more breathing room?
  • Is the bottom edge awkward (half-empty, or content jammed against it)?
  • Does it look like the design language, or like a generic default?

Anti-slop pass (any hit = recompose, not patch):

  • The no-text squint: cover the words — can you still tell the topic?
  • Could this layout hold any other dataset unchanged? (= it's a template)
  • Is it rounded cards in a grid on a flat background? (= dashboard)
  • Is it type + shapes on a plain ground — no scene, no environment, no story path? Flat graphic minimalism is slop even when disciplined. (= build the place; see composition.md rule zero)
  • Any emoji standing in for an icon?
  • Is everything evenly spaced with nothing crossing a boundary?
  • Is every element between 16–40px with no giant anchor?

Fix, re-run the preflight (a fix can introduce a new collision), and re-render. Minimum one loop; repeat until the list is clean. Deliver the PNG and offer the HTML source.

12. Animate — when the user opted in

You offered animation in step 1; do this step if they said yes there, or ask for it later (MP4/GIF, social video, "make it move"). Animate the approved static file — never animate around an unreviewed still. Read references/motion.md and follow it: storyboard the build order (place → structure → data → hero → support), add CSS keyframes to the same HTML file with the fill mode motion.md prescribes, then render:

bash
node scripts/animate.mjs infographic.html infographic.mp4 --preset square --sheet sheet.png

Requires ffmpeg on PATH (brew install ffmpeg / apt install ffmpeg). The preflight and still render are unaffected — both evaluate the animation's end state, so step 9's guarantees still hold. Review the contact sheet against the checklist in motion.md (frame 1 has a scene, the stagger is visible, the last frame matches the approved PNG), fix, re-run. Deliver the MP4 (plus a GIF via a second run with a .gif output when the destination wants one) alongside the still.

Hard rules

  • No invented data. Use what the user gave, what you researched, or label values as illustrative.
  • Truthful geometry. Bar lengths, arc angles, and areas are computed from values, never eyeballed. Area scales with value (a 2× value bubble has 2× area, i.e. √2× radius).
  • No dual-axis charts. Two measures of different scale → two charts or index to a common base.
  • Donut/pie only for part-to-whole at a glance, ≤ 5 segments, never for comparing close values.
  • A static image has no tooltips — every data mark that matters carries a direct label or is readable off a labeled axis. But label selectively: the endpoint, the extreme, the hero — not a number on every point.
  • Text never wears the data color — labels use the style's ink/muted tokens; identity comes from the colored mark beside them. (Exception: text set inside a colored fill picks white or ink by the fill's luminance.)
  • Series colors come from the style's chart-safe slots, in their fixed order. Past 5 series, fold the tail into "Other."
  • Numbers formatted for humans: 12.4M not 12400000; units always shown; large standalone numbers use proportional (not tabular) figures.
  • No text overflow, no ellipsis truncation — resize, rewrap, or rewrite.
  • Marks are thin, chrome is quiet (per style file): hairline gridlines if any, generous padding, saturated color reserved for data and accents.
  • Never emoji as icons or illustration — draw the shape in SVG or omit.
  • No framework-default colors (Tailwind/Bootstrap hexes) — palettes come from the style file, which is art-directed and validated.

Files

FileWhen to read it
references/illustration-and-texture.mdStep 4, always
references/data-vocabulary.mdStep 7, always
references/composition.mdStep 8, always
references/charts.mdBefore writing any chart SVG
references/design-languages/*.mdStep 6 — exactly one
templates/skeleton.htmlStep 8, as your starting file
scripts/check.mjsStep 9 — run it, fix errors, rerun
scripts/render.mjsRun it; read only if debugging
references/motion.mdStep 12, before writing any keyframe
scripts/animate.mjsStep 12 — run it; read only if debugging

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Epic Infographics AI 技能有什么作用?

Create polished, professional infographic images from data, facts, or a topic. Builds a self-contained HTML/CSS+SVG page in one of several fully-specified design languages, renders it to PNG with a bundled script, then reviews and fixes its own output. Can also choreograph the same file with CSS animation and render it to MP4/GIF. Use when the user asks for an infographic, a visual summary, a stats poster, a social graphic, a one-pager image, an animated infographic or short data video, or "turn this data into an image."

为什么在 TypingMind 中使用 Epic Infographics?

因为您只需安装一次,就能搭配任何模型使用。Epic Infographics 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Epic Infographics?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/OrRon/EpicInfographics/tree/main/skills/epic-infographics。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Epic Infographics?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Epic Infographics 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Epic Infographics 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Epic Infographics AI 技能免费吗?

是的。OrRon 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇