xhs-note-creator Quick Start
Installation Complete ✅
The skill has been successfully installed and all dependencies are ready.
How to Use
Invoke the skill
Simply say:
- "Create a Xiaohongshu note about..."
- "Generate XHS content for..."
- "Make a RedNote post about..."
Or use the skill command:
/xhs-note-creatorWhat This Skill Does
Content Writing: Creates engaging Xiaohongshu-style content with:
- Eye-catching titles (max 20 characters)
- Well-formatted body text with emojis
- SEO-friendly tags
Image Card Generation: Renders professional cards with:
- 8 visual themes (default, geometric, neo-brutalism, botanical, professional, retro, terminal, sketch)
- 4 pagination modes (separator, auto-fit, auto-split, dynamic)
- Cover image + content cards (1080×1440px, 3:4 ratio)
Publishing (Optional): Can publish directly to Xiaohongshu
- Requires XHS_COOKIE configuration
Themes Available
default- Purple gradient styleplayful-geometric- Memphis design styleneo-brutalism- Bold, flat designbotanical- Natural, botanical themeprofessional- Business styleretro- Vintage aestheticterminal- Command-line stylesketch- Hand-drawn style
Pagination Modes
separator- Manual page breaks with---auto-fit- Auto-scale text to fit fixed sizeauto-split- Auto-split based on content heightdynamic- Dynamic height adjustment (max 4320px)
Example Usage
The skill will automatically:
- Write engaging XHS content based on your input
- Generate a properly formatted Markdown file with YAML frontmatter
- Render beautiful image cards using Playwright
- Optionally publish to Xiaohongshu (if configured)
Technical Details
- Location:
~/.claude/skills/xhs-note-creator/ - Scripts:
scripts/render_xhs.py- Python renderingscripts/render_xhs.js- Node.js renderingscripts/publish_xhs.py- Publishing script
- Dependencies: All installed (markdown, PyYAML, playwright, xhs, etc.)
- Browser: Chromium installed via Playwright
Optional: Publishing Setup
To enable publishing, create a .env file:
XHS_COOKIE=your_cookie_hereGet your cookie by:
- Login to xiaohongshu.com in browser
- Open DevTools (F12) > Network tab
- Copy the Cookie header from any request
Ready to create amazing Xiaohongshu content! 🚀