xhs-search
Skill269 starsChanged 9 months agoMITView on GitHub
搜索小红书笔记,支持关键词搜索和多维度筛选(排序、内容类型、时间范围、位置等)。 当用户想在小红书上搜索、查找内容时使用——包括搜笔记、找攻略、看看小红书上有没有某某内容、搜一下、查一查等场景。
In this repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- xiaohongshuSkill
- post-to-xhsSkill
- setup-xhs-mcpSkill
- xhs-content-planSkill
- xhs-exploreSkill
- xhs-interactSkill
- xhs-loginSkill
- xhs-profileSkill
The file
Files
执行流程
1. 确认搜索条件
从用户输入中提取:
keyword(必填)— 搜索关键词filters(可选)— 筛选条件
2. 调用搜索
调用 search_feeds:
keyword(string,必填)filters(object,可选):sort_by:综合 | 最新 | 最多点赞 | 最多评论 | 最多收藏note_type:不限 | 视频 | 图文publish_time:不限 | 一天内 | 一周内 | 半年内search_scope:不限 | 已看过 | 未看过 | 已关注location:不限 | 同城 | 附近
3. 展示结果
将搜索结果整理为列表展示,每条包含:
- 标题、作者
- 点赞数、评论数、收藏数
feed_id和xsec_token(后续操作需要)
提示用户可以:
- 查看某条笔记详情(使用 xhs-explore)
- 对笔记进行互动(使用 xhs-interact)
失败处理
| 场景 | 处理 |
| 未登录 | 引导使用 xhs-login 登录 |
| 无搜索结果 | 建议调整关键词或筛选条件 |
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.

