This is a full-featured automation assistant for Xiaohongshu (Little Red Book), China's Instagram-meets-Pinterest platform. It handles login via QR code, publishes image and video posts, searches and browses content, performs interactions like likes and comments, views creator profiles, and helps with content strategy. Built on the xiaohongshu-mcp service, it won't fall back to generic browser automation if the MCP tools aren't configured. The skill enforces login checks before operations and requires user confirmation before posting or commenting, which makes sense given these are public actions tied to your account. If you're managing a Xiaohongshu presence or doing competitor research on the platform, this covers the workflow end to end.

skills.sh installs
3K
GitHub stars
277
last updated
Aug 21, 2026

Install

$ npx -y skills add autoclaw-cc/xiaohongshu-mcp-skills --skill xiaohongshu --agent claude-code

Installs into .claude/skills of the current project.

Files

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

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

所有小红书操作依赖 xiaohongshu-mcp 提供的 MCP 工具(如 check_login_status、search_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_id 和 xsec_token 必须从搜索或浏览结果中获取,不可编造——编造的参数会导致 MCP 工具报错

Sponsors

Details

Repository
github.com/autoclaw-cc/xiaohongshu-mcp-skills
Category
AI & Agent Building
First seen
May 16, 2026
1deckardger avatartanstack-integration-best-practicesdeckardger/tanstack-agent-skillsBest practices for integrating TanStack Query with TanStack Router and TanStack Start. Patterns for full-stack data flow, SSR, and caching coordination.3Kskills.sh installs
2redis avatarredis-connectionsredis/agent-skillsRedis client and connection guidance covering connection pooling, multiplexing, pipelining, client-side caching with RESP3, avoiding slow commands (KEYS, SMEMBE3Kskills.sh installs
3sanity-io avatarportable-text-serializationsanity-io/agent-toolkitRender and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing Portable Text rendering in any frontend f3Kskills.sh installs
4openai avatardefine-goalopenai/skillsHelp the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an objective, clarify s3Kskills.sh installs
5elastic avatarelasticsearch-file-ingestelastic/agent-skillsIngest and transform data files (CSV/JSON/Parquet/Arrow IPC) into Elasticsearch with stream processing and custom transforms. Use when loading files or batch im3Kskills.sh installs
6shubhamsaboo avatardecision-helpershubhamsaboo/awesome-llm-appsStructured decision-making frameworks for evaluating options and making informed choices. Use when: making decisions, evaluating options, weighing trade-offs, o3Kskills.sh installs