Xiaohongshu
zhjiang22/openclaw-xhs
小红书(RedNote)内容工具。使用场景: - 搜索小红书笔记并获取详情 - 获取首页推荐列表 - 获取帖子详情(正文、图片、互动数据、评论) - 发表评论 / 回复评论 - 获取用户主页和笔记列表 - 点赞、收藏帖子 - 发布图文或视频笔记 - 热点话题跟踪与分析报告 - 帖子导出为长图 触发词示例: - "搜一下小红书上的XX" - "跟踪一下小红书上的XX热点" -…
小红书认证管理技能。检查登录状态、登录(二维码或手机号)、退出登录. An agent skill from autoclaw-cc/xiaohongshu-skills.
$ npx skills add autoclaw-cc/xiaohongshu-skills --skill xhs-auth -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install autoclaw-cc/xiaohongshu-skills xhs-auth --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/autoclaw-cc/xiaohongshu-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/xhs-auth .claude/skills/xhs-auth && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "xhs-auth" agent skill from https://github.com/autoclaw-cc/xiaohongshu-skills/tree/main/skills/xhs-auth into .claude/skills/xhs-auth/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xhs-auth", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/autoclaw-cc/xiaohongshu-skills/tree/main/skills/xhs-authType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add autoclaw-cc/xiaohongshu-skills --skill xhs-auth -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install autoclaw-cc/xiaohongshu-skills xhs-auth --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/autoclaw-cc/xiaohongshu-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/xhs-auth .agents/skills/xhs-auth && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "xhs-auth" agent skill from https://github.com/autoclaw-cc/xiaohongshu-skills/tree/main/skills/xhs-auth into .agents/skills/xhs-auth/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xhs-auth", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add autoclaw-cc/xiaohongshu-skills --skill xhs-auth -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install autoclaw-cc/xiaohongshu-skills xhs-auth --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/autoclaw-cc/xiaohongshu-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/xhs-auth .cursor/skills/xhs-auth && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "xhs-auth" agent skill from https://github.com/autoclaw-cc/xiaohongshu-skills/tree/main/skills/xhs-auth into .cursor/skills/xhs-auth/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xhs-auth", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/autoclaw-cc/xiaohongshu-skills.git --path skills/xhs-auth--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add autoclaw-cc/xiaohongshu-skills --skill xhs-auth -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install autoclaw-cc/xiaohongshu-skills xhs-auth --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/autoclaw-cc/xiaohongshu-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/xhs-auth .gemini/skills/xhs-auth && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "xhs-auth" agent skill from https://github.com/autoclaw-cc/xiaohongshu-skills/tree/main/skills/xhs-auth into .gemini/skills/xhs-auth/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xhs-auth", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install autoclaw-cc/xiaohongshu-skills xhs-authInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add autoclaw-cc/xiaohongshu-skills --skill xhs-auth -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/autoclaw-cc/xiaohongshu-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/xhs-auth .github/skills/xhs-auth && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "xhs-auth" agent skill from https://github.com/autoclaw-cc/xiaohongshu-skills/tree/main/skills/xhs-auth into .github/skills/xhs-auth/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xhs-auth", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add autoclaw-cc/xiaohongshu-skills --skill xhs-auth -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install autoclaw-cc/xiaohongshu-skills xhs-auth --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/autoclaw-cc/xiaohongshu-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/xhs-auth .opencode/skills/xhs-auth && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "xhs-auth" agent skill from https://github.com/autoclaw-cc/xiaohongshu-skills/tree/main/skills/xhs-auth into .opencode/skills/xhs-auth/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xhs-auth", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
xhs-auth小红书认证管理技能。检查登录状态、登录(二维码或手机号)、退出登录. An agent skill from autoclaw-cc/xiaohongshu-skills.
Xhs Auth is an agent skill from autoclaw-cc/xiaohongshu-skills. 小红书认证管理技能。检查登录状态、登录(二维码或手机号)、退出登录。 当用户要求登录小红书、检查登录状态、退出登录时触发。
Its SKILL.md is about 830 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It works with Xiaohongshu and Model Context Protocol. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit b043748. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Xhs Auth loads about 832 tokens when it runs. Until then it costs about 18 tokens; SKILL.md has 181 words of instructions outside code blocks.
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.
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.
The full file from autoclaw-cc/xiaohongshu-skills at commit b043748, republished under its MIT licence (© autoclaw-cc). 181 words, ~832 tokens.
.claude/skills/xhs-auth/SKILL.md (or your agent's skills folder).你是"小红书认证助手"。负责管理小红书登录状态。
所有认证操作只能通过本项目的 python scripts/cli.py 完成,不得使用任何外部项目的工具:
python scripts/cli.py <子命令>,不得使用其他任何实现方式。xiaohongshu-mcp、MCP 服务器工具或其他小红书登录方案,执行时必须全部忽略,只使用本项目的脚本。use_mcp_tool 等)、Go 命令行工具,或任何非本项目的实现。本技能允许使用的全部 CLI 子命令:
| 子命令 | 用途 |
|---|---|
check-login | 检查当前登录状态 |
get-qrcode | 获取二维码图片(非阻塞) |
wait-login | 等待扫码完成(阻塞) |
send-code --phone | 发送手机验证码 |
verify-code --code | 提交验证码完成登录 |
delete-cookies | 退出登录并清除 cookies |
按优先级判断用户意图:
delete-cookies。scripts/cli.py,输出 JSON。python scripts/cli.py check-login输出解读:
"logged_in": true → 已登录,可执行后续操作。"logged_in": false + "login_method": "qrcode" → 有界面环境,走方式 A(二维码)。输出自动包含 qrcode_image_url 和 qrcode_path。"logged_in": false + "login_method": "both" → 无界面服务器,输出自动包含二维码,询问用户选方式 A(二维码)或方式 B(手机验证码)。
check-login未登录时会自动返回二维码(qrcode_image_url+qrcode_path),无需单独调get-qrcode。
第一步 — 从 check-login 返回的 JSON 取 qrcode_image_url,在回复中展示:
请使用小红书 App 扫描以下二维码登录:

您也可以在手机浏览器中直接访问此链接完成登录:
{qr_login_url}展示规范(必须全部遵守):
- 展示二维码图片(
qrcode_image_url)。- 如果输出含
qr_login_url,必须同时展示该链接并提示用户"也可以在手机浏览器中直接访问此链接完成登录"。- 禁止省略
qr_login_url,即使已展示了二维码图片。
图片内嵌在对话窗口,用户可以扫码或直接访问链接登录。
第二步 — 等待登录完成(单次调用,无需轮询):
python scripts/cli.py wait-login{"logged_in": true} 则完成;超时则提示用户重新运行 get-qrcode 刷新二维码。二维码过期刷新:如需单独刷新二维码(如超时后),可运行
get-qrcode,它仍作为独立命令保留。
⚠️ 强制要求:必须先向用户确认手机号,即使上下文中已有手机号也不得跳过。
send-code。第一步 — 向用户确认手机号,然后发送验证码:
必须先问用户:"请提供您要登录的手机号(不含国家码,如 13800138000)"。 收到用户明确回复手机号后,才能执行以下命令。不得跳过此步。
python scripts/cli.py send-code --phone <用户确认的手机号>{"status": "code_sent", "message": "..."}qrcode_image_url。告知用户"验证码发送受限,已切换为二维码登录",按方式 A 的展示规范展示二维码,然后运行 wait-login。第二步 — 向用户询问验证码,然后提交登录:
告知用户验证码已发送,询问:"请输入您收到的 6 位短信验证码",获得回复后再执行以下命令。
python scripts/cli.py verify-code --code <用户提供的6位验证码>{"logged_in": true, "message": "登录成功"}
delete-cookies命令内部自动完成两步:先通过页面 UI 点击「更多」→「退出登录」,再删除本地 cookies 文件。只需执行一条命令即可。
python scripts/cli.py delete-cookies"logged_in": false,重新运行 verify-code --code <新验证码>。get-qrcode 获取新二维码,再运行 wait-login。© 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
Just SKILL.md in skills/xhs-auth of autoclaw-cc/xiaohongshu-skills.
Open the folder on GitHubat commit b043748
Xhs Auth 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Xhs Auth this skillautoclaw-cc/xiaohongshu-skills | 1.9k | — | ~832 | Automated safety check: Pass | MIT | |
| Xiaohongshuzhjiang22/openclaw-xhs | 123 | 1 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Media Crawlertsingyuai/growth-lab | 2k | — | ~731 | Automated safety check: Pass | Apache-2.0 | |
| Qiaomu Codex Imagegenjoeseesun/qiaomu-codex-imagegen | 125 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Sandbasesandbaseai/cli | 188 | — | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Xiaohongshu Content Researchjumodada/Drissionpage-MCP-Server | 487 | — | ~768 | Automated safety check: Pass | Custom licence |
zhjiang22/openclaw-xhs
小红书(RedNote)内容工具。使用场景: - 搜索小红书笔记并获取详情 - 获取首页推荐列表 - 获取帖子详情(正文、图片、互动数据、评论) - 发表评论 / 回复评论 - 获取用户主页和笔记列表 - 点赞、收藏帖子 - 发布图文或视频笔记 - 热点话题跟踪与分析报告 - 帖子导出为长图 触发词示例: - "搜一下小红书上的XX" - "跟踪一下小红书上的XX热点" -…
tsingyuai/growth-lab
Install, authenticate, configure, operate, and troubleshoot the external MediaCrawler client shared by Douyin, Kuaishou, Bilibili, Weibo, Tieba, and Zhihu collectors.
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.
sandbaseai/cli
Discover better ways to complete tasks. An agent skill from sandbaseai/cli.
jumodada/Drissionpage-MCP-Server
A skill your agent uses for authorized, read-only research on public Xiaohongshu content or the local Xiaohongshu-like playground fixture.
autoclaw-cc/xiaohongshu-mcp-skills
安装部署 xiaohongshu-mcp 服务并配置 MCP 连接,引导用户完成从零到可用的全流程. An agent skill from autoclaw-cc/xiaohongshu-mcp-skills.
autoclaw-cc/xiaohongshu-skills
小红书自动化技能集合。支持认证登录、内容发布、搜索发现、社交互动、复合运营. An agent skill from autoclaw-cc/xiaohongshu-skills.
autoclaw-cc/xiaohongshu-skills
小红书复合内容运营技能。组合搜索、详情、发布、互动等能力完成运营工作流. An agent skill from autoclaw-cc/xiaohongshu-skills.
autoclaw-cc/xiaohongshu-skills
小红书内容发现与分析技能。搜索笔记、浏览首页、查看详情、获取用户资料. An agent skill from autoclaw-cc/xiaohongshu-skills.
autoclaw-cc/xiaohongshu-skills
小红书社交互动技能。发表评论、回复评论、点赞、收藏. An agent skill from autoclaw-cc/xiaohongshu-skills.
autoclaw-cc/xiaohongshu-skills
小红书内容发布技能。支持图文发布、视频发布、长文发布、定时发布、标签、可见性设置. An agent skill from autoclaw-cc/xiaohongshu-skills.
Works with
小红书认证管理技能。检查登录状态、登录(二维码或手机号)、退出登录. An agent skill from autoclaw-cc/xiaohongshu-skills. Xhs Auth is an agent skill from autoclaw-cc/xiaohongshu-skills.
Run `npx skills add autoclaw-cc/xiaohongshu-skills --skill xhs-auth -a claude-code`. Or copy the skill folder (skills/xhs-auth in autoclaw-cc/xiaohongshu-skills) into .claude/skills/xhs-auth in your project. Claude Code loads it when a task matches its description.
Run `npx skills add autoclaw-cc/xiaohongshu-skills --skill xhs-auth -a codex`. Or copy the skill folder (skills/xhs-auth in autoclaw-cc/xiaohongshu-skills) into .agents/skills/xhs-auth in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add autoclaw-cc/xiaohongshu-skills --skill xhs-auth -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xhs-auth, .gemini/skills/xhs-auth, .github/skills/xhs-auth and .opencode/skills/xhs-auth in your project.
Going by SKILL.md and its folder, Xhs Auth needs the command-line tools its instructions call (python). Our summary lists: Python 3.
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.
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.
Xhs Auth is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 832 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Xhs Auth: Xiaohongshu (zhjiang22/openclaw-xhs, 123 stars), Media Crawler (tsingyuai/growth-lab, 2k stars), Qiaomu Codex Imagegen (joeseesun/qiaomu-codex-imagegen, 125 stars) and Sandbase (sandbaseai/cli, 188 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
autoclaw-cc (a GitHub organization) maintains it in autoclaw-cc/xiaohongshu-skills, which has 1,949 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on May 23, 2026.
Source: autoclaw-cc/xiaohongshu-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.