AI/ML

Baoyu Skills

作者 JimLiu25,584

JimLiu/baoyu-skills

agent-skillsclaude-skillscodex-skillsopenclaw-skills
安装命令
npx skills add JimLiu/baoyu-skills
在 GitHub 打开
支持的客户端
Claude CodeCursorVS Code CopilotWindsurf

Skill 详情

baoyu-skills

English | 中文

Skills shared by Baoyu for improving daily work efficiency with AI Agents (Claude Code, Codex, etc.).

Prerequisites

  • Node.js environment installed
  • Ability to run npx bun commands

Installation

Tip: This repository contains 20+ skills. Install only the ones you actually need — bulk-installing every skill adds unnecessary context overhead for your AI agent on every run.

Quick Install (Recommended)

npx skills add jimliu/baoyu-skills

Codex Project-Level Install

If you only need a subset of skills in one project, you do not need to install the full plugin. Codex scans .agents/skills inside a project, so copy or symlink each needed skill as a full directory:

<project>/.agents/skills/baoyu-cover-image/SKILL.md
<project>/.agents/skills/baoyu-article-illustrator/SKILL.md
<project>/.agents/skills/baoyu-post-to-wechat/SKILL.md

For a WeChat Official Account article workflow, the usual minimal set is:

  • baoyu-cover-image
  • baoyu-article-illustrator
  • baoyu-post-to-wechat

You do not need to install baoyu-markdown-to-html separately. baoyu-post-to-wechat already includes the Markdown to WeChat-ready HTML conversion flow. Install baoyu-format-markdown only if you need to first turn raw text or drafts into structured Markdown articles with titles, summaries, headings, bold text, lists, and similar formatting.

Place WeChat API credentials according to the scope you want:

  • User-level: ~/.baoyu-skills/.env
  • Project-level: <project>/.baoyu-skills/.env

Project-level .env files are useful when credentials should apply only to the current project. Do not commit them to Git.

Publish to ClawHub / OpenClaw

This repository now supports publishing each skills/baoyu-* directory as an individual ClawHub skill.

# Preview what would be published
./scripts/sync-clawhub.sh --dry-run

# Publish all changed skills from ./skills
./scripts/sync-clawhub.sh --all

ClawHub installs skills individually, not as one marketplace bundle. After publishing, users can install specific skills such as:

clawhub install baoyu-image-gen
clawhub install baoyu-markdown-to-html

Publishing to ClawHub releases the published skill under MIT-0, per ClawHub's registry rules.

Register as Plugin Marketplace

Run the following command in the Agent:

/plugin marketplace add JimLiu/baoyu-skills

Install Skills

Option 1: Via Browse UI

  1. Select Browse and install plugins
  2. Select baoyu-skills
  3. Select the baoyu-skills plugin
  4. Select Install now

Option 2: Direct Install

# Install the marketplace's single plugin
/plugin install baoyu-skills@baoyu-skills

Option 3: Ask the Agent

Simply tell the Agent:

Please install Skills from github.com/JimLiu/baoyu-skills

Available Plugin

The marketplace now exposes a single plugin so each skill is registered exactly once.

PluginDescriptionIncludes
baoyu-skillsContent generation, AI backends, and utility tools for daily work efficiencyAll skills in this repository, organized below as Content Skills, AI Generation Skills, and Utility Skills

Update Skills

To update skills to the latest version:

  1. Run /plugin in the Agent
  2. Switch to Marketplaces tab (use arrow keys or Tab)
  3. Select baoyu-skills
  4. Choose Update marketplace

You can also Enable auto-update to get the latest versions automatically.

Update Skills

Available Skills

Skills are organized into three categories:

Featured Design Skill: baoyu-design

If you want a design-focused Agent Skill, check out JimLiu/baoyu-design. It is a separate project that runs Claude Design locally in Cursor, Claude Code, Codex, Claude Desktop, or any file-capable coding agent, producing polished UI mockups, interactive prototypes, wireframes, landing pages, dashboards, mobile apps, and slide decks as self-contained HTML.

<a href="https://github.com/JimLiu/baoyu-design"> <img src="https://raw.githubusercontent.com/JimLiu/baoyu-design/main/assets/screenshots/cursor-reader-mac-app.webp" alt="Cursor running baoyu-design" width="720"> </a>
npx skills add JimLiu/baoyu-design

Content Skills

Content generation and publishing skills.

baoyu-xhs-images

Xiaohongshu image card series generator. Breaks down content into 1-10 cartoon-style image cards with Style × Layout system and optional palette override.

# Auto-select style and layout
/baoyu-xhs-images posts/ai-future/article.md

# Specify style
/baoyu-xhs-images posts/ai-future/article.md --style notion

# Specify layout
/baoyu-xhs-images posts/ai-future/article.md --layout dense

# Combine style and layout
/baoyu-xhs-images posts/ai-future/article.md --style notion --layout list

# Override palette
/baoyu-xhs-images posts/ai-future/article.md --style notion --palette macaron

# Direct content input
/baoyu-xhs-images 今日星座运势

# Non-interactive (skip all confirmations, for scheduled tasks)
/baoyu-xhs-images posts/ai-future/article.md --yes
/baoyu-xhs-images posts/ai-future/article.md --yes --preset knowledge-card

Styles (visual aesthetics): cute (default), fresh, warm, bold, minimal, retro, pop, notion, chalkboard, study-notes, screen-print, sketch-notes

Palettes (optional color override): macaron, warm, neon

Style Previews:

cutefreshwarm
cutefreshwarm
boldminimalretro
boldminimalretro
popnotionchalkboard
popnotionchalkboard

Layouts (information density):

LayoutDensityBest for
sparse1-2 ptsCovers, quotes
balanced3-4 ptsRegular content
dense5-8 ptsKnowledge cards, cheat sheets
list4-7 itemsChecklists, rankings
comparison2 sidesBefore/after, pros/cons
flow3-6 stepsProcesses, timelines

Layout Previews:

sparsebalanceddense
sparsebalanceddense
listcomparisonflow
listcomparisonflow

baoyu-infographic

Generate professional infographics with 21 layout types and 21 visual styles. Analyzes content, recommends layout×style combinations, and generates publication-ready infographics.

# Auto-recommend combinations based on content
/baoyu-infographic path/to/content.md

# Specify layout
/baoyu-infographic path/to/content.md --layout pyramid

# Specify style (default: craft-handmade)
/baoyu-infographic path/to/content.md --style technical-schematic

# Specify both
/baoyu-infographic path/to/content.md --layout funnel --style corporate-memphis

# With aspect ratio (named preset or custom W:H)
/baoyu-infographic path/to/content.md --aspect portrait
/baoyu-infographic path/to/content.md --aspect 3:4

Options:

OptionDescription
--layout <name>Information layout (20 options)
--style <name>Visual style (17 options, default: craft-handmade)
--aspect <ratio>Named: landscape (16:9), portrait (9:16), square (1:1). Custom: any W:H ratio (e.g., 3:4, 4:3, 2.35:1)
--lang <code>Output language (en, zh, ja, etc.)

Layouts (information structure):

LayoutBest For
bridgeProblem-solution, gap-crossing
circular-flowCycles, recurring processes
comparison-tableMulti-factor comparisons
do-dontCorrect vs incorrect practices
equationFormula breakdown, input-output
feature-listProduct features, bullet points
fishboneRoot cause analysis
funnelConversion processes, filtering
grid-cardsMultiple topics, overview
icebergSurface vs hidden aspects
journey-pathCustomer journey, milestones
layers-stackTechnology stack, layers
mind-mapBrainstorming, idea mapping
nested-circlesLevels of influence, scope
priority-quadrantsEisenhower matrix, 2x2
pyramidHierarchy, Maslow's needs
scale-balancePros vs cons, weighing
timeline-horizontalHistory, chronological events
tree-hierarchyOrg charts, taxonomy
vennOverlapping concepts

Layout Previews:

bridgecircular-flowcomparison-table
bridgecircular-flowcomparison-table
do-dontequationfeature-list
do-dontequationfeature-list
fishbonefunnelgrid-cards
fishbonefunnelgrid-cards
icebergjourney-pathlayers-stack
icebergjourney-pathlayers-stack
mind-mapnested-circlespriority-quadrants
mind-mapnested-circlespriority-quadrants
pyramidscale-balancetimeline-horizontal
pyramidscale-balancetimeline-horizontal
tree-hierarchyvenn
tree-hierarchyvenn

Styles (visual aesthetics):

StyleDescription
craft-handmade (Default)Hand-drawn illustration, paper craft aesthetic
claymation3D clay figures, playful stop-motion
kawaiiJapanese cute, big eyes, pastel colors
storybook-watercolorSoft painted illustrations, whimsical
chalkboardColorful chalk on black board
cyberpunk-neonNeon glow on dark, futuristic
bold-graphicComic style, halftone dots, high contrast
aged-academiaVintage science, sepia sketches
corporate-memphisFlat vector people, vibrant fills
technical-schematicBlueprint, isometric 3D, engineering
origamiFolded paper forms, geometric
pixel-artRetro 8-bit, nostalgic gaming
ui-wireframeGrayscale boxes, interface mockup
subway-mapTransit diagram, colored lines
ikea-manualMinimal line art, assembly style
knollingOrganized flat-lay, top-down
lego-brickToy brick construction, playful

Style Previews:

craft-handmadeclaymationkawaii
craft-handmadeclaymationkawaii
storybook-watercolorchalkboardcyberpunk-neon
storybook-watercolorchalkboardcyberpunk-neon
bold-graphicaged-academiacorporate-memphis
bold-graphicaged-academiacorporate-memphis
technical-schematicorigamipixel-art
technical-schematicorigamipixel-art
ui-wireframesubway-mapikea-manual
ui-wireframesubway-mapikea-manual
knollinglego-brick
knollinglego-brick

baoyu-diagram

Generate publication-ready SVG diagrams from source material — flowcharts, sequence/protocol diagrams, structural/architecture diagrams, and illustrative intuition diagrams. Analyzes input material to recommend diagram type(s) and splitting strategy, confirms the plan once, then generates all diagrams. Claude writes real SVG code directly following a cohesive design system. Output is self-contained .svg files with embedded styles and auto dark-mode.

# Topic string — skill analyzes and proposes a plan
/baoyu-diagram "how JWT authentication works"
/baoyu-diagram "Kubernetes architecture" --type structural
/baoyu-diagram "OAuth 2.0 flow"          --type sequence

# File path — skill reads, analyzes, and proposes a plan
/baoyu-diagram path/to/article.md

# Language and output path
/baoyu-diagram "微服务架构" --lang zh
/baoyu-diagram "build pipeline" --out docs/build-pipeline.svg

Options:

OptionDescription
--type <name>flowchart, sequence, structural, illustrative, class, auto (default). Skips type recommendation.
--lang <code>Output language (en, zh, ja, ...)
--out <path>Output file path. Generates exactly one diagram focused on the most important aspect.

Diagram types:

TypeReader needVerbs that trigger it
flowchartWalk me through the steps in orderwalk through, steps, process, lifecycle, workflow, state machine
sequenceWho talks to whom, in what orderprotocol, handshake, auth flow, OAuth, TCP, request/response
structuralShow me what's inside what, how it's organisedarchitecture, components, topology, layout, what's inside
illustrativeGive me the intuition — draw the mechanismhow does X work, explain X, intuition for, why does X do Y
classWhat are the types and how are they relatedclass diagram, UML, inheritance, interface, schema

Not an image-generation skill — no LLM image model is called. Claude writes the SVG by hand with hand-computed layout math, so every diagram honors the design system. Embedded <style> block with @media (prefers-color-scheme: dark) means the same file renders correctly in both light and dark mode anywhere it's embedded.

baoyu-cover-image

Generate cover images for articles with 5 dimensions: Type × Palette × Rendering × Text × Mood. Combines 11 color palettes with 7 rendering styles for 77 unique combinations.

# Auto-select all dimensions based on content
/baoyu-cover-image path/to/article.md

# Quick mode: skip confirmation, use auto-selection
/baoyu-cover-image path/to/article.md --quick

# Specify dimensions (5D system)
/baoyu-cover-image path/to/article.md --type conceptual --palette cool --rendering digital
/baoyu-cover-image path/to/article.md --text title-subtitle --mood bold

# Style presets (backward-compatible shorthand)
/baoyu-cover-image path/to/article.md --style blueprint

# Specify aspect ratio (default: 16:9)
/baoyu-cover-image path/to/article.md --aspect 2.35:1

# Visual only (no title text)
/baoyu-cover-image path/to/article.md --no-title

Five Dimensions:

  • Type: hero, conceptual, typography, metaphor, scene, minimal
  • Palette: warm, elegant, cool, dark, earth, vivid, pastel, mono, retro, duotone, macaron
  • Rendering: flat-vector, hand-drawn, painterly, digital, pixel, chalk, screen-print
  • Text: none, title-only (default), title-subtitle, text-rich
  • Mood: subtle, balanced (default), bold

baoyu-slide-deck

Generate professional slide deck images from content. Creates comprehensive outlines with style instructions, then generates individual slide images.

# From markdown file
/baoyu-slide-deck path/to/article.md

# With style and audience
/baoyu-slide-deck path/to/article.md --style corporate
/baoyu-slide-deck path/to/article.md --audience executives

# Target slide count
/baoyu-slide-deck path/to/article.md --slides 15

# Outline only (no image generation)
/baoyu-slide-deck path/to/article.md --outline-only

# With language
/baoyu-slide-deck path/to/article.md --lang zh

Options:

OptionDescription
--style <name>Visual style: preset name or custom
--audience <type>Target: beginners, intermediate, experts, executives, general
--lang <code>Output language (en, zh, ja, etc.)
--slides <number>Target slide count (8-25 recommended, max 30)
--outline-onlyGenerate outline only, skip images
--prompts-onlyGenerate outline + prompts, skip images
--images-onlyGenerate images from existing prompts
--regenerate <N>Regenerate specific slide(s): 3 or 2,5,8

Style System:

Styles are built from 4 dimensions: Texture × Mood × Typography × Density

DimensionOptions
Textureclean, grid, organic, pixel, paper
Moodprofessional, warm, cool, vibrant, dark, neutral
Typographygeometric, humanist, handwritten, editorial, technical
Densityminimal, balanced, dense

Presets (pre-configured dimension combinations):

PresetDimensionsBest For
blueprint (default)grid + cool + technical + balancedArchitecture, system design
chalkboardorganic + warm + handwritten + balancedEducation, tutorials
corporateclean + professional + geometric + balancedInvestor decks, proposals
minimalclean + neutral + geometric + minimalExecutive briefings
sketch-notesorganic + warm + handwritten + balancedEducational, tutorials
watercolororganic + warm + humanist + minimalLifestyle, wellness
dark-atmosphericclean + dark + editorial + balancedEntertainment, gaming
notionclean + neutral + geometric + denseProduct demos, SaaS
bold-editorialclean + vibrant + editorial + balancedProduct launches, keynotes
editorial-infographicclean + cool + editorial + denseTech explainers, research
fantasy-animationorganic + vibrant + handwritten + minimalEducational storytelling
intuition-machineclean + cool + technical + denseTechnical docs, academic
pixel-artpixel + vibrant + technical + balancedGaming, developer talks
scientificclean + cool + technical + denseBiology, chemistry, medical
vector-illustrationclean + vibrant + humanist + balancedCreative, children's content
vintagepaper + warm + editorial + balancedHistorical, heritage

Style Previews:

blueprintchalkboardbold-editorial
blueprintchalkboardbold-editorial
corporatedark-atmosphericeditorial-infographic
corporatedark-atmosphericeditorial-infographic
fantasy-animationintuition-machineminimal
fantasy-animationintuition-machineminimal
notionpixel-artscientific
notionpixel-artscientific
sketch-notesvector-illustrationvintage
sketch-notesvector-illustrationvintage
watercolor
watercolor

After generation, slides are automatically merged into .pptx and .pdf files for easy sharing.

baoyu-comic

Knowledge comic creator with flexible art style × tone combinations. Creates original educational comics with detailed panel layouts and sequential image generation.

# From source material (auto-selects art + tone)
/baoyu-comic posts/turing-story/source.md

# Specify art style and tone
/baoyu-comic posts/turing-story/source.md --art manga --tone warm
/baoyu-comic posts/turing-story/source.md --art ink-brush --tone dramatic

# Use preset (includes special rules)
/baoyu-comic posts/turing-story/source.md --style ohmsha
/baoyu-comic posts/turing-story/source.md --style wuxia

# Specify layout and aspect ratio
/baoyu-comic posts/turing-story/source.md --layout cinematic
/baoyu-comic posts/turing-story/source.md --aspect 16:9

# Specify language
/baoyu-comic posts/turing-story/source.md --lang zh

# Direct content input
/baoyu-comic "The story of Alan Turing and the birth of computer science"

Options:

OptionValues
--artligne-claire (default), manga, realistic, ink-brush, chalk
--toneneutral (default), warm, dramatic, romantic, energetic, vintage, action
--styleohmsha, wuxia, shoujo (presets with special rules)
--layoutstandard (default), cinematic, dense, splash, mixed, webtoon
--aspect3:4 (default, portrait), 4:3 (landscape), 16:9 (widescreen)
--langauto (default), zh, en, ja, etc.

Art Styles (rendering technique):

Art StyleDescription
ligne-claireUniform lines, flat colors, European comic tradition (Tintin, Logicomix)
mangaLarge eyes, manga conventions, expressive emotions
realisticDigital painting, realistic proportions, sophisticated
ink-brushChinese brush strokes, ink wash effects
chalkChalkboard aesthetic, hand-drawn warmth

Tones (mood/atmosphere):

ToneDescription
neutralBalanced, rational, educational
warmNostalgic, personal, comforting
dramaticHigh contrast, intense, powerful
romanticSoft, beautiful, decorative elements
energeticBright, dynamic, exciting
vintageHistorical, aged, period authenticity
actionSpeed lines, impact effects,