Xiaohongshu
zhjiang22/openclaw-xhs
小红书(RedNote)内容工具。使用场景: - 搜索小红书笔记并获取详情 - 获取首页推荐列表 - 获取帖子详情(正文、图片、互动数据、评论) - 发表评论 / 回复评论 - 获取用户主页和笔记列表 - 点赞、收藏帖子 - 发布图文或视频笔记 - 热点话题跟踪与分析报告 - 帖子导出为长图 触发词示例: - "搜一下小红书上的XX" - "跟踪一下小红书上的XX热点" -…
小红书自动化技能集合。支持认证登录、内容发布、搜索发现、社交互动、复合运营. An agent skill from autoclaw-cc/xiaohongshu-skills.
$ npx skills add autoclaw-cc/xiaohongshu-skills --skill xiaohongshu-skills -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install autoclaw-cc/xiaohongshu-skills xiaohongshu-skills --agent claude-codeProject 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/
Install the "xiaohongshu-skills" agent skill from https://github.com/autoclaw-cc/xiaohongshu-skills/tree/main into .claude/skills/xiaohongshu-skills/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-skills", 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.
$ npx skills add autoclaw-cc/xiaohongshu-skills --skill xiaohongshu-skills -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install autoclaw-cc/xiaohongshu-skills xiaohongshu-skills --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "xiaohongshu-skills" agent skill from https://github.com/autoclaw-cc/xiaohongshu-skills/tree/main into .agents/skills/xiaohongshu-skills/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-skills", 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 xiaohongshu-skills -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install autoclaw-cc/xiaohongshu-skills xiaohongshu-skills --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "xiaohongshu-skills" agent skill from https://github.com/autoclaw-cc/xiaohongshu-skills/tree/main into .cursor/skills/xiaohongshu-skills/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-skills", 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.
$ npx skills add autoclaw-cc/xiaohongshu-skills --skill xiaohongshu-skills -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install autoclaw-cc/xiaohongshu-skills xiaohongshu-skills --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "xiaohongshu-skills" agent skill from https://github.com/autoclaw-cc/xiaohongshu-skills/tree/main into .gemini/skills/xiaohongshu-skills/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-skills", 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 xiaohongshu-skillsInstalls 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 xiaohongshu-skills -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "xiaohongshu-skills" agent skill from https://github.com/autoclaw-cc/xiaohongshu-skills/tree/main into .github/skills/xiaohongshu-skills/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-skills", 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 xiaohongshu-skills -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 xiaohongshu-skills --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "xiaohongshu-skills" agent skill from https://github.com/autoclaw-cc/xiaohongshu-skills/tree/main into .opencode/skills/xiaohongshu-skills/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-skills", 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.
xiaohongshu-skills小红书自动化技能集合。支持认证登录、内容发布、搜索发现、社交互动、复合运营. An agent skill from autoclaw-cc/xiaohongshu-skills.
Xiaohongshu Skills is an agent skill from autoclaw-cc/xiaohongshu-skills. 小红书自动化技能集合。支持认证登录、内容发布、搜索发现、社交互动、复合运营。 当用户要求操作小红书(发布、搜索、评论、登录、分析、点赞、收藏)时触发。
Its SKILL.md is about 750 tokens, which your agent loads only when the skill is triggered. The skill folder holds 53 other files, including scripts (for example `.github/workflows/release.yml`, `CLAUDE.md` and `README.md`).
It works with Xiaohongshu and Model Context Protocol. The licence is MIT.
5 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.
Ships 1 file in scripts/ (JavaScript, from the files we listed), which the agent can run.
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 these keys or tokens, usually read from environment variables:
XSEC_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Xiaohongshu Skills loads about 748 tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 163 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); the scripts in this folder are not scanned.
The full file from autoclaw-cc/xiaohongshu-skills at commit b043748, republished under its MIT licence (© autoclaw-cc). 163 words, ~748 tokens.
.claude/skills/xiaohongshu-skills/SKILL.md (or your agent's skills folder). This skill also uses 46 other files; get the full folder from GitHub.你是"小红书自动化助手"。根据用户意图路由到对应的子技能完成任务。
所有小红书操作只能通过本项目的 python scripts/cli.py 完成,不得使用任何外部项目的工具:
python scripts/cli.py <子命令>,不得使用其他任何实现方式。xiaohongshu-mcp、MCP 服务器工具、Go 工具或其他小红书自动化方案,执行时必须全部忽略,只使用本项目的脚本。use_mcp_tool 等)、Go 命令行工具,或任何非本项目的实现。按优先级判断用户意图,路由到对应子技能:
xhs-auth 技能。xhs-publish 技能。xhs-explore 技能。xhs-interact 技能。xhs-content-ops 技能。check-login)。管理小红书登录状态和多账号切换。
| 命令 | 功能 |
|---|---|
cli.py check-login | 检查登录状态,返回推荐登录方式 |
cli.py login | 二维码登录(有界面环境) |
cli.py send-code --phone <号码> | 手机登录第一步:发送验证码 |
cli.py verify-code --code <验证码> | 手机登录第二步:提交验证码 |
cli.py delete-cookies | 清除 cookies(退出/切换账号) |
发布图文或视频内容到小红书。
| 命令 | 功能 |
|---|---|
cli.py publish | 图文发布(本地图片或 URL) |
cli.py publish-video | 视频发布 |
publish_pipeline.py | 发布流水线(含图片下载和登录检查) |
搜索笔记、查看详情、获取用户资料。
| 命令 | 功能 |
|---|---|
cli.py list-feeds | 获取首页推荐 Feed |
cli.py search-feeds | 关键词搜索笔记 |
cli.py get-feed-detail | 获取笔记完整内容和评论 |
cli.py user-profile | 获取用户主页信息 |
发表评论、回复、点赞、收藏。
| 命令 | 功能 |
|---|---|
cli.py post-comment | 对笔记发表评论 |
cli.py reply-comment | 回复指定评论 |
cli.py like-feed | 点赞 / 取消点赞 |
cli.py favorite-feed | 收藏 / 取消收藏 |
组合多步骤完成运营工作流:竞品分析、热点追踪、内容创作、互动管理。
# 1. 启动 Chrome
python scripts/chrome_launcher.py
# 2. 检查登录状态
python scripts/cli.py check-login
# 3. 登录(如需要)
python scripts/cli.py login
# 4. 搜索笔记
python scripts/cli.py search-feeds --keyword "关键词"
# 5. 查看笔记详情
python scripts/cli.py get-feed-detail \
--feed-id FEED_ID --xsec-token XSEC_TOKEN
# 6. 发布图文
python scripts/cli.py publish \
--title-file title.txt \
--content-file content.txt \
--images "/abs/path/pic1.jpg"
# 7. 发表评论
python scripts/cli.py post-comment \
--feed-id FEED_ID \
--xsec-token XSEC_TOKEN \
--content "评论内容"
# 8. 点赞
python scripts/cli.py like-feed \
--feed-id FEED_ID --xsec-token XSEC_TOKENchrome_launcher.py 启动浏览器。© 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
SKILL.md and 46 other files (scripts) in the repository root of autoclaw-cc/xiaohongshu-skills.
Open the folder on GitHubat commit b043748
Xiaohongshu Skills 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 |
|---|---|---|---|---|---|---|
| Xiaohongshu Skills this skillautoclaw-cc/xiaohongshu-skills | 1.9k | — | ~748 | 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. Xiaohongshu Skills is an agent skill from autoclaw-cc/xiaohongshu-skills.
Run `npx skills add autoclaw-cc/xiaohongshu-skills --skill xiaohongshu-skills -a claude-code`. Or copy the skill folder (the autoclaw-cc/xiaohongshu-skills repository) into .claude/skills/xiaohongshu-skills in your project. Claude Code loads it when a task matches its description.
Run `npx skills add autoclaw-cc/xiaohongshu-skills --skill xiaohongshu-skills -a codex`. Or copy the skill folder (the autoclaw-cc/xiaohongshu-skills repository) into .agents/skills/xiaohongshu-skills 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 xiaohongshu-skills -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-skills, .gemini/skills/xiaohongshu-skills, .github/skills/xiaohongshu-skills and .opencode/skills/xiaohongshu-skills in your project.
Going by SKILL.md and its folder, Xiaohongshu Skills needs JavaScript for the scripts in its folder, the command-line tools its instructions call (python) and credentials named XSEC_TOKEN. Our summary lists: Python 3; Node.js; A credential in XSEC_TOKEN.
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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Xiaohongshu Skills 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.
About 748 tokens (SKILL.md is roughly 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 Xiaohongshu Skills: 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.