skills/skills.volces.com/xhs-auto-publish

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

  1. playwright-core installed: npm install -g playwright-core
  2. A Chromium browser running with CDP (remote debugging) enabled
  3. Logged in to creator.xiaohongshu.com in 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 \
Installs
7
First Seen
Mar 24, 2026