# Baoyu Skills

Source: https://trendhub.net/skills/jimliu-baoyu-skills
Repository: https://github.com/JimLiu/baoyu-skills
Author: Jim Liu 宝玉 (https://github.com/JimLiu)
License: MIT
GitHub stars: 28,212

Baoyu Skills is Jim Liu's collection of content-production skills for Claude Code, Codex and similar agents. It covers writing-side chores such as translation, Markdown cleanup and web capture, image work such as covers, infographics, comics and slide decks, and publishing to WeChat, Weibo and X. It suits writers and creators, especially those publishing on Chinese platforms.

## What problems it solves

- **Every article needs custom images**: Cover, illustration, infographic and card skills read the text, propose a style combination, save each prompt to a file and then render the images.
- **Machine translation reads like translation**: The translator analyses the piece first, keeps a shared glossary and, in refined mode, adds a critique, revision and polish pass.
- **Publishing means lots of copy and paste**: Posting skills fill drafts on WeChat Official Accounts, Weibo and X through the API or a real Chrome session, leaving the final publish to you.
- **One image provider is never enough**: A shared image backend speaks to OpenAI, Azure, Google, OpenRouter, DashScope, Replicate and several other providers through one set of options.

## Install

### 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-skills
```

### Claude Code

Installs 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-skills
```

### ClawHub / OpenClaw

ClawHub 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-html
```

You need Node.js and the ability to run npx bun; image skills also need a provider key (OpenAI, Google, OpenRouter, DashScope and others) in ~/.baoyu-skills/.env or a project-level .baoyu-skills/.env kept out of Git. The README suggests installing only the skills you need, notes that Codex can load individual skill folders copied into a project's .agents/skills directory, and also lets you simply ask the agent to install from the GitHub repo.

## Skills

Skill names are shown as /name. Depending on the agent, a skill runs when it is relevant or when you call it by name; plugin installs may add a prefix.

- `/baoyu-article-illustrator`: Finds the spots in an article that need a visual, plans each illustration by type, style and palette, then inserts the images. (https://trendhub.net/skills/jimliu-baoyu-skills/baoyu-article-illustrator.markdown)
- `/baoyu-comic`: Turns a story or topic into an educational comic with a character sheet, panel layouts, art style and tone presets. (https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-comic)
- `/baoyu-compress-image`: Shrinks images to WebP or PNG, picking sips, cwebp, ImageMagick or Sharp, for single files or whole folders. (https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-compress-image)
- `/baoyu-cover-image`: Designs an article cover from five choices (type, palette, rendering, text level and mood) in 16:9, 2.35:1 or square format. (https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-cover-image)
- `/baoyu-diagram`: Hand-writes themeable SVG diagrams (architecture, flowchart, sequence, class and more) and exports dark and light PNGs. (https://trendhub.net/skills/jimliu-baoyu-skills/baoyu-diagram.markdown)
- `/baoyu-electron-extract`: Unpacks an installed Electron app's app.asar, rebuilding original sources from source maps or formatting minified code. (https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-electron-extract)
- `/baoyu-format-markdown`: Adds frontmatter, a title, a summary, headings, lists and emphasis to a draft without changing its wording, then fixes CJK spacing. (https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-format-markdown)
- `/baoyu-image-gen`: Generates images through OpenAI, Azure, Google, OpenRouter, DashScope, Replicate and other providers, singly or in batches. (https://trendhub.net/skills/jimliu-baoyu-skills/baoyu-image-gen.markdown)
- `/baoyu-infographic`: Recommends a layout and visual style for your content from 21 layouts and 22 styles, then renders one dense infographic image. (https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-infographic)
- `/baoyu-markdown-to-html`: Converts Markdown into inline-styled HTML themed for WeChat, with code highlighting, math, Mermaid images and link citations. (https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-markdown-to-html)
- `/baoyu-post-to-wechat`: Publishes articles or multi-image posts to a WeChat Official Account through the API, a remote API tunnel or Chrome. (https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-post-to-wechat)
- `/baoyu-post-to-weibo`: Fills Weibo posts with text, images or video, or a headline article from Markdown, in Chrome for you to review and publish. (https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-post-to-weibo)
- `/baoyu-post-to-x`: Prepares X posts, videos, quote posts and long-form X Articles in your Chrome session, and never publishes without your go-ahead. (https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-post-to-x)
- `/baoyu-slide-deck`: Outlines a deck from your content, writes one prompt per slide, renders slide images and merges them into PPTX and PDF. (https://trendhub.net/skills/jimliu-baoyu-skills/baoyu-slide-deck.markdown)
- `/baoyu-translate`: Translates articles in quick, normal or refined modes, using glossaries, audience and style presets, and parallel chunking for long texts. (https://trendhub.net/skills/jimliu-baoyu-skills/baoyu-translate.markdown)
- `/baoyu-url-to-markdown`: Saves a web page as Markdown through Chrome, with dedicated handling for X, YouTube and Hacker News and a wait mode for logins. (https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-url-to-markdown)
- `/baoyu-xhs-images`: Splits content into a series of up to ten cartoon-style image cards for Xiaohongshu and similar feeds, keyed to the first card. (https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-xhs-images)
- `/baoyu-youtube-transcript`: Downloads YouTube transcripts and cover images by URL, with language priority, chapters, speaker hints and SRT output. (https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-youtube-transcript)

## Questions

### Is Baoyu Skills free?

The repository is MIT-licensed. Image generation calls go to the provider you configure and may be billed to that account.

### Which agents does it work with?

The README names Claude Code and Codex and gives an npx skills route, a Claude Code plugin marketplace and individual ClawHub installs for OpenClaw.

### Are the skills only for Chinese content?

No. Translation, diagrams, slides and image skills take a language option, but several publishing and card skills target Chinese platforms such as WeChat, Weibo and Xiaohongshu.

### Can I change the default styles?

Yes. Each skill reads an EXTEND.md file from the project or your home directory, where you can set preferences or add custom palettes and presets.

## Before you install

Most skills run bundled TypeScript scripts through bun, write files into your project and call paid image APIs with keys from .env files. The publishing and capture skills drive a real Chrome session with your logins. The repo also contains skills built on unofficial web APIs, which are not listed here.
