Agent skill · Baoyu Skills
/baoyu-slide-deck Turn an article into a styled slide deck with PPTX and PDF
This skill builds image-based slide decks meant to be read and shared rather than presented live. It analyses your content, asks you to confirm style, audience and slide count, writes an outline and one prompt file per slide, renders the slides through whichever image backend is available, and merges them into PowerPoint and PDF files.
Works with
- Any agent
- Claude Code
- ClawHub / OpenClaw
When to use it
- You want a shareable deck summarising a long article or report.
- You need slides in a consistent visual style, such as blueprint, chalkboard or corporate.
- You want to fix one slide later without regenerating the whole deck.
How it works
- 1Analyse the content
The agent classifies the source, detects its language, suggests a preset from keyword signals and estimates a slide count from its length.
- 2Confirm settings
It asks in one batch about style, audience, slide count and whether to review the outline and prompts, and waits for your answer.
- 3Write outline and prompts
It saves outline.md, then a prompt file per slide that combines the base prompt, style instructions and layout guidance.
- 4Render in batches
After every prompt file exists, it generates slide images through the chosen backend, a few at a time, retrying failures once.
- 5Merge the deck
It runs the bundled scripts to merge the slide images into PPTX and PDF and prints a summary.
What it steers the agent away from
- Starting image generation before you have confirmed the plan.
- Patching misspelled text in a rendered slide with an image editor instead of regenerating it.
- Swapping in HTML or SVG when no raster image backend is available.
Install this skill
It installs with the Baoyu Skills pack.
Any agent (npx skills)The README's recommended quick route; pick only the skills you need to keep agent context small.
npx skills add jimliu/baoyu-skillsClaude CodeInstalls the single plugin that bundles every skill; update it from the Marketplaces tab in /plugin.
/plugin marketplace add JimLiu/baoyu-skills
/plugin install baoyu-skills@baoyu-skillsClawHub / OpenClawClawHub installs skills one at a time, so swap in the names you want; copies published there are MIT-0.
clawhub install baoyu-image-gen
clawhub install baoyu-markdown-to-htmlCommands come from the author’s README; check it for changes before you run them.
Questions
Which image generator does it use?
It uses a backend you name, then one set in EXTEND.md, then a runtime tool such as Codex imagegen or Cursor GenerateImage, then an installed skill like baoyu-image-gen.
Can I stop before images are made?
Yes. --outline-only stops after the outline and --prompts-only stops after the prompt files.
More guides from Baoyu Skills
/baoyu-article-illustratorAdd planned illustrations to a long articleFinds the spots in an article that need a visual, plans each illustration by type, style and palette, then inserts the images.Read the guide →/baoyu-diagramDraw clean SVG diagrams that work in dark and light themesHand-writes themeable SVG diagrams (architecture, flowchart, sequence, class and more) and exports dark and light PNGs.Read the guide →/baoyu-image-genOne image generation backend across many AI providersGenerates images through OpenAI, Azure, Google, OpenRouter, DashScope, Replicate and other providers, singly or in batches.Read the guide →/baoyu-translateTranslate long articles so they read like native writingTranslates articles in quick, normal or refined modes, using glossaries, audience and style presets, and parallel chunking for long texts.Read the guide →
Also in this pack
/baoyu-comicTurns a story or topic into an educational comic with a character sheet, panel layouts, art style and tone presets.↗/baoyu-compress-imageShrinks images to WebP or PNG, picking sips, cwebp, ImageMagick or Sharp, for single files or whole folders.↗/baoyu-cover-imageDesigns an article cover from five choices (type, palette, rendering, text level and mood) in 16:9, 2.35:1 or square format.↗/baoyu-electron-extractUnpacks an installed Electron app's app.asar, rebuilding original sources from source maps or formatting minified code.↗/baoyu-format-markdownAdds frontmatter, a title, a summary, headings, lists and emphasis to a draft without changing its wording, then fixes CJK spacing.↗/baoyu-infographicRecommends a layout and visual style for your content from 21 layouts and 22 styles, then renders one dense infographic image.↗/baoyu-markdown-to-htmlConverts Markdown into inline-styled HTML themed for WeChat, with code highlighting, math, Mermaid images and link citations.↗/baoyu-post-to-wechatPublishes articles or multi-image posts to a WeChat Official Account through the API, a remote API tunnel or Chrome.↗/baoyu-post-to-weiboFills Weibo posts with text, images or video, or a headline article from Markdown, in Chrome for you to review and publish.↗/baoyu-post-to-xPrepares X posts, videos, quote posts and long-form X Articles in your Chrome session, and never publishes without your go-ahead.↗/baoyu-url-to-markdownSaves a web page as Markdown through Chrome, with dedicated handling for X, YouTube and Hacker News and a wait mode for logins.↗/baoyu-xhs-imagesSplits content into a series of up to ten cartoon-style image cards for Xiaohongshu and similar feeds, keyed to the first card.↗
Summary by trendhub. The skill itself lives in JimLiu/baoyu-skills/skills/baoyu-slide-deck by Jim Liu 宝玉 (MIT); read the full, current text there.