Rechercher

PythonReactSEOPDF
OpenClaw

xiaohongshu-publisher

自动发布内容到小红书平台。支持发布图文、检查登录状态、获取登录二维码。使用场景:自动化小红书内容发布、批量发布、定时发布等。

dragon0150 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install dragon015/dragon-xiaohongshu

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

小红书自动发布 Skill

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

功能特性

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

前置要求

  1. 小红书 MCP 服务端

    • 文件:xiaohongshu-mcp-windows-amd64.exe
    • 端口:18060
    • 启动方式:运行 exe 文件
  2. mcporter CLI

    npm install -g mcporter
    
  3. 已登录小红书账号

    • 首次使用需要先扫码登录

快速开始

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"
    }
  }
}
发布参数
参数 类型 必填 说明
title string 是 标题(最多20字)
content string 是 正文内容(最多1000字)
images array 是 图片路径数组
tags array 否 标签数组

使用示例

示例 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 "生活,日常,心情"

注意事项

  1. 登录状态:发布前必须已登录小红书
  2. 图片格式:支持 jpg、png 格式
  3. 内容限制:
    • 标题最多 20 个中文字
    • 正文最多 1000 字
    • 图片最多 9 张
  4. 频率限制:小红书有每日发...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/dragon015/dragon-xiaohongshu
Version
—
Commit
486725d666d638a409289baab941c281946c5b55
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# 小红书自动发布 Skill

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

## 功能特性

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

## 前置要求

1. **小红书 MCP 服务端**
   - 文件:`xiaohongshu-mcp-windows-amd64.exe`
   - 端口:18060
   - 启动方式:运行 exe 文件

2. **mcporter CLI**
   ```bash
   npm install -g mcporter
   ```

3. **已登录小红书账号**
   - 首次使用需要先扫码登录

## 快速开始

### 1. 启动 MCP 服务端

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

### 2. 检查登录状态

```bash
node scripts/publish.js --check
```

### 3. 发布内容

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

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

## 配置说明

### mcporter 配置

配置文件:`~/.mcporter/mcporter.json`

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

### 发布参数

| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| title | string | 是 | 标题(最多20字) |
| content | string | 是 | 正文内容(最多1000字) |
| images | array | 是 | 图片路径数组 |
| tags | array | 否 | 标签数组 |

## 使用示例

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

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

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

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

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

## 注意事项

1. **登录状态**:发布前必须已登录小红书
2. **图片格式**:支持 jpg、png 格式
3. **内容限制**:
   - 标题最多 20 个中文字
   - 正文最多 1000 字
   - 图片最多 9 张
4. **频率限制**:小红书有每日发...

Skills associés

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.