xiaohongshu-publisherlisted
Install: claude install-skill iamzifei/red-publisher-skill
# Xiaohongshu Publisher (小红书发布器)
Publish images and notes to Xiaohongshu (小红书) Creator Platform using agent-browser with CDP (Chrome DevTools Protocol) mode.
## Architecture: CDP Mode
This skill uses **CDP mode** - connecting to an existing browser instance where the user is already logged in. This approach:
- **Eliminates QR code scanning** - User logs in once in their browser
- **Leverages existing session** - Uses the browser's cookies and auth state
- **More stable** - No need to manage auth state files
- **agent-browser CLI** - Simple command-line interface with `--cdp` flag
## ⚠️ IMPORTANT: Draft Mode by Default
**This skill ALWAYS saves notes as DRAFT by default. It will NEVER auto-publish.**
Only click the "发布" (publish) button if the user EXPLICITLY requests immediate publishing with phrases like:
- "直接发布" / "立即发布" / "马上发布"
- "publish now" / "publish directly" / "publish immediately"
- "不要草稿,直接发" / "不存草稿"
If unsure, ALWAYS save as draft and let user review before publishing.
## Prerequisites
### 1. Launch Chrome with Remote Debugging
Before using this skill, the user must launch Chrome with remote debugging enabled:
**macOS:**
```bash
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
```
**Or create an alias in ~/.zshrc or ~/.bashrc:**
```bash
alias chrome-debug='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222'
```
Then simply run: `chrome-debug`
### 2. Login to Xiaoho