Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
小红书自动化技能,自动发布笔记和管理内容
小红书自动化技能,自动发布笔记和管理内容
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
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.
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.
🤖 技能名称: xiaohongshu-auto 📝 用途: 自动登录小红书、发布笔记、管理内容 🔐 认证: 需要手动登录一次(保存 Cookie)
技能路径: /root/.openclaw/workspace/skills/xiaohongshu-auto/
cd /root/.openclaw/workspace/skills/xiaohongshu-auto
cd C:\Users\用户名\.openclaw\workspace\skills\xiaohongshu-auto
# 确保 Chrome 已安装 google-chrome --version # 安装必要的 Python 库(如果需要) pip install selenium webdriver-manager
方式 A:Chrome 扩展 Relay(推荐) 在 Chrome 中安装 OpenClaw Browser Relay 扩展 Chrome Web Store 搜索 "OpenClaw Browser Relay" 或访问:https://chrome.google.com/webstore 手动登录小红书 打开 https://www.xiaohongshu.com 扫码或账号密码登录 保持登录状态 点击扩展图标,启用 Relay 模式 方式 B:独立浏览器 # 启动 OpenClaw 管理的浏览器 openclaw browser start --profile openclaw
发布笔记 # 调用技能发布笔记 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" } }
发布图文笔记: openclaw skill xiaohongshu-auto publish \ --title "今天分享一个超好用的 AI 助手" \ --content "最近发现了一个超厉害的工具..." \ --images "image1.jpg,image2.jpg,image3.jpg" 发布视频笔记: openclaw skill xiaohongshu-auto publish \ --title "Vlog | 我的一天" \ --content "记录美好的一天" \ --video "video.mp4"
定时发布: # 设置定时任务(每天早上 9 点发布) 0 9 * * * openclaw skill xiaohongshu-auto publish --scheduled 批量发布: # 从 CSV 文件批量发布 openclaw skill xiaohongshu-auto batch-publish \ --csv "posts.csv" \ --image-dir "./images" 数据分析: # 获取最近 7 天数据 openclaw skill xiaohongshu-auto analytics --days 7 # 导出报告 openclaw skill xiaohongshu-auto analytics --export report.pdf
xiaohongshu-auto/ ├── SKILL.md # 技能说明(本文件) ├── USAGE.md # 详细使用文档 ├── config.json # 配置文件 ├── config.example.json # 配置示例 ├── session.json # 登录会话(自动生成) ├── scripts/ │ ├── publish.py # 发布脚本 │ ├── login.py # 登录脚本 │ └── analytics.py # 数据分析脚本 ├── templates/ │ ├── post-template.md # 笔记模板 │ └── hashtag-list.txt # 标签库 └── logs/ └── activity.log # 活动日志
发布频率:每天不超过 5 篇,避免被判定为营销号 内容质量:确保原创,不要抄袭 图片要求:分辨率不低于 1080x1440 敏感词:避免广告法禁用词
人工审核:发布前人工确认内容 随机延迟:设置 5-30 分钟随机间隔 账号保护:不要频繁切换设备 数据备份:定期导出笔记数据
❌ 过度自动化可能导致限流 ❌ 低质量内容会被降权 ❌ 违规内容可能封号 ⚠️ 本工具仅供学习研究,请遵守平台规则
# 清除会话重新登录 rm ~/.openclaw/workspace/skills/xiaohongshu-auto/session.json openclaw skill xiaohongshu-auto login
# 检查 Chrome 安装 google-chrome --version # 重启浏览器服务 openclaw browser stop openclaw browser start
# 查看日志 tail -f ~/.openclaw/workspace/skills/xiaohongshu-auto/logs/activity.log # 检查网络连接 curl -I https://www.xiaohongshu.com
小红书创作者中心 笔记浏览量收益 约 ¥0.01-0.05/千次浏览
商品链接转化 佣金比例 5-30%
推广笔记 单篇 ¥500-5000+
导流到私域 知识付费/咨询服务
小红书创作者中心 小红书社区规范 OpenClaw 浏览器文档 最后更新:2026-02-27 版本:1.0.0
Long-tail utilities that do not fit the current primary taxonomy cleanly.
Largest current source with strong distribution and engagement signals.