xiaohongshu-cli
Skill1 starsChanged 14 days agoMITView on GitHub
1 other project uses a version of this.
Adopted by
Most recently taken up by
- jackwener/xiaohongshu-clitheir own version, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- jackwener/xiaohongshu-cli★ 2.7ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/00-agents-standard.mdcCursor rule
- .cursor/rules/dy-publish.mdcCursor rule
- .cursor/rules/jev-claude.mdcCursor rule
- .cursor/rules/xhs-bundesliga.mdcCursor rule
- .cursor/rules/xhs-package-dod.mdcCursor rule
- .cursor/rules/xhs-publish-plain-text.mdcCursor rule
- .cursor/rules/xhs-series-v2.mdcCursor rule
- .cursor/rules/xhs-traffic.mdcCursor rule
- football-content-opsSkill
- atutun-xhs-coverSkill
- dbs-xhs-titleSkill
- douyin-cliSkill
- dy-content-complianceSkill
- dy-culture-rxSkill
- dy-flowus-dbSkill
- dy-note-adaptSkill
- ip-character-systemSkill
- jev-judgeSkill
- tt-note-adaptSkill
- xhs-account-positioningSkill
- xhs-content-complianceSkill
- xhs-flowus-dbSkill
- xhs-note-structureSkill
- xhs-pipelineSkill
- xhs-title-ab-testSkill
- xhs-title-skillSkill
- xhs-topic-bankSkill
- xhs-voice-polishSkill
- xhs-weekly-retroSkill
The file
We found no rules to list in this file: it reads as prose or reference rather than instructions.
Files
xiaohongshu-cli — 小红书 CLI 工具
用途
小红书全操作:搜索、阅读、互动、发帖。
安装
uv tool install xiaohongshu-cli
# 或 pipx install xiaohongshu-cli认证流程
# Step 0: 检查是否已登录
xhs status --yaml >/dev/null && echo "AUTH_OK" || echo "AUTH_NEEDED"
# Step 1: 登录(三选一)
xhs login # 自动从浏览器提取 cookie
xhs login --cookie-source arc # 指定浏览器
xhs login --qrcode # 扫码登录
# Step 2: 验证
xhs whoami常用命令
读取类
| 命令 | 说明 |
xhs search <keyword> | 搜索笔记 |
xhs read <id_or_url> | 读取笔记 |
xhs comments <id_or_url> --all | 获取全部评论 |
xhs user <user_id> | 查看用户主页 |
xhs user-posts <user_id> | 列出用户笔记 |
xhs feed | 浏览推荐流 |
xhs hot -c <category> | 浏览热门(fashion/food/cosmetics/travel/fitness 等) |
xhs topics <keyword> | 搜索话题/标签 |
xhs search-user <keyword> | 搜索用户 |
xhs my-notes | 列出已发布笔记 |
xhs notifications | 查看通知 |
xhs unread | 未读消息数 |
互动类
| 命令 | 说明 |
xhs like <id> | 点赞 |
xhs favorite <id> | 收藏 |
xhs comment <id> -c "text" | 评论 |
xhs follow <user_id> | 关注 |
创作类
| 命令 | 说明 |
xhs post --title "..." --body "..." --images img.png | 发布笔记;--body 禁止 * / ** |
xhs delete <id> | 删除笔记 |
账号类
| 命令 | 说明 |
xhs login | 登录 |
xhs status | 检查认证状态 |
xhs logout | 清除 cookie |
xhs whoami | 当前用户信息 |
注意事项
- 不要并行化请求(有内置限速)
- 不要绕过 rate-limit
- 不要把 cookie 值输出到日志
- 不支持:视频下载、私信、直播、关注者列表
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

