Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By iamzifeiIn 1 marketplace
Turns markdown, HTML or plain text into styled 3:4 image slides for Xiaohongshu posts, with an AI-generated cover image. Requires the separate baoyu-cover-image skill and Playwright with Chromium for screenshots.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code skill that transforms markdown, HTML, or text content into beautifully styled HTML pages with AI-generated cover images, then captures them as sequential screenshots at 3:4 ratio for Xiaohongshu posting.
/baoyu-cover-image skill/baoyu-cover-image skill installed in ~/.claude/skills/# Copy to global skills
cp -r xiaohongshu-images-skill ~/.claude/skills/
# Or symlink for development
ln -s /path/to/xiaohongshu-images-skill ~/.claude/skills/xiaohongshu-images-skill
pip install playwright
playwright install chromium
# Verify the skill exists
ls ~/.claude/skills/baoyu-cover-image/SKILL.md
Invoke the skill in Claude Code:
/xiaohongshu-images
Then provide your content:
/path/to/article.md/xiaohongshu-images
# My Article Title
This is the introduction paragraph explaining the topic...
## Section 1
Content for section 1 with detailed explanation...
## Section 2
More content here with examples...
The skill generates output in ~/Dev/obsidian/articles/<date-title>/:
xhs-preview.html - Styled HTML preview page_attachments/cover-xhs.png - AI-generated cover image_attachments/xhs-01.png, xhs-02.png, ... - Sequential screenshotsxiaohongshu-images-skill/
├── SKILL.md # Main skill definition
├── README.md # This file
├── prompts/
│ └── default.md # Default HTML/CSS styling prompt
├── scripts/
│ └── screenshot.py # Screenshot capture
└── .gitignore
Output directory (outside skill folder):
~/Dev/obsidian/articles/<date>-<title>/
├── xhs-preview.html # Styled HTML preview page
├── imgs/ # Created by baoyu-cover-image
│ ├── prompts/
│ │ └── cover.md # Cover image prompt
│ └── cover.png # Generated cover (moved to _attachments/)
└── _attachments/ # Obsidian-style attachments folder
├── cover-xhs.png # Cover image (moved from imgs/cover.png)
├── xhs-01.png # Screenshot page 1
├── xhs-02.png # Screenshot page 2
└── ...
Create custom styling templates in the prompts/ directory:
.md file (e.g., prompts/minimal.md)Edit prompts/default.md to customize:
Default screenshot dimensions (3:4 ratio for Xiaohongshu):
To modify, edit scripts/screenshot.py:
SCREENSHOT_WIDTH = 1080
SCREENSHOT_HEIGHT = 1440
Captures sequential screenshots of HTML pages.
python scripts/screenshot.py ~/Dev/obsidian/articles/<date>-<title>/xhs-preview.html
Output: ~/Dev/obsidian/articles/<date>-<title>/_attachments/xhs-01.png, xhs-02.png, etc.
Features:
/baoyu-cover-image skill is installed and working/baoyu-cover-image directly to debugplaywright install chromiumIf fonts don't load in screenshots:
screenshot.pyMIT License - See LICENSE file for details.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
iamzifei-xiaohongshu-images-skill@cascade-content-creation-misc-1 is listed by joshuarweaver/cascade-content-creation-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-content-creation-misc-1 --plugin iamzifei-xiaohongshu-images-skillPlugins from other owners that cover similar ground