This source did not publish a separate summary. Review SKILL.md before using the skill.
SKILL.md
Article to Infographic
Transform any article or text content into a visually compelling, self-contained HTML infographic. Output is a single HTML file with inline CSS/JS -- zero dependencies, opens in any browser, print-ready for PDF export.
Core Philosophy
Content-First -- Analyze the article before choosing layout.
Smart Layout -- Match infographic type to content type automatically.
Distinctive Design -- No generic AI aesthetics. Every infographic feels custom-crafted.
Zero Dependencies -- Single HTML file with inline CSS/JS.
Print-Ready -- Include print media queries for clean PDF export.
Workflow Overview
Strict 3-Step Confirmation Process:
Step 1: Outline Confirmation (BLOCKING)
↓ User must confirm
Step 2a: Layout Selection (BLOCKING)
↓ User must confirm
Step 2b: Style Selection (BLOCKING)
↓ User must confirm
Step 2c: Illustrations (BLOCKING)
↓ User must confirm
Step 3: Output Format (BLOCKING)
↓ User must confirm
Generation Phase (automatic)
CRITICAL RULE: Each step requires explicit user confirmation before proceeding. Do NOT batch confirmations. Do NOT proceed to next step until current step is confirmed.
Detailed Workflow
Acquire and analyze article content
Extract key information and classify content type
Step 1: Present outline → Get explicit confirmation
Step 2a: Present layout options → Get explicit confirmation
Step 2b: Present style options → Get explicit confirmation
Step 2c: Present illustration options → Get explicit confirmation
Step 3: Present output format options → Get explicit confirmation
Generate the HTML infographic (only after all confirmations)
Export to PNG if selected in Step 3
Deliver the final output
Confirmation Flow Summary (For AI Reference)
When executing this skill, follow this EXACT sequence:
Phase
Step
Action
User Confirmation Required
1
Content Acquisition
Get article URL/file/text
❌ No
2
Content Analysis
Extract info, classify type
❌ No
2.5
Step 1
Present outline table
✅ MUST CONFIRM
3a
Step 2a
Present layout options
✅ MUST CONFIRM
3b
Step 2b
Present style options
✅ MUST CONFIRM
3c
Step 2c
Present illustration options
✅ MUST CONFIRM
4
Step 3
Present output format options
✅ MUST CONFIRM
5
Generation
Create HTML
❌ Automatic
6
Delivery
Present results
❌ Automatic
7
PNG Export
If selected in Step 3
❌ Automatic
FORBIDDEN ACTIONS:
❌ Never combine Step 1 + Step 2 confirmations
❌ Never combine Step 2a + 2b + 2c into one question
❌ Never combine Step 2 + Step 3 confirmations
❌ Never proceed to generation without all 3 steps confirmed
Phase 1: Content Acquisition
Determine the content source:
URL -- Use WebFetch to retrieve article content
File -- Read the file directly
Pasted text -- Use as-is
If content is ambiguous or too short, ask for clarification.
Phase 2: Content Analysis
Extract from the article:
Title and subtitle -- Main topic and secondary context
Key statistics -- Numbers, percentages, data points
Key points -- 4-8 most important takeaways
Quotes -- Notable statements
Comparisons -- Before/after, pros/cons, A vs B
Sequential steps -- Process flows, timelines, chronological events
Question: "Please review the outline above with [N] blocks. Confirm to proceed or request changes:"
Options:
"✅ Outline confirmed - proceed to style selection" -- ONLY THEN go to Phase 3
"📝 Need adjustments" -- User specifies changes (add/remove/modify blocks), then RE-CONFIRM
"🔄 Simplify to core blocks" -- Auto-trim to core blocks only, then RE-CONFIRM
Hard rule: If user chooses adjustments, update the outline and return to this same confirmation step. Do NOT proceed to Phase 3 until "✅ Outline confirmed" is selected.
Phase 3: Step 2 - Style Selection (BLOCKING)
⚠️ CRITICAL: Must get explicit user confirmation for BOTH layout AND style before proceeding to Phase 4.
This phase requires TWO separate confirmations:
Step 2a: Layout Selection (BLOCKING)
Using AskUserQuestion:
Header: "Step 2a/3: Layout Selection"
Question: "Based on your article, I recommend a [detected type] layout. Confirm your choice:"
Options:
"✅ [detected type] - recommended"
"📊 Statistics Dashboard"
"📅 Timeline"
"⚖️ Comparison"
"🔄 Process Flow"
"📝 Listicle / Card Grid"
"📖 Magazine / Editorial"
STOP HERE. Wait for user selection. Do NOT show style options yet.
Step 2b: Style Selection (BLOCKING)
ONLY after layout is confirmed, present style options:
Using AskUserQuestion:
Header: "Step 2b/3: Visual Style Selection"
Question: "What visual style for the [confirmed layout] infographic?"
Distinctive Google Fonts or Fontshare fonts -- NEVER Inter, Roboto, Arial, or system fonts
Display font for headings, clean font for body
Responsive sizing with clamp()
Color:
CSS custom properties for entire palette
Max 3-4 colors: one dominant, one accent, one-two neutrals
WCAG AA contrast for readability
Layout:
CSS Grid for overall structure, Flexbox for components
Max-width 1200px, centered
Compact spacing: Use 2-3rem between sections, NOT 5rem+. Infographics should feel dense and information-rich, not stretched out. Header padding: 2-2.5rem. Section padding: 2-3rem. Grid gaps: 2-2.5rem.
Responsive: stack on mobile, multi-column on desktop
Data Visualization:
Pure CSS for simple charts (bar via width%, pie via conic-gradient)
Inline SVG for complex shapes
Animate numbers with counter effect (Intersection Observer)
When deploying to environments without interactive question-answer support (e.g., OpenClaw, API-only setups), the skill operates in parameterized mode where ALL options must be specified upfront.
⚠️ CRITICAL: In parameterized mode, you MUST provide ALL confirmations in a single prompt because the system cannot ask follow-up questions.
Parameterized Invocation (Single Prompt)
Users must specify ALL 3 confirmation steps in one prompt:
Generate an infographic from [article source].
STEP 1 - OUTLINE:
[Provide your preferred outline structure, or "use auto-generated outline"]
STEP 2 - STYLE:
Layout: [timeline|statistics|comparison|process|listicle|magazine]
Style: [bold-vibrant|clean-minimal|dark-techy|warm-editorial|scifi-hud|premium-magazine|glassmorphism]
Illustrations: [none|icons|characters]
STEP 3 - OUTPUT:
Format: [html|png|both]
Example complete prompt:
Generate an infographic from https://example.com/article.
STEP 1: Use auto-generated outline
STEP 2:
Layout: timeline
Style: dark-techy
Illustrations: icons
STEP 3:
Format: both