小红书(RED/XHS)自动化助手。提供完整的小红书操作能力:登录、发布图文/视频、搜索笔记、浏览详情、点赞收藏评论、查看博主主页、内容策划。

MITAuto-check passed

Install Xiaohongshu

skills CLI
$ npx skills add autoclaw-cc/xiaohongshu-mcp-skills --skill xiaohongshu -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install autoclaw-cc/xiaohongshu-mcp-skills xiaohongshu --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
xiaohongshu
GitHub stars
272
Used in
1 other repo
Token cost
~357 tokens
SKILL.md length
100 words
Files
6
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

小红书(RED/XHS)自动化助手。提供完整的小红书操作能力:登录、发布图文/视频、搜索笔记、浏览详情、点赞收藏评论、查看博主主页、内容策划。

  • Works in 4 steps: MCP 连接优先:必须通过前置检查确认 MCP… → 登录优先:MCP 连接就绪后,除安装部署外,操作前先用… → 用户确认:发布、评论等写操作执行前展示内容让用户确认——因为这些操作发出后无法撤回… → …
  • SKILL.md covers 前置检查(每次执行必做), 意图识别与路由 and 全局约束
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

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

Its SKILL.md is about 360 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `CLAUDE.md` and `README.md`).

It works with Xiaohongshu and Model Context Protocol. The repository describes itself as: xiaohongshu-mcp skills. The licence is MIT.

Example prompts

  • “但描述的场景明显是小红书(如”
  • “帮我分析这个博主”
  • “/xiaohongshu”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

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

What it can do on your machine

Read from SKILL.md and the folder at commit c79206c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Xiaohongshu loads about 357 tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 100 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~49
When it runs · the whole SKILL.md, loaded when a task matches
~357

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from autoclaw-cc/xiaohongshu-mcp-skills at commit c79206c, republished under its MIT licence (© autoclaw-cc). 100 words, ~357 tokens.

Download SKILL.mdSave it as .claude/skills/xiaohongshu/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
xiaohongshu
description
小红书(RED/XHS)自动化助手。提供完整的小红书操作能力:登录、发布图文/视频、搜索笔记、浏览详情、点赞收藏评论、查看博主主页、内容策划。 当用户提到小红书、红书、XHS、RED、发笔记、搜笔记、小红书运营等任何与小红书相关的操作时使用此 skill,即使用户没有明确说"小红书"但描述的场景明显是小红书(如"发一篇种草笔记"、"帮我分析这个博主")也应触发。

你是小红书自动化助手,通过 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 工具报错

© autoclaw-cc, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files in the repository root of autoclaw-cc/xiaohongshu-mcp-skills.

  • SKILL.md
  • .gitignore
  • CLAUDE.md
  • LICENSE
  • README.md
  • skills

Open the folder on GitHubat commit c79206c

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in autoclaw-cc/xiaohongshu-mcp-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Xiaohongshu next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Xiaohongshu compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Xiaohongshu this skillautoclaw-cc/xiaohongshu-mcp-skills2721 repos~357Automated safety check: PassMIT
Xiaohongshu Skillsautoclaw-cc/xiaohongshu-skills1.9k—~748Automated safety check: PassMIT
Xiaohongshuzhjiang22/openclaw-xhs1231 repos~1.1kAutomated safety check: PassMIT
Media Crawlertsingyuai/growth-lab2k—~731Automated safety check: PassApache-2.0
Qiaomu Codex Imagegenjoeseesun/qiaomu-codex-imagegen125—~2.3kAutomated safety check: PassMIT
Xhs Authautoclaw-cc/xiaohongshu-skills1.9k—~832Automated safety check: PassMIT

Similar skills

  • Xiaohongshu Skills

    autoclaw-cc/xiaohongshu-skills

    小红书自动化技能集合。支持认证登录、内容发布、搜索发现、社交互动、复合运营. An agent skill from autoclaw-cc/xiaohongshu-skills.

    1.9k GitHub stars~748 tokensUpdated 4 mo ago
    Auto-check passed
  • Xiaohongshu

    zhjiang22/openclaw-xhs

    小红书(RedNote)内容工具。使用场景: - 搜索小红书笔记并获取详情 - 获取首页推荐列表 - 获取帖子详情(正文、图片、互动数据、评论) - 发表评论 / 回复评论 - 获取用户主页和笔记列表 - 点赞、收藏帖子 - 发布图文或视频笔记 - 热点话题跟踪与分析报告 - 帖子导出为长图 触发词示例: - "搜一下小红书上的XX" - "跟踪一下小红书上的XX热点" -…

    123 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Media Crawler

    tsingyuai/growth-lab

    Install, authenticate, configure, operate, and troubleshoot the external MediaCrawler client shared by Douyin, Kuaishou, Bilibili, Weibo, Tieba, and Zhihu collectors.

    2k GitHub stars~731 tokensUpdated 13 days ago
    Data & AnalyticsAuto-check passed
  • Qiaomu Codex Imagegen

    joeseesun/qiaomu-codex-imagegen

    Generate or edit images with Codex's built-in image generation from any agent, through an MCP tool or a plain CLI.

    125 GitHub stars~2.3k tokensUpdated 7 days ago
    Media & CreativeAuto-check passed
  • Xhs Auth

    autoclaw-cc/xiaohongshu-skills

    小红书认证管理技能。检查登录状态、登录(二维码或手机号)、退出登录. An agent skill from autoclaw-cc/xiaohongshu-skills.

    1.9k GitHub stars~832 tokensUpdated 4 mo ago
    Auto-check passed
  • Sandbase

    sandbaseai/cli

    Discover better ways to complete tasks. An agent skill from sandbaseai/cli.

    188 GitHub stars~3.1k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from autoclaw-cc/xiaohongshu-mcp-skills

All 9 skills in this repo
  • Setup Xhs MCP

    autoclaw-cc/xiaohongshu-mcp-skills

    安装部署 xiaohongshu-mcp 服务并配置 MCP 连接,引导用户完成从零到可用的全流程. An agent skill from autoclaw-cc/xiaohongshu-mcp-skills.

    272 GitHub stars~678 tokensUpdated 7 mo ago
    Auto-check passed
  • Xhs Login

    autoclaw-cc/xiaohongshu-mcp-skills

    管理小红书登录状态:检查是否已登录、二维码扫码登录、重置登录切换账号. An agent skill from autoclaw-cc/xiaohongshu-mcp-skills.

    272 GitHub stars~255 tokensUpdated 7 mo ago
    Auto-check passed
  • Post To Xhs

    autoclaw-cc/xiaohongshu-mcp-skills

    发布内容到小红书,支持图文笔记和视频笔记。自动判断发布类型,校验标题和素材,用户确认后发布. An agent skill from autoclaw-cc/xiaohongshu-mcp-skills.

    272 GitHub stars~380 tokensUpdated 7 mo ago
    Auto-check passed
  • Xhs Explore

    autoclaw-cc/xiaohongshu-mcp-skills

    浏览小红书推荐流、查看笔记详情和评论. An agent skill from autoclaw-cc/xiaohongshu-mcp-skills.

    272 GitHub stars~198 tokensUpdated 7 mo ago
    Auto-check passed
  • Xhs Interact

    autoclaw-cc/xiaohongshu-mcp-skills

    对小红书笔记进行互动:点赞/取消点赞、收藏/取消收藏、发表评论、回复评论. An agent skill from autoclaw-cc/xiaohongshu-mcp-skills.

    272 GitHub stars~284 tokensUpdated 7 mo ago
    Auto-check passed
  • Xhs Content Plan

    autoclaw-cc/xiaohongshu-mcp-skills

    小红书内容策划助手:搜索分析热门内容和竞品,帮助规划内容方向、选题、标签策略. An agent skill from autoclaw-cc/xiaohongshu-mcp-skills.

    272 GitHub stars~141 tokensUpdated 7 mo ago
    Auto-check passed

Questions about Xiaohongshu

What does Xiaohongshu do?

小红书(RED/XHS)自动化助手。提供完整的小红书操作能力:登录、发布图文/视频、搜索笔记、浏览详情、点赞收藏评论、查看博主主页、内容策划。. Xiaohongshu is an agent skill from autoclaw-cc/xiaohongshu-mcp-skills.

How do I install Xiaohongshu in Claude Code?

Run `npx skills add autoclaw-cc/xiaohongshu-mcp-skills --skill xiaohongshu -a claude-code`. Or copy the skill folder (the autoclaw-cc/xiaohongshu-mcp-skills repository) into .claude/skills/xiaohongshu in your project. Claude Code loads it when a task matches its description.

How do I install Xiaohongshu in Codex?

Run `npx skills add autoclaw-cc/xiaohongshu-mcp-skills --skill xiaohongshu -a codex`. Or copy the skill folder (the autoclaw-cc/xiaohongshu-mcp-skills repository) into .agents/skills/xiaohongshu in your project. Codex loads it when a task matches its description.

Can I use Xiaohongshu in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add autoclaw-cc/xiaohongshu-mcp-skills --skill xiaohongshu -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xiaohongshu, .gemini/skills/xiaohongshu, .github/skills/xiaohongshu and .opencode/skills/xiaohongshu in your project.

What does Xiaohongshu need to run?

SKILL.md names no scripts, command-line tools or credentials: Xiaohongshu is instructions for the agent only.

Does Xiaohongshu access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Xiaohongshu safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Xiaohongshu use?

Xiaohongshu is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Xiaohongshu use?

About 357 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Xiaohongshu?

Skills that share tags, products or a category with Xiaohongshu: Xiaohongshu Skills (autoclaw-cc/xiaohongshu-skills, 1.9k stars), Xiaohongshu (zhjiang22/openclaw-xhs, 123 stars), Media Crawler (tsingyuai/growth-lab, 2k stars) and Qiaomu Codex Imagegen (joeseesun/qiaomu-codex-imagegen, 125 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Xiaohongshu?

autoclaw-cc (a GitHub organization) maintains it in autoclaw-cc/xiaohongshu-mcp-skills, which has 272 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on March 5, 2026.

Source: autoclaw-cc/xiaohongshu-mcp-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.