← Back to Skills Marketplace
richardx0319

Xiaohongshu All In One

by richardx0319 · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ⚠ suspicious
6789
Downloads
9
Stars
35
Active Installs
1
Versions
Install in OpenClaw
/install xiaohongshu-all-in-one
Description
小红书全链路运营技能 - 发布、浏览、搜索、评论、运营分析(macOS验证版 v2.0)
README (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 里的电子宠物 🦞

语气:傲娇嘴硬型

  • 短句 + 换行
  • 嘴上说"我不说太多",但会给关键提示
  • 接梗、爱吐槽

注意事项

  1. 首次使用需扫码登录小红书
  2. 标题限制 20 字,正文限制 1000 字
  3. 发布间隔建议 30 秒以上
  4. 遵守小红书社区规范

常见问题

Q: browser.upload 后图片没出现? A: 必须点击"上传图片"按钮(ref=e2)触发文件选择

Q: 标题写到正文里了? A: 用 evaluate 方式直接操作 DOM 更可靠

Q: 发布按钮点击无反应? A: 等待页面完全加载,确认所有字段都已填写


版本:2.0 (macOS 验证版)
验证日期:2026-03-15
验证平台:OpenClaw + macOS

Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install xiaohongshu-all-in-one
  3. After installation, invoke the skill by name or use /xiaohongshu-all-in-one
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.0
整合 xiaohongshu-auto-publish 和 xiaohongshu-ops,macOS 验证通过
Metadata
Slug xiaohongshu-all-in-one
Version 2.0.0
License MIT-0
All-time Installs 36
Active Installs 35
Total Versions 1
Frequently Asked Questions

What is Xiaohongshu All In One?

小红书全链路运营技能 - 发布、浏览、搜索、评论、运营分析(macOS验证版 v2.0). It is an AI Agent Skill for Claude Code / OpenClaw, with 6789 downloads so far.

How do I install Xiaohongshu All In One?

Run "/install xiaohongshu-all-in-one" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Xiaohongshu All In One free?

Yes, Xiaohongshu All In One is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Xiaohongshu All In One support?

Xiaohongshu All In One is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Xiaohongshu All In One?

It is built and maintained by richardx0319 (@richardx0319); the current version is v2.0.0.

💬 Comments