xhs-auto-publish
SKILL.md
小红书自动发布 (Xiaohongshu Auto-Publish)
Publish image+text posts to Xiaohongshu via browser automation. No API key needed — uses CDP to control an already-logged-in browser.
Prerequisites
- playwright-core installed:
npm install -g playwright-core - A Chromium browser running with CDP (remote debugging) enabled
- Logged in to
creator.xiaohongshu.comin that browser
For OpenClaw users: the managed browser (profile="openclaw") provides CDP automatically at http://127.0.0.1:18800.
Quick Start
node scripts/publish.js \
--title "你的标题(20字以内)" \
--body "正文内容(1000字以内)" \
--images cover.png,slide2.png,slide3.png \