Install
openclaw skills install vinplezhang-xiaohongshu-publisherDraft and publish posts to 小红书 (Xiaohongshu/RED). Use when creating content for 小红书, drafting posts, generating cover images, or publishing via browser autom...
openclaw skills install vinplezhang-xiaohongshu-publisherCreate, format, and publish posts to 小红书 (Xiaohongshu/RED) through browser automation.
pip install Pillow or apt install python3-pil)fonts-noto-cjk on Linux (apt install fonts-noto-cjk), or Noto Sans CJK via Homebrew on macOSThis skill handles the complete 小红书 publishing pipeline:
Create post content following 小红书 style. See references/content-guide.md for formatting rules, structure, and examples.
Key rules:
--- section breaks, emoji bullets, short paragraphsmemory/xiaohongshu-draft.mdRun the cover generation script:
python3 <skill-dir>/scripts/gen_cover.py --title "主标题" --subtitle "副标题" --tags "标签1,标签2,标签3" --output /path/to/cover.png
Options:
--title — Main title (large text, required)--subtitle — Subtitle line (medium text, optional)--tags — Comma-separated feature tags shown as pills (optional)--badge — Top-right badge text (default: "OpenClaw")--output — Output path (default: cover.png)--gradient — Color scheme: purple (default), blue, green, orange, darkOutput: 1080×1440 PNG with gradient background, decorative elements, CJK text.
Send the draft content + cover image to the user's messaging channel for review. Format:
📝 小红书草稿 — [主题]
标题:[标题]
[正文内容]
封面图已生成:[path]
请确认:
✅ 可以发布
✏️ 需要修改
❌ 不发
Never auto-publish. Always wait for explicit user approval.
After user approval, publish using browser automation on the configured node.
See references/browser-publish.md for the complete browser automation steps.
Summary:
https://creator.xiaohongshu.com/publish/publishupload actionIf browser automation is unavailable (CDP issues, node offline, etc.), send the complete post to the user's channel with all content formatted for easy copy-paste:
📋 小红书发帖内容(请手动发布)
【标题】[标题]
【正文】
[正文内容]
【标签】[hashtags]
封面图:[path to cover image]
--remote-debugging-port on macOS (GUI session required). If browser start fails, fall back to manual publishing.This skill works with cron jobs for scheduled daily posting. Typical cron setup:
Schedule: 0 8 * * * (Asia/Shanghai)
Session: isolated agentTurn
Delivery: announce to user's channel
The cron job message should reference this skill and include the content plan/topic for the day.