Search

PythonReactSEOPDF
OpenClaw

xiaohongshu-auto

小红书自动化技能,自动发布笔记和管理内容

broommonk0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install broommonk/xiaohongshu-auto

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

小红书自动发帖技能

🤖 技能名称: xiaohongshu-auto
📝 用途: 自动登录小红书、发布笔记、管理内容
🔐 认证: 需要手动登录一次(保存 Cookie)


⚠️ 路径说明

技能路径: /root/.openclaw/workspace/skills/xiaohongshu-auto/

macOS / Linux 示例
cd /root/.openclaw/workspace/skills/xiaohongshu-auto
Windows 示例
cd C:\Users\用户名\.openclaw\workspace\skills\xiaohongshu-auto

🚀 快速开始

1. 安装依赖
# 确保 Chrome 已安装
google-chrome --version

# 安装必要的 Python 库(如果需要)
pip install selenium webdriver-manager
2. 配置浏览器

方式 A:Chrome 扩展 Relay(推荐)

  1. 在 Chrome 中安装 OpenClaw Browser Relay 扩展

    • Chrome Web Store 搜索 "OpenClaw Browser Relay"
    • 或访问:https://chrome.google.com/webstore
  2. 手动登录小红书

  3. 点击扩展图标,启用 Relay 模式

方式 B:独立浏览器

# 启动 OpenClaw 管理的浏览器
openclaw browser start --profile openclaw
3. 使用技能
发布笔记
# 调用技能发布笔记
openclaw skill xiaohongshu-auto publish \
  --title "笔记标题" \
  --content "笔记内容" \
  --image "/path/to/image.jpg"
查看笔记列表
openclaw skill xiaohongshu-auto list
分析数据
openclaw skill xiaohongshu-auto analytics

📋 配置文件

创建 config.json:

{
  "account": {
    "loginMethod": "qrcode",
    "sessionFile": "~/.openclaw/workspace/skills/xiaohongshu-auto/session.json"
  },
  "browser": {
    "profile": "chrome",
    "headless": false,
    "userDataDir": "~/.openclaw/workspace/skills/xiaohongshu-auto/chrome-profile"
  },
  "posting": {
    "dailyLimit": 5,
    "randomDelay": true,
    "delayRange": [300, 1800],
    "autoHashtags": true,
    "imageQuality": 0.9
  },
  "analytics": {
    "trackViews": true,
    "trackLikes": true,
    "trackComments": true,
    "reportInterval": "daily"
  }
}

🔧 使...

Source information

Source
github
Repository
openclaw/skills
Path
skills/broommonk/xiaohongshu-auto
Version
—
Commit
bc17b05237426d9e4b738106e2f0ee729a70398b
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# 小红书自动发帖技能

🤖 **技能名称**: xiaohongshu-auto  
📝 **用途**: 自动登录小红书、发布笔记、管理内容  
🔐 **认证**: 需要手动登录一次(保存 Cookie)

---

## ⚠️ 路径说明

**技能路径**: `/root/.openclaw/workspace/skills/xiaohongshu-auto/`

### macOS / Linux 示例
```bash
cd /root/.openclaw/workspace/skills/xiaohongshu-auto
```

### Windows 示例
```powershell
cd C:\Users\用户名\.openclaw\workspace\skills\xiaohongshu-auto
```

---

## 🚀 快速开始

### 1. 安装依赖

```bash
# 确保 Chrome 已安装
google-chrome --version

# 安装必要的 Python 库(如果需要)
pip install selenium webdriver-manager
```

### 2. 配置浏览器

**方式 A:Chrome 扩展 Relay(推荐)**

1. 在 Chrome 中安装 **OpenClaw Browser Relay** 扩展
   - Chrome Web Store 搜索 "OpenClaw Browser Relay"
   - 或访问:https://chrome.google.com/webstore

2. 手动登录小红书
   - 打开 https://www.xiaohongshu.com
   - 扫码或账号密码登录
   - 保持登录状态

3. 点击扩展图标,启用 Relay 模式

**方式 B:独立浏览器**

```bash
# 启动 OpenClaw 管理的浏览器
openclaw browser start --profile openclaw
```

### 3. 使用技能

#### 发布笔记
```bash
# 调用技能发布笔记
openclaw skill xiaohongshu-auto publish \
  --title "笔记标题" \
  --content "笔记内容" \
  --image "/path/to/image.jpg"
```

#### 查看笔记列表
```bash
openclaw skill xiaohongshu-auto list
```

#### 分析数据
```bash
openclaw skill xiaohongshu-auto analytics
```

---

## 📋 配置文件

创建 `config.json`:

```json
{
  "account": {
    "loginMethod": "qrcode",
    "sessionFile": "~/.openclaw/workspace/skills/xiaohongshu-auto/session.json"
  },
  "browser": {
    "profile": "chrome",
    "headless": false,
    "userDataDir": "~/.openclaw/workspace/skills/xiaohongshu-auto/chrome-profile"
  },
  "posting": {
    "dailyLimit": 5,
    "randomDelay": true,
    "delayRange": [300, 1800],
    "autoHashtags": true,
    "imageQuality": 0.9
  },
  "analytics": {
    "trackViews": true,
    "trackLikes": true,
    "trackComments": true,
    "reportInterval": "daily"
  }
}
```

---

## 🔧 使...

Related skills

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

139mail

chang-tong

139邮箱邮件收发 Skill - 支持 IMAP/SMTP 协议,兼容139/QQ/163/Gmail等主流邮箱 功能: 1. 发送邮件(SMTP) 2. 接收邮件(IMAP) 3. 查看收件箱列表 4. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱"...