xhs-note-creator — Claude Code skill: what it does, how to install
xhs-note-creator generates complete Xiaohongshu note packages with copy, card Markdown, rendered images, and publishing automation.
no license ★ 475 updated 2026-10-13
npx skills add cnfjlhj/ai-collab-playbook --skill xhs-note-creator -a claude-codeWhat xhs-note-creator does
This skill prepares ready-to-share packages tailored strictly to Xiaohongshu conventions. It treats the note caption and card-rendering markup as separate outputs, keeping titles and body blocks concise for mobile screens.
Execution relies on bundled scripts: scripts/render_xhs.py, alternate Node and Python renderers, and scripts/publish_xhs.py for uploading. Formatting guidelines and design templates reside in STYLES.md alongside the assets/ folder.
Publishing acts directly on an account. The workflow defaults to private visibility, demanding explicit user consent before applying the --public flag. Local credentials, cookies, and browser profile directories remain strictly excluded from commits.
What it helps with
- convert draft text into Xiaohongshu-ready captions
- produce renderable Markdown for slide cards and covers
- batch render post visuals via Python or JS helper scripts
- schedule or publish notes privately without exposing credentials
Example prompts for the agent
- Turn this research summary into a Xiaohongshu note with card Markdown
- Run
scripts/render_xhs.pyto produce images for the latest note package - Prepare a private Xiaohongshu post using
scripts/publish_xhs.py
How to install xhs-note-creator
1Skills CLI (Vercel)
npx skills add cnfjlhj/ai-collab-playbook --skill xhs-note-creator -a claude-code2Manually: put the files in place
~/.claude/skills/xhs-note-creator/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/xhs-note-creator/
1Skills CLI (Vercel)
npx skills add cnfjlhj/ai-collab-playbook --skill xhs-note-creator -a codex2Manually: put the files in place
.agents/skills/xhs-note-creator/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add cnfjlhj/ai-collab-playbook --skill xhs-note-creator -a cursor2Manually: put the files in place
.cursor/skills/xhs-note-creator/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install cnfjlhj/ai-collab-playbook skills/full/xhs-note-creator2Manually: put the files in place
.github/skills/xhs-note-creator/SKILL.md1Skills CLI (Vercel)
npx skills add cnfjlhj/ai-collab-playbook --skill xhs-note-creator -a gemini-cli2Platform CLI
gemini skills install https://github.com/cnfjlhj/ai-collab-playbook --path skills/full/xhs-note-creatorManually: put the files in place
.devin/skills/xhs-note-creator/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about xhs-note-creator
How to install xhs-note-creator in Claude Code?
Run npx skills add cnfjlhj/ai-collab-playbook --skill xhs-note-creator -a claude-code in your terminal.
What does xhs-note-creator do?
It packages post captions, slide card layouts, visual rendering steps, and upload scripts specifically designed for Xiaohongshu.
Does the skill publish notes publicly by default?
No, uploads remain private unless you explicitly confirm the action and specify the --public option.