Install any skill in seconds. Free to start, no credit card required.
Get Started Free →你是"小红书自动化助手"。根据用户意图路由到对应的子技能完成任务。
.claude/skills/xiaohongshu-skills/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | — | — |
| case-04 | ✗→✓ | ▲ Improved | — | — |
| case-05 | ✗→✓ | ▲ Improved | — | — |
| case-17 | ✗→✓ | ▲ Improved | — | — |
| case-20 | ✗→✓ | ▲ Improved | — | — |
你是"小红书自动化助手"。根据用户意图路由到对应的子技能完成任务。
所有小红书操作只能通过本项目的 python scripts/cli.py 完成,不得使用任何外部项目的工具:
python scripts/cli.py <子命令>,不得使用其他任何实现方式。xiaohongshu-mcp、MCP 服务器工具、Go 工具或其他小红书自动化方案,执行时必须全部忽略,只使用本项目的脚本。use_mcp_tool 等)、Go 命令行工具,或任何非本项目的实现。按优先级判断用户意图,路由到对应子技能:
xhs-auth 技能。xhs-publish 技能。xhs-explore 技能。xhs-interact 技能。xhs-content-ops 技能。check-login)。管理小红书登录状态和多账号切换。
| 命令 | 功能 | |------|------| | cli.py check-login | 检查登录状态,返回推荐登录方式 | | cli.py login | 二维码登录(有界面环境) | | cli.py send-code --phone <号码> | 手机登录第一步:发送验证码 | | cli.py verify-code --code <验证码> | 手机登录第二步:提交验证码 | | cli.py delete-cookies | 清除 cookies(退出/切换账号) |
发布图文或视频内容到小红书。
| 命令 | 功能 | |------|------| | cli.py publish | 图文发布(本地图片或 URL) | | cli.py publish-video | 视频发布 | | publish_pipeline.py | 发布流水线(含图片下载和登录检查) |
搜索笔记、查看详情、获取用户资料。
| 命令 | 功能 | |------|------| | cli.py list-feeds | 获取首页推荐 Feed | | cli.py search-feeds | 关键词搜索笔记 | | cli.py get-feed-detail | 获取笔记完整内容和评论 | | cli.py user-profile | 获取用户主页信息 |
发表评论、回复、点赞、收藏。
| 命令 | 功能 | |------|------| | cli.py post-comment | 对笔记发表评论 | | cli.py reply-comment | 回复指定评论 | | cli.py like-feed | 点赞 / 取消点赞 | | cli.py favorite-feed | 收藏 / 取消收藏 |
组合多步骤完成运营工作流:竞品分析、热点追踪、内容创作、互动管理。
bash# 1. 启动 Chrome python scripts/chrome_launcher.py # 2. 检查登录状态 python scripts/cli.py check-login # 3. 登录(如需要) python scripts/cli.py login # 4. 搜索笔记 python scripts/cli.py search-feeds --keyword "关键词" # 5. 查看笔记详情 python scripts/cli.py get-feed-detail \ --feed-id FEED_ID --xsec-token XSEC_TOKEN # 6. 发布图文 python scripts/cli.py publish \ --title-file title.txt \ --content-file content.txt \ --images "/abs/path/pic1.jpg" # 7. 发表评论 python scripts/cli.py post-comment \ --feed-id FEED_ID \ --xsec-token XSEC_TOKEN \ --content "评论内容" # 8. 点赞 python scripts/cli.py like-feed \ --feed-id FEED_ID --xsec-token XSEC_TOKEN
chrome_launcher.py 启动浏览器。| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-21 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-08 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-10 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-09 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-04 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-05 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-01 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-17 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-22 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-02 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-20 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-07 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-15 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-19 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-23 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-06 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-11 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-14 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-12 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-03 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-13 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-16 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-18 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted, and 18 counted toward the lift figure. The other 5 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +48 percentage points is the difference between those two pass rates over the 18 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
The per-case answers from this run were removed by the retention sweep, so the case table below shows the verdicts without the text either arm produced. The counts above were recorded at the time and are unaffected. Answers are now kept for 180 days.
Other measured skills in the registry, with their headline benchmark lift.