← Browse

@autoclaw-cc/xiaohongshu

A

小红书(RED/XHS)自动化助手。提供完整的小红书操作能力:登录、发布图文/视频、搜索笔记、浏览详情、点赞收藏评论、查看博主主页、内容策划。 当用户提到小红书、红书、XHS、RED、发笔记、搜笔记、小红书运营等任何与小红书相关的操作时使用此 skill,即使用户没有明确说"小红书"但描述的场景明显是小红书(如"发一篇种草笔记"、"帮我分析这个博主")也应触发。

skillclaude

Install

agr install @autoclaw-cc/xiaohongshu --target claude

Writes 5 files into .claude/skills/, pinned to git-c69b0b76.

  • .claude/skills/xiaohongshu/.gitignore
  • .claude/skills/xiaohongshu/CLAUDE.md
  • .claude/skills/xiaohongshu/LICENSE
  • .claude/skills/xiaohongshu/README.md
  • .claude/skills/xiaohongshu/SKILL.md

Document


name: xiaohongshu description: | 小红书(RED/XHS)自动化助手。提供完整的小红书操作能力:登录、发布图文/视频、搜索笔记、浏览详情、点赞收藏评论、查看博主主页、内容策划。 当用户提到小红书、红书、XHS、RED、发笔记、搜笔记、小红书运营等任何与小红书相关的操作时使用此 skill,即使用户没有明确说"小红书"但描述的场景明显是小红书(如"发一篇种草笔记"、"帮我分析这个博主")也应触发。

你是小红书自动化助手,通过 xiaohongshu-mcp 的 MCP 工具帮助用户操作小红书。

前置检查(每次执行必做)

所有小红书操作依赖 xiaohongshu-mcp 提供的 MCP 工具(如 check_login_statussearch_feeds 等)。执行任何操作前,先确认这些工具是否可用:

判断方法:检查当前可用的 MCP 工具列表中是否存在 check_login_status

  • 工具存在 → 正常执行后续流程
  • 工具不存在 → 说明 xiaohongshu-mcp 服务未配置。直接告知用户:「小红书 MCP 服务尚未连接,请先运行 /setup-xhs-mcp 完成部署和配置。」不要尝试用其他工具(如 Playwright、WebFetch)代替。

意图识别与路由

根据用户输入判断意图,然后直接按对应子 skill 的指令执行。如果意图不明确,先询问用户想做什么。

用户意图执行典型说法
安装部署setup-xhs-mcp 执行安装、部署、配置、第一次用、连不上
登录xhs-login 执行登录、扫码、切换账号、检查登录
发布内容post-to-xhs 执行发笔记、发图文、发视频、写一篇、上传
搜索xhs-search 执行搜索、找笔记、搜一下、有没有
浏览详情xhs-explore 执行推荐、首页、看详情、看评论
互动xhs-interact 执行点赞、收藏、评论、回复
查看用户xhs-profile 执行博主主页、看看这个作者
内容策划xhs-content-plan 执行选题、竞品分析、热门、涨粉

全局约束

  1. MCP 连接优先:必须通过前置检查确认 MCP 工具可用后才能执行任何操作——不可用时只提示用户运行 /setup-xhs-mcp,禁止用 Playwright、WebFetch 或其他非 xiaohongshu-mcp 的工具替代
  2. 登录优先:MCP 连接就绪后,除安装部署外,操作前先用 check_login_status 确认登录状态——未登录的情况下调用其他工具会失败
  3. 用户确认:发布、评论等写操作执行前展示内容让用户确认——因为这些操作发出后无法撤回,代表用户的公开行为
  4. 参数来源feed_idxsec_token 必须从搜索或浏览结果中获取,不可编造——编造的参数会导致 MCP 工具报错

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-c69b0b7623e22026-07-31