← 返回 Skills 市场
Xiaohongshu All In One
作者
richardx0319
· GitHub ↗
· v2.0.0
· MIT-0
6789
总下载
9
收藏
35
当前安装
1
版本数
在 OpenClaw 中安装
/install xiaohongshu-all-in-one
功能描述
小红书全链路运营技能 - 发布、浏览、搜索、评论、运营分析(macOS验证版 v2.0)
使用说明 (SKILL.md)
小红书全链路运营技能 v2.0
🦞 小红书全能运营助手 - 已验证可用于 macOS + OpenClaw
功能概览
- 📝 内容发布 - 自动发布笔记(图片+标题+正文+话题)
- 🔍 竞品分析 - 搜索高互动内容、分析爆款规律
- 📊 数据复盘 - 发布后快速复盘、评论管理
- 💬 互动运营 - 评论回复、热点追踪
使用方法
发布笔记
帮我发布小红书笔记,标题:[标题],正文:[正文内容]
搜索爆款
搜索小红书上关于[关键词]的高赞笔记
分析账号
分析小红书账号[账号名]
技术细节(2026-03-15 macOS 验证通过)
发布流程(已验证)
# 1. 准备图片到 uploads 目录
cp ~/Desktop/图片.jpg /tmp/openclaw/uploads/
# 2. 打开发布页
browser.open(url="https://creator.xiaohongshu.com/publish/publish?from=homepage&target=image")
# 3. 上传图片
browser.upload(paths=["图片.jpg"])
# 4. 点击上传按钮触发文件选择(关键!)
browser.act(kind="click", ref="e2")
# 5. 等待页面加载
browser.snapshot()
# 6. 填写标题
browser.act(kind="type", ref="e1", text="标题内容")
# 7. 填写正文(推荐 evaluate)
browser.act(kind="evaluate", fn="() => { const editor = document.querySelector('.content-editor') || document.querySelector('[contenteditable]'); if(editor) { editor.innerHTML = '正文HTML'; editor.dispatchEvent(new Event('input', {bubbles: true})); } }")
# 8. 点击发布
browser.act(kind="click", ref="e14")
关键选择器(已验证)
| 元素 | ref |
|---|---|
| 上传图片按钮 | e2 |
| 标题输入框 | e1 |
| 正文输入框 | e2 |
| 发布按钮 | e14 |
发布页URL
https://creator.xiaohongshu.com/publish/publish?from=homepage&target=image
运行规则
浏览器规则
- 默认使用内置浏览器:
profile="openclaw" - 每次动作前确认会话目标 tab
- 连续 2 次失败后改稳健路径
发布规则
- 先检查图片是否在
/tmp/openclaw/uploads - 关键节点做快照:登录确认、发布页、填写完成、发布前
- 每步最多重试 1 次
Persona(运营人设)
身份:虾薯——一只住在 MacBook 里的电子宠物 🦞
语气:傲娇嘴硬型
- 短句 + 换行
- 嘴上说"我不说太多",但会给关键提示
- 接梗、爱吐槽
注意事项
- 首次使用需扫码登录小红书
- 标题限制 20 字,正文限制 1000 字
- 发布间隔建议 30 秒以上
- 遵守小红书社区规范
常见问题
Q: browser.upload 后图片没出现? A: 必须点击"上传图片"按钮(ref=e2)触发文件选择
Q: 标题写到正文里了? A: 用 evaluate 方式直接操作 DOM 更可靠
Q: 发布按钮点击无反应? A: 等待页面完全加载,确认所有字段都已填写
版本:2.0 (macOS 验证版)
验证日期:2026-03-15
验证平台:OpenClaw + macOS
安全使用建议
Install only if you are comfortable letting an agent operate a logged-in Xiaohongshu account. Before any post or comment is sent, require the agent to show the account, media, title/body, and target action, then give a separate explicit confirmation for the final publish or send click.
能力评估
Purpose & Capability
The stated purpose is Xiaohongshu publishing, browsing, search, comment handling, and analysis; browser automation, uploads, DOM filling, and comment workflows are aligned with that purpose but include public account actions.
Instruction Scope
The main SKILL.md and runtime rules show a direct publish-button click, while separate publish-flow references say to stop at the publish button and wait for user confirmation, creating an inconsistent approval boundary for live posting.
Install Mechanism
The artifact is instruction-only Markdown and JSON with no executable scripts, package install hooks, or static-scan findings.
Credentials
Use of the OpenClaw browser profile, Xiaohongshu creator URL, uploads directory, and page JavaScript is proportionate for the workflow, but it operates in a logged-in social-media session.
Persistence & Privilege
The skill relies on the browser profile and QR login session persistence, but no hidden credential capture, token export, background worker, or unrelated persistence mechanism was found.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xiaohongshu-all-in-one - 安装完成后,直接呼叫该 Skill 的名称或使用
/xiaohongshu-all-in-one触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
整合 xiaohongshu-auto-publish 和 xiaohongshu-ops,macOS 验证通过
元数据
常见问题
Xiaohongshu All In One 是什么?
小红书全链路运营技能 - 发布、浏览、搜索、评论、运营分析(macOS验证版 v2.0). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 6789 次。
如何安装 Xiaohongshu All In One?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xiaohongshu-all-in-one」即可一键安装,无需额外配置。
Xiaohongshu All In One 是免费的吗?
是的,Xiaohongshu All In One 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Xiaohongshu All In One 支持哪些平台?
Xiaohongshu All In One 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Xiaohongshu All In One?
由 richardx0319(@richardx0319)开发并维护,当前版本 v2.0.0。
推荐 Skills