baoyu-infographic

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Infographic Generator

信息图生成器

Adapted from baoyu-infographic for Hermes Agent's tool ecosystem.
Two dimensions: layout (information structure) × style (visual aesthetics). Freely combine any layout with any style.
为Hermes Agent工具生态系统适配,改编自baoyu-infographic
两大维度:layout(布局)(信息结构)× style(风格)(视觉美学)。可自由组合任意布局与风格。

When to Use

使用场景

Trigger this skill when the user asks to create an infographic, visual summary, information graphic, or uses terms like "信息图", "可视化", or "高密度信息大图". The user provides content (text, file path, URL, or topic) and optionally specifies layout, style, aspect ratio, or language.
当用户要求创建信息图、可视化摘要、信息图形,或使用“信息图”“可视化”“高密度信息大图”等术语时,触发该技能。用户需提供内容(文本、文件路径、URL或主题),还可选择性指定布局、风格、宽高比或语言。

Options

选项

OptionValues
Layout21 options (see Layout Gallery), default: bento-grid
Style21 options (see Style Gallery), default: craft-handmade
AspectNamed: landscape (16:9), portrait (9:16), square (1:1). Custom: any W:H ratio (e.g., 3:4, 4:3, 2.35:1)
Languageen, zh, ja, etc.
选项可选值
Layout(布局)21种选项(详见布局库),默认值:bento-grid
Style(风格)21种选项(详见风格库),默认值:craft-handmade
Aspect(宽高比)预设值:landscape(16:9)、portrait(9:16)、square(1:1)。自定义:任意宽高比(如3:4、4:3、2.35:1)
Language(语言)en、zh、ja等

Layout Gallery

布局库

LayoutBest For
linear-progression
Timelines, processes, tutorials
binary-comparison
A vs B, before-after, pros-cons
comparison-matrix
Multi-factor comparisons
hierarchical-layers
Pyramids, priority levels
tree-branching
Categories, taxonomies
hub-spoke
Central concept with related items
structural-breakdown
Exploded views, cross-sections
bento-grid
Multiple topics, overview (default)
iceberg
Surface vs hidden aspects
bridge
Problem-solution
funnel
Conversion, filtering
isometric-map
Spatial relationships
dashboard
Metrics, KPIs
periodic-table
Categorized collections
comic-strip
Narratives, sequences
story-mountain
Plot structure, tension arcs
jigsaw
Interconnected parts
venn-diagram
Overlapping concepts
winding-roadmap
Journey, milestones
circular-flow
Cycles, recurring processes
dense-modules
High-density modules, data-rich guides
Full definitions:
references/layouts/<layout>.md
Layout(布局)适用场景
linear-progression
时间线、流程、教程
binary-comparison
A/B对比、前后对比、优缺点对比
comparison-matrix
多因素对比
hierarchical-layers
金字塔结构、优先级层级
tree-branching
分类、分类体系
hub-spoke
核心概念及关联内容
structural-breakdown
分解视图、横截面
bento-grid
多主题内容、概览(默认)
iceberg
表面内容与隐藏内容对比
bridge
问题-解决方案
funnel
转化流程、过滤流程
isometric-map
空间关系展示
dashboard
指标、KPI展示
periodic-table
分类集合展示
comic-strip
叙事内容、序列内容
story-mountain
情节结构、张力曲线
jigsaw
相互关联的内容模块
venn-diagram
重叠概念展示
winding-roadmap
发展历程、里程碑
circular-flow
循环流程、重复过程
dense-modules
高密度模块、数据丰富的指南
完整定义:
references/layouts/<layout>.md

Style Gallery

风格库

StyleDescription
craft-handmade
Hand-drawn, paper craft (default)
claymation
3D clay figures, stop-motion
kawaii
Japanese cute, pastels
storybook-watercolor
Soft painted, whimsical
chalkboard
Chalk on black board
cyberpunk-neon
Neon glow, futuristic
bold-graphic
Comic style, halftone
aged-academia
Vintage science, sepia
corporate-memphis
Flat vector, vibrant
technical-schematic
Blueprint, engineering
origami
Folded paper, geometric
pixel-art
Retro 8-bit
ui-wireframe
Grayscale interface mockup
subway-map
Transit diagram
ikea-manual
Minimal line art
knolling
Organized flat-lay
lego-brick
Toy brick construction
pop-laboratory
Blueprint grid, coordinate markers, lab precision
morandi-journal
Hand-drawn doodle, warm Morandi tones
retro-pop-grid
1970s retro pop art, Swiss grid, thick outlines
hand-drawn-edu
Macaron pastels, hand-drawn wobble, stick figures
Full definitions:
references/styles/<style>.md
Style(风格)描述
craft-handmade
手绘、纸艺风格(默认)
claymation
3D黏土风格、定格动画效果
kawaii
日式可爱风格、马卡龙色调
storybook-watercolor
柔和水彩风格、奇幻风
chalkboard
黑板粉笔风格
cyberpunk-neon
霓虹发光效果、未来主义风格
bold-graphic
漫画风格、半色调效果
aged-academia
复古学术风格、深褐色调
corporate-memphis
扁平化矢量风格、鲜艳色彩
technical-schematic
蓝图风格、工程制图效果
origami
折纸风格、几何造型
pixel-art
复古8位像素风格
ui-wireframe
灰度界面线框原型风格
subway-map
地铁线路图风格
ikea-manual
极简线条风格
knolling
规整平铺风格
lego-brick
乐高积木搭建风格
pop-laboratory
蓝图网格、坐标标记、实验室精准风格
morandi-journal
手绘涂鸦、莫兰迪暖色调
retro-pop-grid
70年代复古波普艺术、瑞士网格、粗线条
hand-drawn-edu
马卡龙 pastel 色调、手绘抖动效果、简笔画人物
完整定义:
references/styles/<style>.md

Recommended Combinations

推荐组合

Content TypeLayout + Style
Timeline/History
linear-progression
+
craft-handmade
Step-by-step
linear-progression
+
ikea-manual
A vs B
binary-comparison
+
corporate-memphis
Hierarchy
hierarchical-layers
+
craft-handmade
Overlap
venn-diagram
+
craft-handmade
Conversion
funnel
+
corporate-memphis
Cycles
circular-flow
+
craft-handmade
Technical
structural-breakdown
+
technical-schematic
Metrics
dashboard
+
corporate-memphis
Educational
bento-grid
+
chalkboard
Journey
winding-roadmap
+
storybook-watercolor
Categories
periodic-table
+
bold-graphic
Product Guide
dense-modules
+
morandi-journal
Technical Guide
dense-modules
+
pop-laboratory
Trendy Guide
dense-modules
+
retro-pop-grid
Educational Diagram
hub-spoke
+
hand-drawn-edu
Process Tutorial
linear-progression
+
hand-drawn-edu
Default:
bento-grid
+
craft-handmade
内容类型布局+风格
时间线/历史内容
linear-progression
+
craft-handmade
分步指南
linear-progression
+
ikea-manual
A/B对比
binary-comparison
+
corporate-memphis
层级结构
hierarchical-layers
+
craft-handmade
重叠概念
venn-diagram
+
craft-handmade
转化流程
funnel
+
corporate-memphis
循环流程
circular-flow
+
craft-handmade
技术内容
structural-breakdown
+
technical-schematic
指标数据
dashboard
+
corporate-memphis
教育内容
bento-grid
+
chalkboard
发展历程
winding-roadmap
+
storybook-watercolor
分类内容
periodic-table
+
bold-graphic
产品指南
dense-modules
+
morandi-journal
技术指南
dense-modules
+
pop-laboratory
潮流指南
dense-modules
+
retro-pop-grid
教育图表
hub-spoke
+
hand-drawn-edu
流程教程
linear-progression
+
hand-drawn-edu
默认组合:
bento-grid
+
craft-handmade

Keyword Shortcuts

关键词快捷方式

When user input contains these keywords, auto-select the associated layout and offer associated styles as top recommendations in Step 3. Skip content-based layout inference for matched keywords.
If a shortcut has Prompt Notes, append them to the generated prompt (Step 5) as additional style instructions.
User KeywordLayoutRecommended StylesDefault AspectPrompt Notes
高密度信息大图 / high-density-info
dense-modules
morandi-journal
,
pop-laboratory
,
retro-pop-grid
portrait
信息图 / infographic
bento-grid
craft-handmade
landscapeMinimalist: clean canvas, ample whitespace, no complex background textures. Simple cartoon elements and icons only.
当用户输入包含以下关键词时,自动选择对应的布局,并在步骤3中优先推荐关联风格。匹配到关键词后,跳过基于内容的布局推断。
若快捷方式带有提示说明,需将其追加到生成的提示词(步骤5)中作为额外风格指令。
用户关键词布局推荐风格默认宽高比提示说明
高密度信息大图 / high-density-info
dense-modules
morandi-journal
,
pop-laboratory
,
retro-pop-grid
portrait
信息图 / infographic
bento-grid
craft-handmade
landscape极简风格:干净画布、充足留白、无复杂背景纹理。仅使用简单卡通元素和图标。

Output Structure

输出结构

infographic/{topic-slug}/
├── source-{slug}.{ext}
├── analysis.md
├── structured-content.md
├── prompts/infographic.md
└── infographic.png
Slug: 2-4 words kebab-case from topic. Conflict: append
-YYYYMMDD-HHMMSS
.
infographic/{topic-slug}/
├── source-{slug}.{ext}
├── analysis.md
├── structured-content.md
├── prompts/infographic.md
└── infographic.png
Slug:从主题中提取2-4个单词,采用短横线分隔格式(kebab-case)。若存在冲突,追加
-YYYYMMDD-HHMMSS

Core Principles

核心原则

  • Preserve source data faithfully — no summarization or rephrasing (but strip any credentials, API keys, tokens, or secrets before including in outputs)
  • Define learning objectives before structuring content
  • Structure for visual communication (headlines, labels, visual elements)
  • 忠实保留源数据——不得总结或改写(但在纳入输出前需移除所有凭证、API密钥、令牌或机密信息
  • 在构建内容结构前明确学习目标
  • 为视觉传达优化结构(标题、标签、视觉元素)

Workflow

工作流程

Step 1: Analyze Content

步骤1:内容分析

Load references: Read
references/analysis-framework.md
from this skill.
  1. Save source content (file path or paste →
    source.md
    using
    write_file
    )
    • Backup rule: If
      source.md
      exists, rename to
      source-backup-YYYYMMDD-HHMMSS.md
  2. Analyze: topic, data type, complexity, tone, audience
  3. Detect source language and user language
  4. Extract design instructions from user input
  5. Save analysis to
    analysis.md
    • Backup rule: If
      analysis.md
      exists, rename to
      analysis-backup-YYYYMMDD-HHMMSS.md
See
references/analysis-framework.md
for detailed format.
参考资料加载:读取本技能中的
references/analysis-framework.md
文件。
  1. 保存源内容(文件路径或粘贴内容 → 使用
    write_file
    保存为
    source.md
    • 备份规则:若
      source.md
      已存在,重命名为
      source-backup-YYYYMMDD-HHMMSS.md
  2. 分析:主题、数据类型、复杂度、语气、受众
  3. 检测源语言与用户语言
  4. 从用户输入中提取设计指令
  5. 将分析结果保存到
    analysis.md
    • 备份规则:若
      analysis.md
      已存在,重命名为
      analysis-backup-YYYYMMDD-HHMMSS.md
详细格式请见
references/analysis-framework.md

Step 2: Generate Structured Content →
structured-content.md

步骤2:生成结构化内容 →
structured-content.md

Transform content into infographic structure:
  1. Title and learning objectives
  2. Sections with: key concept, content (verbatim), visual element, text labels
  3. Data points (all statistics/quotes copied exactly)
  4. Design instructions from user
Rules: Markdown only. No new information. Preserve data faithfully. Strip any credentials or secrets from output.
See
references/structured-content-template.md
for detailed format.
将内容转换为信息图结构:
  1. 标题与学习目标
  2. 章节包含:核心概念、原文内容、视觉元素、文本标签
  3. 数据点(所有统计数据/引用内容完全复制)
  4. 用户提供的设计指令
规则:仅使用Markdown格式。不得添加新信息。忠实保留数据。从输出中移除所有凭证或机密信息。
详细格式请见
references/structured-content-template.md

Step 3: Recommend Combinations

步骤3:推荐组合

3.1 Check Keyword Shortcuts first: If user input matches a keyword from the Keyword Shortcuts table, auto-select the associated layout and prioritize associated styles as top recommendations. Skip content-based layout inference.
3.2 Otherwise, recommend 3-5 layout×style combinations based on:
  • Data structure → matching layout
  • Content tone → matching style
  • Audience expectations
  • User design instructions
3.1 优先检查关键词快捷方式:若用户输入匹配关键词快捷方式表格中的关键词,自动选择对应的布局,并将关联风格作为优先推荐项。跳过基于内容的布局推断。
3.2 若无匹配关键词,基于以下维度推荐3-5种布局×风格组合:
  • 数据结构 → 匹配布局
  • 内容语气 → 匹配风格
  • 受众预期
  • 用户设计指令

Step 4: Confirm Options

步骤4:确认选项

Use the
clarify
tool to confirm options with the user. Since
clarify
handles one question at a time, ask the most important question first:
Q1 — Combination: Present 3+ layout×style combos with rationale. Ask user to pick one.
Q2 — Aspect: Ask for aspect ratio preference (landscape/portrait/square or custom W:H).
Q3 — Language (only if source ≠ user language): Ask which language the text content should use.
使用
clarify
工具与用户确认选项。由于
clarify
一次仅处理一个问题,优先询问最重要的问题:
问题1 — 组合:展示3种及以上布局×风格组合并说明理由,请求用户选择其一。
问题2 — 宽高比:询问用户宽高比偏好(横版/竖版/正方形或自定义宽高比)。
问题3 — 语言(仅当源语言≠用户语言时):询问文本内容应使用哪种语言。

Step 5: Generate Prompt →
prompts/infographic.md

步骤5:生成提示词 →
prompts/infographic.md

Backup rule: If
prompts/infographic.md
exists, rename to
prompts/infographic-backup-YYYYMMDD-HHMMSS.md
Load references: Read the selected layout from
references/layouts/<layout>.md
and style from
references/styles/<style>.md
.
Combine:
  1. Layout definition from
    references/layouts/<layout>.md
  2. Style definition from
    references/styles/<style>.md
  3. Base template from
    references/base-prompt.md
  4. Structured content from Step 2
  5. All text in confirmed language
Aspect ratio resolution for
{{ASPECT_RATIO}}
:
  • Named presets → ratio string: landscape→
    16:9
    , portrait→
    9:16
    , square→
    1:1
  • Custom W:H ratios → use as-is (e.g.,
    3:4
    ,
    4:3
    ,
    2.35:1
    )
Save the assembled prompt to
prompts/infographic.md
using
write_file
.
备份规则:若
prompts/infographic.md
已存在,重命名为
prompts/infographic-backup-YYYYMMDD-HHMMSS.md
参考资料加载:读取选中布局对应的
references/layouts/<layout>.md
文件,以及选中风格对应的
references/styles/<style>.md
文件。
组合以下内容:
  1. 来自
    references/layouts/<layout>.md
    的布局定义
  2. 来自
    references/styles/<style>.md
    的风格定义
  3. 来自
    references/base-prompt.md
    的基础模板
  4. 步骤2生成的结构化内容
  5. 所有文本使用确认后的语言
{{ASPECT_RATIO}}的宽高比解析
  • 预设值 → 比例字符串:landscape→
    16:9
    、portrait→
    9:16
    、square→
    1:1
  • 自定义宽高比 → 直接使用(如
    3:4
    4:3
    2.35:1
使用
write_file
将组合后的提示词保存到
prompts/infographic.md

Step 6: Generate Image

步骤6:生成图片

Use the
image_generate
tool with the assembled prompt from Step 5.
  • Map aspect ratio to image_generate's format:
    16:9
    landscape
    ,
    9:16
    portrait
    ,
    1:1
    square
  • For custom ratios, pick the closest named aspect
  • On failure, auto-retry once
  • Save the resulting image URL/path to the output directory
使用
image_generate
工具,传入步骤5组装的提示词。
  • 将宽高比映射为image_generate支持的格式:
    16:9
    landscape
    9:16
    portrait
    1:1
    square
  • 对于自定义宽高比,选择最接近的预设值
  • 生成失败时自动重试一次
  • 将生成的图片URL/路径保存到输出目录

Step 7: Output Summary

步骤7:输出总结

Report: topic, layout, style, aspect, language, output path, files created.
报告内容:主题、布局、风格、宽高比、语言、输出路径、已创建文件。

References

参考资料

  • references/analysis-framework.md
    — Analysis methodology
  • references/structured-content-template.md
    — Content format
  • references/base-prompt.md
    — Prompt template
  • references/layouts/<layout>.md
    — 21 layout definitions
  • references/styles/<style>.md
    — 21 style definitions
  • references/analysis-framework.md
    — 分析方法论
  • references/structured-content-template.md
    — 内容格式
  • references/base-prompt.md
    — 提示词模板
  • references/layouts/<layout>.md
    — 21种布局定义
  • references/styles/<style>.md
    — 21种风格定义

Pitfalls

注意事项

  1. Data integrity is paramount — never summarize, paraphrase, or alter source statistics. "73% increase" must stay "73% increase", not "significant increase".
  2. Strip secrets — always scan source content for API keys, tokens, or credentials before including in any output file.
  3. One message per section — each infographic section should convey one clear concept. Overloading sections reduces readability.
  4. Style consistency — the style definition from the references file must be applied consistently across the entire infographic. Don't mix styles.
  5. image_generate aspect ratios — the tool only supports
    landscape
    ,
    portrait
    , and
    square
    . Custom ratios like
    3:4
    should map to the nearest option (portrait in that case).
  1. 数据完整性至关重要 — 绝不能总结、改写或修改源统计数据。“增长73%”必须保留为“增长73%”,不能改为“大幅增长”。
  2. 移除机密信息 — 在将源内容纳入任何输出文件前,务必扫描并移除API密钥、令牌或凭证。
  3. 单章节单信息 — 信息图的每个章节应传达一个清晰的概念。章节内容过载会降低可读性。
  4. 风格一致性 — 必须严格遵循参考文件中的风格定义,在整个信息图中保持风格统一,不得混合多种风格。
  5. image_generate宽高比限制 — 该工具仅支持
    landscape
    portrait
    square
    。自定义宽高比如
    3:4
    应映射到最接近的预设值(此例中为portrait)。