Skip to content
Back to search

xiaohongshu

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

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/autoclaw-cc-xiaohongshu-mcp-skills/badge.svg)](/listings/autoclaw-cc-xiaohongshu-mcp-skills)

HTML

<a href="/listings/autoclaw-cc-xiaohongshu-mcp-skills"><img src="/api/listings/autoclaw-cc-xiaohongshu-mcp-skills/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

OpenClaw

下载本项目到本地后,解压到 OpenClaw 的 SKILLS 目录下重启会话生效。

Claude Code

# 项目级别
cp -r skills/ .claude/skills/

# 或全局级别
cp -r skills/ ~/.claude/skills/

根 `SKILL.md` 可作为统一入口使用,也可以直接使用各子 skill。

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

SKILL.md · Manifest · 39 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. ---
  2. name: xiaohongshu
  3. description: |
  4. 小红书(RED/XHS)自动化助手。提供完整的小红书操作能力:登录、发布图文/视频、搜索笔记、浏览详情、点赞收藏评论、查看博主主页、内容策划。
  5. 当用户提到小红书、红书、XHS、RED、发笔记、搜笔记、小红书运营等任何与小红书相关的操作时使用此 skill,即使用户没有明确说"小红书"但描述的场景明显是小红书(如"发一篇种草笔记"、"帮我分析这个博主")也应触发。
  6. ---
  7. 你是小红书自动化助手,通过 xiaohongshu-mcp 的 MCP 工具帮助用户操作小红书。
  8. ## 前置检查(每次执行必做)
  9. 所有小红书操作依赖 xiaohongshu-mcp 提供的 MCP 工具(如 `check_login_status`、`search_feeds` 等)。执行任何操作前,先确认这些工具是否可用:
  10. **判断方法**:检查当前可用的 MCP 工具列表中是否存在 `check_login_status`。
  11. - **工具存在** → 正常执行后续流程
  12. - **工具不存在** → 说明 xiaohongshu-mcp 服务未配置。直接告知用户:「小红书 MCP 服务尚未连接,请先运行 `/setup-xhs-mcp` 完成部署和配置。」不要尝试用其他工具(如 Playwright、WebFetch)代替。
  13. ## 意图识别与路由
  14. 根据用户输入判断意图,然后直接按对应子 skill 的指令执行。如果意图不明确,先询问用户想做什么。
  15. | 用户意图 | 执行 | 典型说法 |
  16. |---|---|---|
  17. | 安装部署 | 按 `setup-xhs-mcp` 执行 | 安装、部署、配置、第一次用、连不上 |
  18. | 登录 | 按 `xhs-login` 执行 | 登录、扫码、切换账号、检查登录 |
  19. | 发布内容 | 按 `post-to-xhs` 执行 | 发笔记、发图文、发视频、写一篇、上传 |
  20. | 搜索 | 按 `xhs-search` 执行 | 搜索、找笔记、搜一下、有没有 |
  21. | 浏览详情 | 按 `xhs-explore` 执行 | 推荐、首页、看详情、看评论 |
  22. | 互动 | 按 `xhs-interact` 执行 | 点赞、收藏、评论、回复 |
  23. | 查看用户 | 按 `xhs-profile` 执行 | 博主主页、看看这个作者 |
  24. | 内容策划 | 按 `xhs-content-plan` 执行 | 选题、竞品分析、热门、涨粉 |
  25. ## 全局约束
  26. 1. **MCP 连接优先**:必须通过前置检查确认 MCP 工具可用后才能执行任何操作——不可用时只提示用户运行 `/setup-xhs-mcp`,禁止用 Playwright、WebFetch 或其他非 xiaohongshu-mcp 的工具替代
  27. 2. **登录优先**:MCP 连接就绪后,除安装部署外,操作前先用 `check_login_status` 确认登录状态——未登录的情况下调用其他工具会失败
  28. 3. **用户确认**:发布、评论等写操作执行前展示内容让用户确认——因为这些操作发出后无法撤回,代表用户的公开行为
  29. 4. **参数来源**:`feed_id` 和 `xsec_token` 必须从搜索或浏览结果中获取,不可编造——编造的参数会导致 MCP 工具报错
README.md · README · 61 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. # xiaohongshu-mcp-skills
  2. 基于 [xiaohongshu-mcp](https://github.com/xpzouying/xiaohongshu-mcp) 的 Agent Skills 集合,为小红书提供完整的自动化操作能力。兼容 [Agent Skills 开放标准](https://agentskills.io),支持 OpenClaw、Claude Code 等平台。
  3. ## 功能
  4. | Skill | 说明 |
  5. |---|---|
  6. | **setup-xhs-mcp** | 安装部署 xiaohongshu-mcp 服务 |
  7. | **xhs-login** | 登录管理(扫码登录、状态检查、重新登录) |
  8. | **post-to-xhs** | 发布图文/视频笔记 |
  9. | **xhs-search** | 搜索笔记(支持多维度筛选) |
  10. | **xhs-explore** | 浏览推荐流、查看笔记详情和评论 |
  11. | **xhs-interact** | 互动操作(点赞、收藏、评论、回复) |
  12. | **xhs-profile** | 查看用户主页和作品 |
  13. | **xhs-content-plan** | 内容策划(热门分析、竞品研究、选题建议) |
  14. ## 前置条件
  15. - 已安装并运行 [xiaohongshu-mcp](https://github.com/xpzouying/xiaohongshu-mcp) 服务
  16. - 如未安装,使用 `setup-xhs-mcp` skill 引导完成
  17. ## 安装
  18. ### OpenClaw
  19. 下载本项目到本地后,解压到 OpenClaw 的 SKILLS 目录下重启会话生效。
  20. ### Claude Code
  21. ```bash
  22. # 项目级别
  23. cp -r skills/ .claude/skills/
  24. # 或全局级别
  25. cp -r skills/ ~/.claude/skills/
  26. ```
  27. 根 `SKILL.md` 可作为统一入口使用,也可以直接使用各子 skill。
  28. ## 使用示例
  29. ```
  30. # 首次使用:安装 MCP 服务和登录
  31. /setup-xhs-mcp
  32. /xhs-login
  33. # 搜索和浏览
  34. /xhs-search 美食探店
  35. /xhs-explore
  36. # 发布内容
  37. /post-to-xhs
  38. # 互动
  39. /xhs-interact
  40. ```
  41. ## 许可证
  42. MIT

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.