- name
Generate professional infographics with 21 layout types and 22 visual styles. Analyzes content, recommends layout×style combinations, and generates publication-ready infographics. Use when user asks t
SKILL.md
The skill file stays in the publisher's repository.
Paste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add JimLiu/baoyu-skills --skill baoyu-infographic -a cursor -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add JimLiu/baoyu-skills --skill baoyu-infographic -a claude-code -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add JimLiu/baoyu-skills --skill baoyu-infographic -a codex -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add JimLiu/baoyu-skills --skill baoyu-infographic -a grok -ySend the copied message in a Grok Bot chat. The Bot fetches this SKILL.md from GitHub and adds it to the skills all your Bots share.
Install this skill: https://github.com/JimLiu/baoyu-skills/tree/HEAD/skills/baoyu-infographicFrom the publisher
Two dimensions: layout (information structure) × style (visual aesthetics); any layout combines with any style.
When this skill prompts the user, follow this tool-selection rule (priority order):
AskUserQuestion, request_user_input, clarify, ask_user, or any equivalent.Concrete AskUserQuestion references below are examples — substitute the local equivalent in other runtimes.
Resolve the image backend in this order:
preferred_image_backend in EXTEND.md names a backend available now → use it. ask means ask every run.auto, unset, or the pinned backend is unavailable), first match wins:
imagegen skill is in your available skills → you are in Codex and MUST use it: Skill with skill: "imagegen", passing the prompt file's content plus output path and aspect ratio. It outranks non-native skills such as baoyu-image-gen.codex exec (codex-imagegen): no native imagegen, but the codex CLI is on PATH with an active codex login → baoyu-image-gen --provider codex-cli (preferred), or the bundled wrapper if baoyu-image-gen is unavailable. Load references/codex-imagegen.md only for this branch.GenerateImage → use it (outranks non-native skills). It has no aspect-ratio parameter, so state the aspect ratio / dimensions in the description prompt; it saves to a tool-managed location, so copy the file to the expected output path (e.g., outputs/.../NN-xxx.png). Reference images go in reference_image_paths.image_generate) → use it the same way.baoyu-image-gen) → use it.⛔ Raster only: never substitute SVG, HTML/CSS, canvas, or other code-based rendering for a raster image, even for diagram-like content. If no raster backend resolves, go to step 4.
⛔ No bitmap text patching: never use ImageMagick, Pillow, Canvas, SVG, HTML/CSS, OCR scripts, or any other overlay to cover, rewrite, erase, stroke, or replace labels, headings, callouts, data values, or any other text inside an already generated infographic. Regenerate from a corrected prompt, switch to a layout with less on-image text, or ask the user which imperfect candidate to keep.
Prompt file (hard): before invoking any backend, write each image's full, final prompt to its own file under prompts/ (NN-{type}-[slug].md) and pass that file (or its content) to the backend. It is the reproducibility record and lets you switch backends without rewriting prompts.
Change the pinned backend via ## Changing Preferences below. Tool names above are examples; use the local equivalent in other runtimes.
Accept via --ref <files...>, file paths, or pasted images (guide style, palette, composition, or subject):
refs/NN-ref-{slug}.{ext} alongside the outputRecord refs in prompts/infographic.md frontmatter:
references:
- ref_id: 01
filename: 01-ref-brand.png
usage: direct
At generation: verify each referenced file exists; if usage: direct AND the backend accepts reference images (e.g., baoyu-image-gen via --ref), pass it via the backend's ref parameter; otherwise embed extracted style/palette traits in the prompt text.
Default: confirm before generation.
EXTEND.md defaults, and the documented default combination are recommendation inputs only — none authorizes skipping confirmation.--no-confirm, "直接生成", "不用确认", "跳过确认", "按默认出图", or equivalent. Then state the assumed combination/aspect/language/backend in the next user-facing update before generating.Definitions: references/layouts/<layout>.md.
Definitions: references/styles/<style>.md.
Default combination: bento-grid + craft-handmade (fallback recommendation only — never bypasses Step 4).
When the user's input contains these keywords, use the mapped layout as the leading Step 3 recommendation, promote the listed styles to the top of the Step 3 list, skip content-based layout inference, and append any Prompt Notes to the Step 5 prompt.
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.
1.1 Load Preferences (EXTEND.md) — first match wins:
Found → read, parse, display a one-line summary. Not found → ask the user with AskUserQuestion per references/config/first-time-setup.md. Supports preferred layout/style, default aspect, language, image backend, custom styles (schema: references/config/preferences-schema.md).
1.2 Analyze Content → analysis.md (format: references/analysis-framework.md)
source.md). Backup rule: if source.md exists, rename to source-backup-YYYYMMDD-HHMMSS.mdanalysis.md exists, rename to analysis-backup-YYYYMMDD-HHMMSS.mdstructured-content.mdFormat: references/structured-content-template.md. Title and learning objectives; sections with key concept, content (verbatim), visual element, text labels; data points (all statistics/quotes copied exactly); user design instructions.
Rules: Markdown only. No new information. Preserve data faithfully. Strip any credentials or secrets from output.
Hard gate per the Confirmation Policy (opt-out: --no-confirm / equivalent in the current request). Ask per User Input Tools:
prompts/infographic.mdBackup rule: if prompts/infographic.md exists, rename to prompts/infographic-backup-YYYYMMDD-HHMMSS.md.
Combine: layout definition (references/layouts/<layout>.md), style definition (references/styles/<style>.md), base template (references/base-prompt.md), structured content from Step 2; all text in the confirmed language.
{{ASPECT_RATIO}}: landscape→16:9, portrait→9:16, square→1:1; custom W:H ratios as-is (e.g., 3:4, 4:3, 2.35:1).
## Image Generation Tools.prompts/infographic.md (Step 5) BEFORE invoking the backend.infographic.png exists, rename to infographic-backup-YYYYMMDD-HHMMSS.png.codex-imagegen, see references/codex-imagegen.md.Text correction: never patch misspelled, garbled, or weak rendered text (labels, headings, callouts, data values) in the bitmap with code. Write a new prompt file and a new output path so the flawed candidate is kept for comparison. Post-processing is limited to crop, resize, compression, or format conversion that doesn't alter text or composition.
Report: topic, layout, style, aspect, language, image backend, output path, files created.
EXTEND.md lives at the first matching path in Step 1.1. Edit it directly (schema: references/config/preferences-schema.md), or delete it / ask "reconfigure baoyu-infographic preferences" / "重新配置" to re-run first-time setup. Common edits:
preferred_image_backend: auto (default; runtime-native wins, else the only installed backend, ask if multiple non-native) | codex-imagegen | baoyu-image-gen | ask (confirm every run)preferred_layout: dense-modules, preferred_style: morandi-journal, preferred_aspect: portrait, language: zh — shift Step-3 recommendations and Step-4 defaults (never bypass Step 4).© 2026 Skills Rack.
---name: baoyu-infographicdescription: Generate professional infographics with 21 layout types and 22 visual styles. Analyzes content, recommends…---# skills/baoyu-infographic/SKILL.mdOverview
Generate professional infographics with 21 layout types and 22 visual styles. Analyzes content, recommends layout×style combinations, and generates publication-ready infographics. Use when user asks to create "infographic", "信息图", "visual summary", "可视化", or "高密度信息大图".
FAQ
Download skills/baoyu-infographic/SKILL.md from the publisher, or copy the path and open the repository. PlugMCP lists the skill and does not host the file.
The publisher keeps it at https://github.com/JimLiu/baoyu-skills.
Claude, Cursor, Codex, and Grok Build can read a SKILL.md you add from the publisher's repository. Grok Bot installs it when you send the skill's GitHub folder link in a chat.