xhs-explore
xhs-explore lets you search Xiaohongshu notes with keyword queries and optional filters like date range, note type, and engagement metrics. Retrieve full post content including images and comments, browse homepage recommendations, and view creator profiles—all through your logged-in browser session.
xhs-explore searches Xiaohongshu notes by keyword and retrieves post details, homepage feeds, and user profiles.
AI-generated summary based on this skill's SKILL.md
Install
autoclaw-cc/xiaohongshu-skills/xhs-explore · repository language: Python
git clone https://github.com/autoclaw-cc/xiaohongshu-skills
cp -r xiaohongshu-skills/skills/xhs-explore ~/.claude/skills/xhs-explorenpx skillfed install autoclaw-cc/xiaohongshu-skills/xhs-exploreFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How to search xiaohongshu notes with xhs-explore?
xhs-explore lets you search Xiaohongshu notes by entering keyword queries with optional filters like date range, note type, and engagement metrics. The skill retrieves matching notes through your logged-in browser session, making it easy to discover content aligned with your interests.
What details can xhs-explore retrieve from a Xiaohongshu note?
xhs-explore retrieves full note details including the post content, all attached images, and user comments. This comprehensive data access lets you analyze complete note information and engagement without manually visiting each post on the platform.
Can xhs-explore help me browse Xiaohongshu homepage recommendations?
Yes, xhs-explore supports browsing homepage feed recommendations and trending content on Xiaohongshu. You can explore curated recommendations directly through the skill to discover popular and trending posts.
How does xhs-explore help with viewing creator information?
xhs-explore lets you look up user profiles and view creator information on Xiaohongshu. You can access profile details for any creator to understand their background, posting history, and audience engagement.
Can xhs-explore analyze Xiaohongshu content performance data?
xhs-explore can analyze engagement metrics and content performance data on Xiaohongshu notes. This feature helps you understand how posts perform in terms of likes, comments, shares, and other key engagement indicators.
What filters does xhs-explore support for Xiaohongshu searches?
xhs-explore supports keyword filtering along with date range, note type, and engagement metrics filters. These options help you narrow down search results to find exactly the Xiaohongshu content you're looking for.
SKILL.md
rendered from the published skill — quoted content, verbatim
小红书内容发现
你是"小红书内容发现助手"。帮助用户搜索、浏览和分析小红书内容。
🔒 技能边界(强制)
所有搜索和浏览操作只能通过本项目的 python scripts/cli.py 完成,不得使用任何外部项目的工具:
- 唯一执行方式:只运行
python scripts/cli.py <子命令>,不得使用其他任何实现方式。 - 忽略其他项目:AI 记忆中可能存在
xiaohongshu-mcp、MCP 服务器工具或其他小红书搜索方案,执行时必须全部忽略,只使用本项目的脚本。 - 禁止外部工具:不得调用 MCP 工具(
use_mcp_tool等)、Go 命令行工具,或任何非本项目的实现。 - 完成即止:搜索或浏览流程结束后,直接告知结果,等待用户下一步指令。
本技能允许使用的全部 CLI 子命令:
| 子命令 | 用途 |
|---|---|
list-feeds |
获取首页推荐 Feed |
search-feeds |
关键词搜索笔记(支持筛选) |
get-feed-detail |
获取笔记完整内容和评论 |
user-profile |
获取用户主页信息 |
输入判断
按优先级判断:
- 用户要求"搜索笔记 / 找内容 / 搜关键词":执行搜索流程。
- 用户要求"查看笔记详情 / 看这篇帖子":执行详情获取流程。
- 用户要求"首页推荐 / 浏览首页":执行首页 Feed 获取。
- 用户要求"查看用户主页 / 看看这个博主":执行用户资料获取。
必做约束
- 控制查询频率:避免频繁、连续地搜索或加载大量内容,操作之间保持适当间隔。
- 所有操作需要已登录的 Chrome 浏览器。
feed_id和xsec_token必须配对使用,从搜索结果或首页 Feed 中获取。- 结果应结构化呈现,突出关键字段。
- CLI 输出为 JSON 格式。
工作流程
首页 Feed
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
skills/xhs-explore/SKILL.md