By iamzifei
Specialized skill for handling Xiaohongshu (Little Red Book) image content. Integrates Chinese social media asset management with AI workflows.
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.
baoyu-cover-image - Cover image generation (required dependency)chinese-viral-writer - Chinese viral content creationwechat-article-formatter - WeChat article formattingwechat-article-publisher - WeChat publishing automationOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Codify a successful workflow from the current conversation into a permanent project-local skill at ~/.smtm/projects/{slug}/skills/. Future sessions can reference it without re-discovery.
Publish Markdown/HTML articles to WeChat Official Account (微信公众号) drafts
Personal GTD coach that transforms annual goals into actionable daily tasks. Features automatic memory for cross-session progress tracking, daily task generation, step-by-step guidance, and review systems. Supports English, 中文, 日本語.
Publish Markdown articles to LinkedIn Articles
Publish images and notes to Xiaohongshu (小红书) with agent-browser CDP mode
npx claudepluginhub iamzifei/xiaohongshu-images-skillA growing collection of Claude-compatible academic workflow bundles. Covers scientific figures, manuscript writing and polishing, reviewer assessment, citation retrieval, data availability, paper reading, literature search, response letters, paper-to-PPTX conversion, and evidence-grounded Chinese invention patent drafting. Rules are organized as reusable skill folders with explicit workflows and quality checks.
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
Harness-native ECC operator layer - 60 agents, 232 skills, 75 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
UI/UX design intelligence. 84 styles, 161 palettes, 73 font pairings, 25 charts, 17 stacks (React, Next.js, Vue, Nuxt.js, Nuxt UI, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Jetpack Compose, Angular, Laravel, JavaFX, Three.js). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.
Plugin-safe Claude Code distribution of Agentic Awesome Skills with 1,885 supported skills.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.