# xhs-note-creator

xhs-note-creator generates complete Xiaohongshu note packages with copy, card Markdown, rendered images, and publishing automation.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 475 repo stars
- Author: cnfjlhj
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/cnfjlhj/ai-collab-playbook/tree/HEAD/skills/full/xhs-note-creator/SKILL.md
- Updated: 2026-10-13
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/xhs-note-creator

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add cnfjlhj/ai-collab-playbook --skill xhs-note-creator -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/xhs-note-creator/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/xhs-note-creator/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add cnfjlhj/ai-collab-playbook --skill xhs-note-creator -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/xhs-note-creator/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add cnfjlhj/ai-collab-playbook --skill xhs-note-creator -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/xhs-note-creator/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install cnfjlhj/ai-collab-playbook skills/full/xhs-note-creator
```

2. **Manually: put the files in place**
- File: `.github/skills/xhs-note-creator/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add cnfjlhj/ai-collab-playbook --skill xhs-note-creator -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/cnfjlhj/ai-collab-playbook --path skills/full/xhs-note-creator
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/xhs-note-creator/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/cnfjlhj/ai-collab-playbook/tree/HEAD/skills/full/xhs-note-creator/SKILL.md

## When to use it
- 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
- Turn this research summary into a Xiaohongshu note with card Markdown
- Run `scripts/render_xhs.py` to produce images for the latest note package
- Prepare a private Xiaohongshu post using `scripts/publish_xhs.py`

## Similar
- [baoyu-xhs-images](https://affpapa.org/en/nevibecode/skills/baoyu-xhs-images.md) — skill · 32100 installs
- [yizhuan](https://affpapa.org/en/nevibecode/skills/yizhuan.md) — skill · 189 installs
- [time-album](https://affpapa.org/en/nevibecode/skills/time-album.md) — skill · 166 installs
- [xiaohongshu-cli](https://affpapa.org/en/nevibecode/skills/xiaohongshu-cli.md) — skill · 1400 installs
- [threads-growth-skill](https://affpapa.org/en/nevibecode/skills/threads-growth-skill.md) — skill · 928 installs
- [repurpose](https://affpapa.org/en/nevibecode/skills/repurpose.md) — skill · ★ 215 repo stars

From the same set: [cnfjlhj/ai-collab-playbook](https://affpapa.org/en/nevibecode/by/cnfjlhj/ai-collab-playbook.md) — 18 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
