ワンクリックで
xiaohongshu-ops
// End-to-end Xiaohongshu operations: positioning, topic research, content production, publish execution, and post-incident recovery. Reusable across verticals; includes reusable templates and one concrete “陪你看剧” case preset.
// End-to-end Xiaohongshu operations: positioning, topic research, content production, publish execution, and post-incident recovery. Reusable across verticals; includes reusable templates and one concrete “陪你看剧” case preset.
监控 claude-relay-service 的 API Key 使用情况和费用统计。支持查询总使用量、今日用量、费用估算等。
通过 Reddit OAuth2 API 搜索和阅读 Reddit 帖子、评论和子版块内容。当用户要求搜索 Reddit 讨论、浏览子版块帖子、阅读 Reddit 帖子内容和评论、了解 Reddit 社区对某个话题的看法时使用此 skill。支持按时间范围和排序方式筛选,支持读取完整帖子正文和嵌套评论树。
Execute force buy orders on Freqtrade bot via REST API. Supports manual entry for specific trading pairs with configurable leverage and stake amount. Use when user wants to manually buy a cryptocurrency through their running Freqtrade bot, especially for short-term trades or when the strategy hasn't triggered an entry yet.
Automatically publish articles to GitHub Pages with Jekyll support. Handles git add/commit/push, README updates, and category indexing.
| name | xiaohongshu-ops |
| description | End-to-end Xiaohongshu operations: positioning, topic research, content production, publish execution, and post-incident recovery. Reusable across verticals; includes reusable templates and one concrete “陪你看剧” case preset. |
目标:构建可复用的“小红书运营”流程,让任何账号类型都能复用同一套动作框架。
将每类账号的行业细节作为“案例模块(case module)”挂载到通用流程中。
选题:可发布、可讨论、可转发的内容切入点引流钩子:标题/开头一句用于触发停留与点击结构化输出:标题、正文、互动问句、话题、标签五元组快照:用于验证页面状态的关键证据快照回放:流程失败后重试或改道执行browser.act(kind="evaluate") 做字段提取与填充,避免无意义的全页截图evaluate 返回多字段(账号名、页面状态、按钮可见、字数)fullPage:truetargetId,避免反复 tabs -> snapshotcreator.xiaohongshu.com、xiaohongshu.com/explore、/user/profile/... 打开后复用,不重复 openSOUL.md(小红书平台专用语气/人设/禁忌)。所有对外文案(发帖/评论回复/私信话术)都必须遵循。每个账号先确认 4 个变量:
输出:
title, hook, angle, 结构标签, 评论信号, 互动CTA, 标签组每条选题包含:
适用:用户要求“搜某话题并进帖浏览/留言/互动”(例如搜 OpenClaw 热门新帖)。
navigate 到 /explore/<id>。
xsec_token/xsec_source)。link),避免只点作者名/头像(会进作者主页而不是帖子弹窗)。textarea,可能是 p.content-input 或其它 contenteditable 节点。
input/change 事件,再点「发送」。/search_result?keyword=<query>title / author / 发布时间 / 互动量titleauthorpublish_timelike_or_collect_or_comment(能取到几个取几个)hrefis_self_post(是否本账号)每次产出至少 2 个备选:
详细发布链路请按需读取:references/xhs-publish-flows.md(含视频/图文/长文与图文大字报流程)。
https://creator.xiaohongshu.com/publish/publish发布 按钮可见即可停,明确说明未点击发布message.send + path),不先走普通预览发布完成前的结构校验:
<= 20 字;超出会出现 xx/20 超限提示)发布 按钮可见小红书创作后台至少包含三种发布类型:
每种类型都必须先确认三要素:
默认优先图文;若用户强调封面 CTR,优先走图文并明确封面策略(上传封面图 / 文字配图生成大字报)。
“半程预发”定义:
这一步是回放/教学/验收标准动作,适合让用户确认流程是否走对。
xx/20 时立即压缩标题评论检查与回复详细流程请按需读取:references/xhs-comment-ops.md(含通知页优先、对位校验、one-send-per-turn、风控节奏)。
优先用「通知」判断新回复(比刷全量评论更准、更省风控):
先采样同题材爆帖评论(至少 2 帖、每帖前 5-10 条)再写回复,默认遵循:
高互动评论常见形态:
句尾策略:
禁止“隐性承诺”(必须遵循):
真实性约束:
我这次是正常发出的、我这边看到...对位回复规则(防回错人):
输入行为:
目标:同一套“对位凭证”思想,支持两种入口:
- 模式 A:通知页回复(优先,省定位、省风控)
- 模式 B:帖子内回复(当通知页无法回复/需要进线程批量处理时)
回复 <用户名>(或等价 UI 文案)。适用:进入
xiaohongshu.com/explore/...的笔记详情页,在评论区对某条评论进行回复。
核心原则
span.count 文案“回复”),不要点到:
推荐工具动作(稳定版)
用户名 + 评论关键片段(必要时先用 evaluate 找到包含该文本的最小容器)。回复 <用户名>(例如截图/文字中可见“回复 MKTer 小V”)。
回复 虾薯 / 说点什么... 等,说明未对位到目标用户。type 输入回复文案。回复 <用户名> 仍然是目标用户(防止焦点漂移)。目标:在 /notification 页面直接回复并发送,且每一步都可验证,避免误点顶部「搜索小红书」。
核心原则
回复 李随机)。推荐工具动作(稳定版)
/notification → 进入「评论和@」snapshot(selector='.notification-page', refs='role') 拿到:
textbox "回复 <用户名>"button "发送"textbox "回复 <用户名>"(placeholder 必须匹配目标用户名)type(slowly:true) 逐字输入评论文案button "发送"实测:小红书评论/回复可能存在 最多约 300 字 的限制;超出会导致发送失败或被拦截。
硬规则
<= 280 字 为安全区(给平台提示/表情/换行留余量)。建议实现方式
evaluate 在发送前计算 textarea.value.length,并在工具层截断或改写到安全区。事故复盘:一次 evaluate/循环脚本可能在用户只想回“最新一条”时,误连发多条;且连续发送会触发「评论过于频繁/操作过快」风控。
硬规则
评论过于频繁、操作过快/操作频繁、请稍后再试、网络异常、发送失败 等建议实现方式(工具层)
evaluate/snapshot 只定位目标单条(匹配用户名 + 评论关键片段)。evaluate 检查风控关键词(在 document.body.innerText 搜索),命中即退出。常见故障与处理
() => {
const pickText = (el, sels) => {
for (const s of sels) {
const v = el.querySelector?.(s)?.textContent?.trim();
if (v) return v;
}
return '';
};
const num = (v) => {
const m = String(v || '')
.replace(/,/g, '')
.match(/\\d+(\\.\\d+)?/);
return m ? Number(m[0]) : 0;
};
const rows = [...document.querySelectorAll('.note-item, .comment-item, li, [data-item]')]
.slice(0, 20)
.map((el) => ({
title: pickText(el, ['.title', '.note-title', 'h1', 'h2', 'h3']),
hook: pickText(el, ['.desc', '.description', '.summary', '.intro']),
angle: pickText(el, ['.tag', '.category', '.angle']),
comments_signal: pickText(el, ['.comment', '.comments', '[data-comment]']),
cta: pickText(el, ['.cta', '.action', '.footer']),
likes: num(pickText(el, ['.like', '.likes', '[data-like]')),
tags: pickText(el, ['.tag-list', '.tags'])
}))
.filter(x => x.title || x.hook);
return rows;
}
本技能主文件保留通用框架;垂直行业经验放在 examples/ 目录,按内容类型选用:
当前已可用案例:
examples/drama-watch/case.md(陪你看剧账号)每个内容类型按目录组织,文件命名可为:
examples/<vertical>/<vertical>.md(推荐)
或 examples/<vertical>/README.md
examples/lifestyle/(待补充)
examples/cosmetics/(待补充)
examples/fitness/(待补充)
openclaw(除非用户明确要求使用 Chrome 扩展 Relay)。#话题evaluate 批量改写富文本时,尽量少改版式,避免丢失 topic entity发布 按钮可见 ≠ 发布成功;必须明确标注“到发布页停手”