baoyu-infographic
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseInfographic 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
选项
| Option | Values |
|---|---|
| Layout | 21 options (see Layout Gallery), default: bento-grid |
| Style | 21 options (see Style Gallery), default: craft-handmade |
| Aspect | Named: landscape (16:9), portrait (9:16), square (1:1). Custom: any W:H ratio (e.g., 3:4, 4:3, 2.35:1) |
| Language | en, 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
布局库
| Layout | Best For |
|---|---|
| Timelines, processes, tutorials |
| A vs B, before-after, pros-cons |
| Multi-factor comparisons |
| Pyramids, priority levels |
| Categories, taxonomies |
| Central concept with related items |
| Exploded views, cross-sections |
| Multiple topics, overview (default) |
| Surface vs hidden aspects |
| Problem-solution |
| Conversion, filtering |
| Spatial relationships |
| Metrics, KPIs |
| Categorized collections |
| Narratives, sequences |
| Plot structure, tension arcs |
| Interconnected parts |
| Overlapping concepts |
| Journey, milestones |
| Cycles, recurring processes |
| High-density modules, data-rich guides |
Full definitions:
references/layouts/<layout>.md| Layout(布局) | 适用场景 |
|---|---|
| 时间线、流程、教程 |
| A/B对比、前后对比、优缺点对比 |
| 多因素对比 |
| 金字塔结构、优先级层级 |
| 分类、分类体系 |
| 核心概念及关联内容 |
| 分解视图、横截面 |
| 多主题内容、概览(默认) |
| 表面内容与隐藏内容对比 |
| 问题-解决方案 |
| 转化流程、过滤流程 |
| 空间关系展示 |
| 指标、KPI展示 |
| 分类集合展示 |
| 叙事内容、序列内容 |
| 情节结构、张力曲线 |
| 相互关联的内容模块 |
| 重叠概念展示 |
| 发展历程、里程碑 |
| 循环流程、重复过程 |
| 高密度模块、数据丰富的指南 |
完整定义:
references/layouts/<layout>.mdStyle Gallery
风格库
| Style | Description |
|---|---|
| Hand-drawn, paper craft (default) |
| 3D clay figures, stop-motion |
| Japanese cute, pastels |
| Soft painted, whimsical |
| Chalk on black board |
| Neon glow, futuristic |
| Comic style, halftone |
| Vintage science, sepia |
| Flat vector, vibrant |
| Blueprint, engineering |
| Folded paper, geometric |
| Retro 8-bit |
| Grayscale interface mockup |
| Transit diagram |
| Minimal line art |
| Organized flat-lay |
| Toy brick construction |
| Blueprint grid, coordinate markers, lab precision |
| Hand-drawn doodle, warm Morandi tones |
| 1970s retro pop art, Swiss grid, thick outlines |
| Macaron pastels, hand-drawn wobble, stick figures |
Full definitions:
references/styles/<style>.md| Style(风格) | 描述 |
|---|---|
| 手绘、纸艺风格(默认) |
| 3D黏土风格、定格动画效果 |
| 日式可爱风格、马卡龙色调 |
| 柔和水彩风格、奇幻风 |
| 黑板粉笔风格 |
| 霓虹发光效果、未来主义风格 |
| 漫画风格、半色调效果 |
| 复古学术风格、深褐色调 |
| 扁平化矢量风格、鲜艳色彩 |
| 蓝图风格、工程制图效果 |
| 折纸风格、几何造型 |
| 复古8位像素风格 |
| 灰度界面线框原型风格 |
| 地铁线路图风格 |
| 极简线条风格 |
| 规整平铺风格 |
| 乐高积木搭建风格 |
| 蓝图网格、坐标标记、实验室精准风格 |
| 手绘涂鸦、莫兰迪暖色调 |
| 70年代复古波普艺术、瑞士网格、粗线条 |
| 马卡龙 pastel 色调、手绘抖动效果、简笔画人物 |
完整定义:
references/styles/<style>.mdRecommended Combinations
推荐组合
| Content Type | Layout + Style |
|---|---|
| Timeline/History | |
| Step-by-step | |
| A vs B | |
| Hierarchy | |
| Overlap | |
| Conversion | |
| Cycles | |
| Technical | |
| Metrics | |
| Educational | |
| Journey | |
| Categories | |
| Product Guide | |
| Technical Guide | |
| Trendy Guide | |
| Educational Diagram | |
| Process Tutorial | |
Default: +
bento-gridcraft-handmade| 内容类型 | 布局+风格 |
|---|---|
| 时间线/历史内容 | |
| 分步指南 | |
| A/B对比 | |
| 层级结构 | |
| 重叠概念 | |
| 转化流程 | |
| 循环流程 | |
| 技术内容 | |
| 指标数据 | |
| 教育内容 | |
| 发展历程 | |
| 分类内容 | |
| 产品指南 | |
| 技术指南 | |
| 潮流指南 | |
| 教育图表 | |
| 流程教程 | |
默认组合: +
bento-gridcraft-handmadeKeyword 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 Keyword | Layout | Recommended Styles | Default Aspect | Prompt Notes |
|---|---|---|---|---|
| 高密度信息大图 / high-density-info | | | portrait | — |
| 信息图 / infographic | | | landscape | Minimalist: clean canvas, ample whitespace, no complex background textures. Simple cartoon elements and icons only. |
当用户输入包含以下关键词时,自动选择对应的布局,并在步骤3中优先推荐关联风格。匹配到关键词后,跳过基于内容的布局推断。
若快捷方式带有提示说明,需将其追加到生成的提示词(步骤5)中作为额外风格指令。
| 用户关键词 | 布局 | 推荐风格 | 默认宽高比 | 提示说明 |
|---|---|---|---|---|
| 高密度信息大图 / high-density-info | | | portrait | — |
| 信息图 / infographic | | | landscape | 极简风格:干净画布、充足留白、无复杂背景纹理。仅使用简单卡通元素和图标。 |
Output Structure
输出结构
infographic/{topic-slug}/
├── source-{slug}.{ext}
├── analysis.md
├── structured-content.md
├── prompts/infographic.md
└── infographic.pngSlug: 2-4 words kebab-case from topic. Conflict: append .
-YYYYMMDD-HHMMSSinfographic/{topic-slug}/
├── source-{slug}.{ext}
├── analysis.md
├── structured-content.md
├── prompts/infographic.md
└── infographic.pngSlug:从主题中提取2-4个单词,采用短横线分隔格式(kebab-case)。若存在冲突,追加。
-YYYYMMDD-HHMMSSCore 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 from this skill.
references/analysis-framework.md- Save source content (file path or paste → using
source.md)write_file- Backup rule: If exists, rename to
source.mdsource-backup-YYYYMMDD-HHMMSS.md
- Backup rule: If
- Analyze: topic, data type, complexity, tone, audience
- Detect source language and user language
- Extract design instructions from user input
- Save analysis to
analysis.md- Backup rule: If exists, rename to
analysis.mdanalysis-backup-YYYYMMDD-HHMMSS.md
- Backup rule: If
See for detailed format.
references/analysis-framework.md参考资料加载:读取本技能中的文件。
references/analysis-framework.md- 保存源内容(文件路径或粘贴内容 → 使用保存为
write_file)source.md- 备份规则:若已存在,重命名为
source.mdsource-backup-YYYYMMDD-HHMMSS.md
- 备份规则:若
- 分析:主题、数据类型、复杂度、语气、受众
- 检测源语言与用户语言
- 从用户输入中提取设计指令
- 将分析结果保存到
analysis.md- 备份规则:若已存在,重命名为
analysis.mdanalysis-backup-YYYYMMDD-HHMMSS.md
- 备份规则:若
详细格式请见。
references/analysis-framework.mdStep 2: Generate Structured Content → structured-content.md
structured-content.md步骤2:生成结构化内容 → structured-content.md
structured-content.mdTransform content into infographic structure:
- Title and learning objectives
- Sections with: key concept, content (verbatim), visual element, text labels
- Data points (all statistics/quotes copied exactly)
- Design instructions from user
Rules: Markdown only. No new information. Preserve data faithfully. Strip any credentials or secrets from output.
See for detailed format.
references/structured-content-template.md将内容转换为信息图结构:
- 标题与学习目标
- 章节包含:核心概念、原文内容、视觉元素、文本标签
- 数据点(所有统计数据/引用内容完全复制)
- 用户提供的设计指令
规则:仅使用Markdown格式。不得添加新信息。忠实保留数据。从输出中移除所有凭证或机密信息。
详细格式请见。
references/structured-content-template.mdStep 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 tool to confirm options with the user. Since handles one question at a time, ask the most important question first:
clarifyclarifyQ1 — 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.
使用工具与用户确认选项。由于一次仅处理一个问题,优先询问最重要的问题:
clarifyclarify问题1 — 组合:展示3种及以上布局×风格组合并说明理由,请求用户选择其一。
问题2 — 宽高比:询问用户宽高比偏好(横版/竖版/正方形或自定义宽高比)。
问题3 — 语言(仅当源语言≠用户语言时):询问文本内容应使用哪种语言。
Step 5: Generate Prompt → prompts/infographic.md
prompts/infographic.md步骤5:生成提示词 → prompts/infographic.md
prompts/infographic.mdBackup rule: If exists, rename to
prompts/infographic.mdprompts/infographic-backup-YYYYMMDD-HHMMSS.mdLoad references: Read the selected layout from and style from .
references/layouts/<layout>.mdreferences/styles/<style>.mdCombine:
- Layout definition from
references/layouts/<layout>.md - Style definition from
references/styles/<style>.md - Base template from
references/base-prompt.md - Structured content from Step 2
- All text in confirmed language
Aspect ratio resolution for :
{{ASPECT_RATIO}}- Named presets → ratio string: landscape→, portrait→
16:9, square→9:161:1 - Custom W:H ratios → use as-is (e.g., ,
3:4,4:3)2.35:1
Save the assembled prompt to using .
prompts/infographic.mdwrite_file备份规则:若已存在,重命名为
prompts/infographic.mdprompts/infographic-backup-YYYYMMDD-HHMMSS.md参考资料加载:读取选中布局对应的文件,以及选中风格对应的文件。
references/layouts/<layout>.mdreferences/styles/<style>.md组合以下内容:
- 来自的布局定义
references/layouts/<layout>.md - 来自的风格定义
references/styles/<style>.md - 来自的基础模板
references/base-prompt.md - 步骤2生成的结构化内容
- 所有文本使用确认后的语言
{{ASPECT_RATIO}}的宽高比解析:
- 预设值 → 比例字符串:landscape→、portrait→
16:9、square→9:161:1 - 自定义宽高比 → 直接使用(如、
3:4、4:3)2.35:1
使用将组合后的提示词保存到。
write_fileprompts/infographic.mdStep 6: Generate Image
步骤6:生成图片
Use the tool with the assembled prompt from Step 5.
image_generate- Map aspect ratio to image_generate's format: →
16:9,landscape→9:16,portrait→1:1square - For custom ratios, pick the closest named aspect
- On failure, auto-retry once
- Save the resulting image URL/path to the output directory
使用工具,传入步骤5组装的提示词。
image_generate- 将宽高比映射为image_generate支持的格式:→
16:9、landscape→9:16、portrait→1:1square - 对于自定义宽高比,选择最接近的预设值
- 生成失败时自动重试一次
- 将生成的图片URL/路径保存到输出目录
Step 7: Output Summary
步骤7:输出总结
Report: topic, layout, style, aspect, language, output path, files created.
报告内容:主题、布局、风格、宽高比、语言、输出路径、已创建文件。
References
参考资料
- — Analysis methodology
references/analysis-framework.md - — Content format
references/structured-content-template.md - — Prompt template
references/base-prompt.md - — 21 layout definitions
references/layouts/<layout>.md - — 21 style definitions
references/styles/<style>.md
- — 分析方法论
references/analysis-framework.md - — 内容格式
references/structured-content-template.md - — 提示词模板
references/base-prompt.md - — 21种布局定义
references/layouts/<layout>.md - — 21种风格定义
references/styles/<style>.md
Pitfalls
注意事项
- Data integrity is paramount — never summarize, paraphrase, or alter source statistics. "73% increase" must stay "73% increase", not "significant increase".
- Strip secrets — always scan source content for API keys, tokens, or credentials before including in any output file.
- One message per section — each infographic section should convey one clear concept. Overloading sections reduces readability.
- Style consistency — the style definition from the references file must be applied consistently across the entire infographic. Don't mix styles.
- image_generate aspect ratios — the tool only supports ,
landscape, andportrait. Custom ratios likesquareshould map to the nearest option (portrait in that case).3:4
- 数据完整性至关重要 — 绝不能总结、改写或修改源统计数据。“增长73%”必须保留为“增长73%”,不能改为“大幅增长”。
- 移除机密信息 — 在将源内容纳入任何输出文件前,务必扫描并移除API密钥、令牌或凭证。
- 单章节单信息 — 信息图的每个章节应传达一个清晰的概念。章节内容过载会降低可读性。
- 风格一致性 — 必须严格遵循参考文件中的风格定义,在整个信息图中保持风格统一,不得混合多种风格。
- image_generate宽高比限制 — 该工具仅支持、
landscape和portrait。自定义宽高比如square应映射到最接近的预设值(此例中为portrait)。3:4