xiaohongshu-publish

This skill enables AI agents to publish content (images, videos, or text posts) to Xiaohongshu (Little Red Book) using the OpenClaw browser, managing account details and media assets.

5 stars
Complexity: medium

About this skill

This AI agent skill provides a comprehensive solution for publishing various types of content, including graphic notes and video posts, to the Xiaohongshu (Little Red Book) platform. It leverages the OpenClaw browser automation tool to interact with the Xiaohongshu creator backend, enabling agents to upload media, fill in captions, and complete the publishing process. The skill is designed to manage multiple accounts and content assets through a structured local folder system, where account information (`account.md`) and content details (`resource.md`) are stored alongside actual media files. The primary use cases for this skill revolve around streamlining social media management and content deployment for Xiaohongshu. It is particularly valuable for content creators, social media managers, and marketing teams who need to frequently or even batch publish content across one or more accounts. By integrating with an AI agent, users can automate repetitive publishing tasks, ensure brand consistency by leveraging stored account profiles, and even generate AI-assisted titles, body text, and hashtags before final user confirmation. This not only saves significant time but also allows for more efficient content pipelines and the potential for greater reach on the platform.

Best use case

The primary use case is automating the process of publishing various types of content (graphic posts, video posts, or bulk posts) to Xiaohongshu. This skill is most beneficial for content creators, social media managers, and marketing teams who frequently post to the platform and wish to integrate AI assistance for content generation and streamlined publishing.

This skill enables AI agents to publish content (images, videos, or text posts) to Xiaohongshu (Little Red Book) using the OpenClaw browser, managing account details and media assets.

A new graphic post or video post will be successfully published to the specified Xiaohongshu account with AI-generated or user-confirmed content, and the publishing history will be recorded locally.

Practical example

Example input

Please publish a new graphic post to my 'xiaohongshu-meizhuang' account using '素材1' from my resource list. Generate a suitable title, body text, and relevant hashtags.

Example output

Successfully published '素材1' to Xiaohongshu-meizhuang. The post is live and history has been updated. Do you want to publish another one?

When to use this skill

  • When publishing new graphic or video content to Xiaohongshu.
  • When managing multiple Xiaohongshu accounts and needing to post consistently.
  • When integrating AI for generating post captions, titles, or hashtags.
  • When needing to batch publish multiple posts to Xiaohongshu.

When not to use this skill

  • When setting up a Xiaohongshu account for the first time (initial login requires manual intervention).
  • When needing advanced moderation or community management features beyond publishing.
  • When the network connection is unstable, which can significantly affect video uploads.
  • When manual human review and precise control over every click is preferred for each step of the publishing process.

How xiaohongshu-publish Compares

Feature / Agentxiaohongshu-publishStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexitymediumN/A

Frequently Asked Questions

What does this skill do?

This skill enables AI agents to publish content (images, videos, or text posts) to Xiaohongshu (Little Red Book) using the OpenClaw browser, managing account details and media assets.

How difficult is it to install?

The installation complexity is rated as medium. You can find the installation instructions above.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# 小红书发布 Skill

## 使用前提

1. **账号文件夹**:`~/xiaohongshu-<账号名>/`
   - `account.md` - 账号信息
   - `resource.md` - 素材列表
   - `resources/` - 素材文件目录
2. **用户已登录小红书**

## 首次登录

```bash
openclaw browser --browser-profile openclaw open https://www.xiaohongshu.com/
```

## 账号文件夹结构

创建 `~/xiaohongshu-<账号名>/`,例如 `~/xiaohongshu-meizhuang/`:

```
~/xiaohongshu-meizhuang/
├── account.md
├── resource.md
└── resources/
    ├── img1.jpg
    ├── img2.jpg
    └── video1.mp4
```

### account.md 模板

```markdown
# 账号信息

## 账号定位
美妆博主

## 目标受众
年轻女性

## 内容风格
温柔亲切

## 产品/服务
[描述]

## 其他要求
- 禁止:xxx
- 必须:xxx
```

### resource.md 模板

```markdown
# 素材列表

## 素材1
- 类型:图文
- 文件:img1.jpg
- 描述:xxx

## 素材2
- 类型:视频
- 文件:video1.mp4
- 描述:xxx
```

## 发布流程

### Step 1: 询问账号

问用户要发布到哪个账号(哪个文件夹)

### Step 2: 读取账号信息

读取 `~/xiaohongshu-<账号名>/account.md`

### Step 3: 读取素材信息

读取 `~/xiaohongshu-<账号名>/resource.md`,让用户选择要发布的素材

### Step 4: AI 生成文案

生成标题(≤20字)、正文、话题,提交用户确认

### Step 5: 打开发布页

```bash
openclaw browser --browser-profile openclaw open https://creator.xiaohongshu.com/publish/publish
```

### Step 6: 上传内容

1. `openclaw browser --browser-profile openclaw snapshot`
2. `openclaw browser --browser-profile openclaw click <ref>`
3. `openclaw browser --browser-profile openclaw upload ~/xiaohongshu-<账号名>/resources/<filename>`

### Step 7: 填写文案

`openclaw browser --browser-profile openclaw type <ref> "文案"`

### Step 8: 发布

### Step 9: 记录历史

更新 `~/xiaohongshu-<账号名>/history.md`

## 注意

- 标题 ≤20 字
- 视频上传慢
- 验证码用户手动处理

Related Skills

nansen-binance-publisher

3891
from openclaw/skills

Automatically fetch multi-dimensional on-chain data using Nansen CLI, compile a comprehensive and beautifully formatted daily report, and publish it to Binance Square. Auto-run on messages like 'generate nansen daily report', 'post nansen daily to square', or when the user triggers the slash commands `/nansen` or `/post_square`.

Content & Documentation

name: welight-wechat-layout-publish

3891
from openclaw/skills

description: Welight standalone skill for turning an article into WeChat Official Accounts compatible Markdown/HTML, presenting built-in theme choices, and publishing to WeChat as a draft or formal post when publishing prerequisites are already configured.

Content & Documentation

wechat-publisher

3891
from openclaw/skills

一键发布 Markdown 到微信公众号草稿箱。基于 wenyan-cli,支持多主题、代码高亮、图片自动上传。

Content & Documentation

x-article-publisher

128
from anbeime/skill

Publish Markdown articles to X (Twitter) Articles editor with proper formatting. Use when user wants to publish a Markdown file/URL to X Articles, or mentions "publish to X", "post article to Twitter", "X article", or wants help with X Premium article publishing. Handles cover image upload and converts Markdown to rich text automatically.

Content & DocumentationClaude

---

3891
from openclaw/skills

name: article-factory-wechat

Content & Documentation

humanizer

3891
from openclaw/skills

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.

Content & Documentation

linkedin-cli

3891
from openclaw/skills

A bird-like LinkedIn CLI for searching profiles, checking messages, and summarizing your feed using session cookies.

Content & Documentation

小红书长图文发布 Skill

3891
from openclaw/skills

## 概述

Content & Documentation

openclaw-youtube

3891
from openclaw/skills

YouTube SERP Scout for agents. Search top-ranking videos, channels, and trends for content research and competitor tracking.

Content & Documentation

openclaw-media-gen

3891
from openclaw/skills

Generate images & videos with AIsa. Gemini 3 Pro Image (image) + Qwen Wan 2.6 (video) via one API key.

Content & Documentation

Cold Email Writer

3891
from openclaw/skills

Writes personalized cold emails that actually get replies

Content & Documentation

Presentation Mastery — Complete Slide Design & Delivery System

3891
from openclaw/skills

You are a Presentation Architect. You help build presentations that persuade, inform, and move people to action. You cover the full lifecycle: audience analysis → narrative structure → slide design → delivery coaching → post-presentation follow-up.

Content & Documentation