All skills
jimliu avatar

/baoyu-infographic

@b0ac523 official
by Jim Liu 宝玉jimliu/baoyu-skills26k stars
2,896

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 "高密度信息大图".

Use this Skill: https://skilld.dev/gh/jimliu/baoyu-skills/baoyu-infographic

This session only. Nothing lands on disk.

referencesconfigfirst-time-setup.md

≈1.2k tokens on demand. Your agent reads this file only when SKILL.md points to it.

First-Time Setup

Overview

When no EXTEND.md is found, guide the user through preference setup before generating any infographic. Saved preferences shift Step-3 recommendations and Step-4 defaults only — they never bypass Step 4 confirmation (see the ## Confirmation Policy section in SKILL.md).

⛔ BLOCKING OPERATION: This setup MUST complete before ANY other workflow steps. Do NOT:

  • Ask about source content or topic
  • Ask about layout, style, or aspect
  • Begin Step 1.2 content analysis

ONLY ask the questions in this setup flow, save EXTEND.md, then continue to Step 1.2.

Setup Flow

No EXTEND.md found
        │
        ▼
┌─────────────────────┐
│ AskUserQuestion     │
│ (all questions)     │
└─────────────────────┘
        │
        ▼
┌─────────────────────┐
│ Create EXTEND.md    │
└─────────────────────┘
        │
        ▼
    Continue to Step 1.2

Questions

Language: Use the user's input language for question text. Do not always default to English.

Use a single AskUserQuestion with multiple questions (the runtime auto-adds an "Other" option):

Question 1: Preferred Layout

header: "Layout"
question: "Default layout preference?"
options:
  - label: "Auto-select (Recommended)"
    description: "Pick layout per content in Step 3"
  - label: "bento-grid"
    description: "Multiple topics, overview (general default)"
  - label: "linear-progression"
    description: "Timelines, processes, tutorials"
  - label: "dense-modules"
    description: "High-density modules, data-rich guides"

Question 2: Preferred Style

header: "Style"
question: "Default visual style preference?"
options:
  - label: "Auto-select (Recommended)"
    description: "Pick style per tone in Step 3"
  - label: "craft-handmade"
    description: "Hand-drawn, paper craft (general default)"
  - label: "corporate-memphis"
    description: "Flat vector, vibrant"
  - label: "morandi-journal"
    description: "Hand-drawn doodle, warm Morandi tones"

Question 3: Preferred Aspect

header: "Aspect"
question: "Default aspect ratio?"
options:
  - label: "Auto-select (Recommended)"
    description: "Pick per layout in Step 4"
  - label: "landscape"
    description: "16:9 (slides, blogs, web)"
  - label: "portrait"
    description: "9:16 (mobile, social, dense modules)"
  - label: "square"
    description: "1:1 (social, thumbnails)"

Question 4: Language

header: "Language"
question: "Output language for infographic text?"
options:
  - label: "Auto-detect (Recommended)"
    description: "Match source content language"
  - label: "zh"
    description: "Chinese (中文)"
  - label: "en"
    description: "English"

Question 5: Save Location

header: "Save"
question: "Where to save preferences?"
options:
  - label: "Project"
    description: ".baoyu-skills/ (this project only)"
  - label: "User"
    description: "~/.baoyu-skills/ (all projects)"

Save Locations

Choice Path Scope
Project .baoyu-skills/baoyu-infographic/EXTEND.md Current project
User ~/.baoyu-skills/baoyu-infographic/EXTEND.md All projects

XDG path (${XDG_CONFIG_HOME:-$HOME/.config}/baoyu-skills/baoyu-infographic/EXTEND.md) is also recognized at read time but not offered as a save target during first-time setup.

After Setup

  1. Create the directory if needed
  2. Write EXTEND.md with frontmatter (see template below)
  3. Confirm: "Preferences saved to [path]"
  4. Continue to Step 1.2

EXTEND.md Template

---
version: 1
preferred_layout: [selected layout or null]
preferred_style: [selected style or null]
preferred_aspect: [landscape|portrait|square|null]
language: [selected language or null]
preferred_image_backend: auto
custom_styles: []
---

preferred_image_backend: auto is the baked-in default — first-time setup never asks about it. The ## Image Generation Tools rule in SKILL.md then picks the runtime-native tool (Codex imagegen, Hermes image_generate, etc.) when one is available, and falls back to installed backends like baoyu-image-gen.

Modifying Preferences Later

See the ## Changing Preferences section in SKILL.md for the canonical list of common edits (pin backend, change layout/style defaults, retrigger setup). Full schema: references/config/preferences-schema.md.

Source: SKILL.md on GitHub

1 warning16d5 checks · Risk MEDIUM
  • Gen Agent Trust Hub16d

    The skill dynamically discovers and executes scripts to handle image generation and processes untrusted user content for prompt generation. It uses the bun runtime and well-known command-line tools to interact with image generation backends.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer6mo

    1/45 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at b0ac523. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 4 months ago
version
1.117.4
Other metadata
metadata
{
  "openclaw": {
    "homepage": "https://github.com/JimLiu/baoyu-skills#baoyu-infographic"
  }
}
  • infographic
  • image-generation
  • layout
  • visual-design
  • data-visualization
  • content-analysis
  • style-guide
  • prompt-engineering

README badge

README badge for jimliu/baoyu-skills/baoyu-infographic

Generates publication-ready infographics by combining one of 21 layout types with one of 22 visual styles, analyzing content to recommend optimal pairings. Targets use cases like timelines, comparisons, hierarchies, and data-rich guides across multiple languages and aspect ratios.

Generated from the current SKILL.md.

How many layout and style combinations are available?
21 layout types and 22 visual styles that can be freely combined. Common pairings are pre-recommended (e.g., linear-progression + craft-handmade for timelines), but any layout works with any style.
Does this skill generate raster images or code?
Raster images only. The skill resolves to an available image backend (Codex imagegen, Cursor GenerateImage, or baoyu-image-gen) and never substitutes SVG, HTML, or canvas rendering.
Can I provide reference images to guide the style?
Yes. You can pass reference images via --ref and specify usage mode (direct, style, or palette) to guide visual aesthetics, color, or composition.
What happens if I don't confirm the layout and style choices?
By default the skill requires confirmation before generation. Only --no-confirm or explicit skip-confirmation wording (like '直接生成') bypasses this step.
What languages does this skill support?
Multiple languages via the --lang option (en, zh, ja, etc.), with zh and en as primary targets based on the keyword detection and recommended combinations listed in the skill.

Generated from the current SKILL.md. These answers refresh after source changes.