Baoyu Infographic Skill for Hermes Agent: Layouts, Styles, and Workflow
Infographics: 21 layouts x 21 styles (信息图, 可视化).
Written by Neura Market from the official Hermes Agent documentation for Baoyu Infographic. Commands, paths, and version numbers are reproduced from the source unchanged.
Read the official documentationNeura Market Infographic Generator Reference
Overview
The Infographic Generator produces an infographic image from user-provided content by combining a layout (information structure) and a style (visual aesthetics). It supports 21 layouts and 21 styles that can be freely combined. The tool analyzes content, generates structured data, assembles a prompt, and creates an image using the image_generate tool.
When to Use
Use this tool when a user asks to create an infographic, visual summary, or information graphic. Triggering terms include "信息图", "可视化", or "高密度信息大图". The user may provide content as text, a file path, a URL, or a topic, and optionally specify layout, style, aspect ratio, or language.
Prerequisites
Before generating an infographic, ensure access to the following:
references/analysis-framework.mdreferences/structured-content-template.mdreferences/base-prompt.mdreferences/layouts/.mdreferences/styles/.mdwrite_fileandclarifytoolsimage_generatetool with support forlandscape,portrait, andsquareaspect ratios- User-provided content (text, file path, URL, or topic)
Capabilities
- Supports 21 layouts and 21 styles, freely combinable.
- Auto-selects layout and recommends styles based on keyword shortcuts.
- Recommends 3-5 layout×style combinations based on content analysis.
- Generates structured content with verbatim data, visual elements, and labels.
- Assembles a prompt from layout/style definitions, a base template, and structured content.
- Generates an image using the
image_generatetool with aspect ratio mapping. - Outputs a directory with source, analysis, structured content, prompt, and image files.
- Strips credentials, API keys, tokens, or secrets from all outputs.
- Detects source language and user language, asks for language confirmation if different.
- Supports named aspect ratios (
landscape,portrait,square) and custom W:H ratios.
Parameters
Layout
- Meaning: Information structure for the infographic.
- Required: No (default:
bento-grid)
Style
- Meaning: Visual aesthetics for the infographic.
- Required: No (default:
craft-handmade)
Aspect
- Meaning: Aspect ratio of the output image. Named:
landscape(16:9),portrait(9:16),square(1:1). Custom: any W:H ratio (e.g.,3:4,4:3,2.35:1). - Required: No
Language
- Meaning: Language for text content in the infographic (e.g., en, zh, ja).
- Required: No
Layouts and Styles
Layouts (21 total)
The tool supports these layouts: linear-progression, binary-comparison, comparison-matrix, hierarchical-layers, tree-branching, hub-spoke, structural-breakdown, bento-grid, iceberg, bridge, funnel, isometric-map, dashboard, periodic-table, comic-strip, story-mountain, jigsaw, venn-diagram, winding-roadmap, circular-flow, dense-modules.
Layout definitions are loaded from references/layouts/.md.
Styles (21 total)
The tool supports these styles: craft-handmade, claymation, kawaii, storybook-watercolor, chalkboard, cyberpunk-neon, bold-graphic, aged-academia, corporate-memphis, technical-schematic, origami, pixel-art, ui-wireframe, subway-map, ikea-manual, knolling, lego-brick, pop-laboratory, morandi-journal, retro-pop-grid, hand-drawn-edu.
Style definitions are loaded from references/styles/.md.
Example Combinations
- 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
Procedure: Generate Infographic
Step 1: Analyze Content
Load references/analysis-framework.md. Save source content to source.md. If source.md exists, rename it to source-backup-YYYYMMDD-HHMMSS.md before writing. Analyze the topic, data type, complexity, tone, and audience. Detect source language and user language. Extract design instructions. Save the analysis to analysis.md. If analysis.md exists, rename it to analysis-backup-YYYYMMDD-HHMMSS.md before writing.
Step 2: Generate Structured Content
Transform content into infographic structure and save to structured-content.md. Use references/structured-content-template.md as a guide. The structure must include:
- Title and learning objectives
- Sections with key concept, verbatim content, visual element, and text labels
- Data points (all statistics and quotes copied exactly)
- Design instructions
Use Markdown only. Do not add new information. Preserve data faithfully. Strip credentials, API keys, tokens, or secrets from all outputs. For example, if the source data shows a figure like 73%, that value must appear exactly as 73% in the structured content.
Step 3: Recommend Combinations
First, check Keyword Shortcuts. If the 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. If a shortcut has Prompt Notes, append them to the generated prompt in Step 5 as additional style instructions.
If no keyword shortcut matches, recommend 3-5 layout×style combinations based on:
- Data structure → matching layout
- Content tone → matching style
- Audience expectations
- User design instructions
Step 4: Confirm Options
Use the clarify tool to confirm options with the user, one question at a time.
- Q1 — Combination: Present 3+ layout×style combinations with rationale. Ask the user to pick one.
- Q2 — Aspect: Ask for aspect ratio preference (
landscape,portrait,square, or custom W:H). - Q3 — Language (only if source language differs from user language): Ask which language the text content should use.
Step 5: Generate Prompt
Save the assembled prompt to prompts/infographic.md. If prompts/infographic.md exists, rename it to prompts/infographic-backup-YYYYMMDD-HHMMSS.md before writing.
Load the selected layout from references/layouts/.md and style from references/styles/.md. Combine:
- Layout definition
- Style definition
- Base template from
references/base-prompt.md - Structured content from Step 2
- All text in the confirmed language
Resolve {{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 using write_file.
Step 6: Generate Image
Use the image_generate tool with the assembled prompt from Step 5. Map aspect ratio:
16:9→landscape9:16→portrait1:1→square
For custom ratios, pick the closest named aspect. For example, 3:4 maps to portrait. On failure, auto-retry once. Save the resulting image URL or path to the output directory.
Step 7: Output Summary
Report the topic, layout, style, aspect, language, output path, and files created.
Output Directory Structure
The output directory follows this structure:
infographic/{topic-slug}/
├── source-{slug}.{ext}
├── analysis.md
├── structured-content.md
├── prompts/infographic.md
└── infographic.png
The slug consists of 2-4 words in kebab-case derived from the topic. If a conflict occurs, append -YYYYMMDD-HHMMSS to the slug.
Constraints and Caveats
- Preserve source data faithfully — no summarization or rephrasing.
- Strip any credentials, API keys, tokens, or secrets from all outputs.
- Define learning objectives before structuring content.
- Structure for visual communication (headlines, labels, visual elements).
- Each infographic section should convey one clear concept; overloading sections reduces readability.
- Style definition must be applied consistently across the entire infographic; do not mix styles.
- The
image_generatetool only supportslandscape,portrait, andsquareaspect ratios. Custom ratios like3:4must map to the nearest option (portraitin that case). - On image generation failure, auto-retry once.
- Backup rule: if
source.md,analysis.md, orprompts/infographic.mdexists, rename to*-backup-YYYYMMDD-HHMMSS.mdbefore writing a new file. - Keyword shortcuts auto-select layout and skip content-based layout inference. If Prompt Notes exist, append them as additional style instructions in Step 5.
Failure Modes
image_generatetool fails: auto-retry once; if still fails, report the failure.- Source content contains secrets not stripped: violates data integrity principle.
- Data summarized or paraphrased: violates data integrity principle.
- Custom aspect ratio mapped incorrectly: e.g.,
3:4mapped tolandscapeinstead ofportrait. - Backup file naming conflict if timestamps collide (unlikely but possible).