# Send 小红书发布 to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "dragon-xiaohongshu",
    "name": "小红书发布",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/dragon015/dragon-xiaohongshu",
    "canonicalUrl": "https://clawhub.ai/dragon015/dragon-xiaohongshu",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/dragon-xiaohongshu",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=dragon-xiaohongshu",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "cover.html",
      "publish_ai_survey.js",
      "publish_minimax.js",
      "publish_post.js",
      "references/config.md",
      "scripts/publish.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/dragon-xiaohongshu"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/dragon-xiaohongshu",
    "downloadUrl": "https://openagent3.xyz/downloads/dragon-xiaohongshu",
    "agentUrl": "https://openagent3.xyz/skills/dragon-xiaohongshu/agent",
    "manifestUrl": "https://openagent3.xyz/skills/dragon-xiaohongshu/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/dragon-xiaohongshu/agent.md"
  }
}
```
## Documentation

### 小红书自动发布 Skill

自动化发布内容到小红书平台，支持图文发布、登录管理和批量操作。

### 功能特性

✅ 自动发布图文内容到小红书
✅ 检查登录状态
✅ 自动获取登录二维码
✅ 支持自定义标题、内容、图片和标签
✅ 支持 HTTP MCP 服务端模式

### 前置要求

小红书 MCP 服务端

文件：xiaohongshu-mcp-windows-amd64.exe
端口：18060
启动方式：运行 exe 文件



mcporter CLI
npm install -g mcporter



已登录小红书账号

首次使用需要先扫码登录

### 1. 启动 MCP 服务端

# 在 xiaohongshu-mcp 目录下运行
.\\xiaohongshu-mcp-windows-amd64.exe

### 2. 检查登录状态

node scripts/publish.js --check

### 3. 发布内容

# 使用默认配置
node scripts/publish.js

# 自定义内容
node scripts/publish.js \\
  --title "我的标题" \\
  --content "正文内容..." \\
  --image "C:\\\\path\\\\to\\\\image.png" \\
  --tags "tag1,tag2,tag3"

### mcporter 配置

配置文件：~/.mcporter/mcporter.json

{
  "mcpServers": {
    "xiaohongshu": {
      "url": "http://localhost:18060/mcp"
    }
  }
}

### 发布参数

参数类型必填说明titlestring是标题（最多20字）contentstring是正文内容（最多1000字）imagesarray是图片路径数组tagsarray否标签数组

### 示例 1：发布产品推广

const publish = require('./scripts/publish');

await publish({
  title: '新品推荐！超好用',
  content: '今天给大家推荐一款超好用的产品...',
  images: ['C:\\\\product.jpg'],
  tags: ['好物推荐', '新品', '种草']
});

### 示例 2：发布生活分享

node scripts/publish.js \\
  --title "今天的心情日记" \\
  --content "今天天气真好，出去散步..." \\
  --image "C:\\\\photos\\\\today.jpg" \\
  --tags "生活,日常,心情"

### 注意事项

登录状态：发布前必须已登录小红书
图片格式：支持 jpg、png 格式
内容限制：

标题最多 20 个中文字
正文最多 1000 字
图片最多 9 张


频率限制：小红书有每日发帖限制（约50篇）

### 问题：MCP 连接失败

解决：

检查 MCP 服务端是否运行
检查端口 18060 是否被占用
重启 MCP 服务端

### 问题：未登录

解决：

运行 node scripts/publish.js --check 检查状态
使用登录工具扫码登录
或运行 node scripts/login.js 获取二维码

### 问题：发布失败

解决：

检查图片路径是否正确
检查内容是否超过字数限制
查看 MCP 服务端日志

### 参考资料

小红书 MCP 项目
mcporter 文档
详细配置见 references/config.md
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: dragon015
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/dragon-xiaohongshu)
- [Send to Agent page](https://openagent3.xyz/skills/dragon-xiaohongshu/agent)
- [JSON manifest](https://openagent3.xyz/skills/dragon-xiaohongshu/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/dragon-xiaohongshu/agent.md)
- [Download page](https://openagent3.xyz/downloads/dragon-xiaohongshu)