
Xiaohongshu Publisher
This automates posting images to Xiaohongshu's creator platform using CDP to connect to your existing logged-in Chrome session. You launch Chrome with remote debugging on port 9222, log in once via QR code, and from then on it can upload images, fill titles and descriptions, and handle the whole publishing flow without managing auth tokens. It defaults to saving drafts unless you explicitly say "publish now" or similar phrases. The workflow is methodical: verify connection, check login status, parse any markdown input, upload images through file inputs, fill form fields, and save. Built for folks who need to batch-publish or automate their Xiaohongshu content workflow without clicking through the web UI manually each time. Python scripts included for parsing markdown notes and clipboard operations.
- skills.sh installs
- 266
- GitHub stars
- 11
- last updated
- Aug 21, 2026
Install
$ npx -y skills add iamzifei/red-publisher-skill --skill xiaohongshu-publisher --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
--cdpflag
⚠️ 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:
Sponsors
Details
- Repository
- github.com/iamzifei/red-publisher-skill
- Categories
- Release Management, Automation & Workflows
- First seen
- Jun 3, 2026