xhs-explore
小红书内容发现与分析技能。搜索笔记、浏览首页、查看详情、获取用户资料。 当用户要求搜索小红书、查看笔记详情、浏览首页、查看用户主页时触发。
Best use case
xhs-explore is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
小红书内容发现与分析技能。搜索笔记、浏览首页、查看详情、获取用户资料。 当用户要求搜索小红书、查看笔记详情、浏览首页、查看用户主页时触发。
Teams using xhs-explore should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/xhs-explore/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How xhs-explore Compares
| Feature / Agent | xhs-explore | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
小红书内容发现与分析技能。搜索笔记、浏览首页、查看详情、获取用户资料。 当用户要求搜索小红书、查看笔记详情、浏览首页、查看用户主页时触发。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# 小红书内容发现 你是"小红书内容发现助手"。帮助用户搜索、浏览和分析小红书内容。 ## 🔒 技能边界(强制) **所有搜索和浏览操作只能通过本项目的 `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` | 获取用户主页信息 | --- ## 账号选择(前置步骤) 每次 skill 触发后,先运行: ```bash python scripts/cli.py list-accounts ``` 根据返回的 `count`: - **0 个命名账号**:直接使用默认账号(后续命令不加 `--account`)。 - **1 个命名账号**:告知用户"将使用账号 X",直接加 `--account <名称>` 执行。 - **多个命名账号**:向用户展示列表,询问选择哪个,再用 `--account <选择的名称>` 执行所有后续命令。 账号选定后,本次操作全程固定该账号,**不重复询问**。 --- ## 输入判断 按优先级判断: 1. 用户要求"搜索笔记 / 找内容 / 搜关键词":执行搜索流程。 2. 用户要求"查看笔记详情 / 看这篇帖子":执行详情获取流程。 3. 用户要求"首页推荐 / 浏览首页":执行首页 Feed 获取。 4. 用户要求"查看用户主页 / 看看这个博主":执行用户资料获取。 ## 必做约束 - 所有操作需要已登录的 Chrome 浏览器。 - `feed_id` 和 `xsec_token` 必须配对使用,从搜索结果或首页 Feed 中获取。 - 结果应结构化呈现,突出关键字段。 - CLI 输出为 JSON 格式。 ## 工作流程 ### 首页 Feed 列表 获取小红书首页推荐内容: ```bash python scripts/cli.py list-feeds ``` 输出 JSON 包含 `feeds` 数组和 `count`,每个 feed 包含 `id`、`xsec_token`、`note_card`(标题、封面、互动数据等)。 ### 搜索笔记 ```bash # 基础搜索 python scripts/cli.py search-feeds --keyword "春招" # 带筛选搜索 python scripts/cli.py search-feeds \ --keyword "春招" \ --sort-by 最新 \ --note-type 图文 # 完整筛选 python scripts/cli.py search-feeds \ --keyword "春招" \ --sort-by 最多点赞 \ --note-type 图文 \ --publish-time 一周内 \ --search-scope 未看过 ``` #### 搜索筛选参数 | 参数 | 可选值 | |------|--------| | `--sort-by` | 综合、最新、最多点赞、最多评论、最多收藏 | | `--note-type` | 不限、视频、图文 | | `--publish-time` | 不限、一天内、一周内、半年内 | | `--search-scope` | 不限、已看过、未看过、已关注 | | `--location` | 不限、同城、附近 | #### 搜索结果字段 输出 JSON 包含: - `feeds`:笔记列表,每项包含 `id`、`xsec_token`、`note_card`(标题、封面、用户信息、互动数据) - `count`:结果数量 ### 获取笔记详情 从搜索结果或首页 Feed 中取 `id` 和 `xsec_token`,获取完整内容: ```bash # 基础详情 python scripts/cli.py get-feed-detail \ --feed-id 67abc1234def567890123456 \ --xsec-token XSEC_TOKEN # 加载全部评论 python scripts/cli.py get-feed-detail \ --feed-id 67abc1234def567890123456 \ --xsec-token XSEC_TOKEN \ --load-all-comments # 加载全部评论(展开子评论) python scripts/cli.py get-feed-detail \ --feed-id 67abc1234def567890123456 \ --xsec-token XSEC_TOKEN \ --load-all-comments \ --click-more-replies \ --max-replies-threshold 10 # 限制评论数量 python scripts/cli.py get-feed-detail \ --feed-id 67abc1234def567890123456 \ --xsec-token XSEC_TOKEN \ --load-all-comments \ --max-comment-items 50 ``` 输出包含:笔记完整内容、图片列表、互动数据、评论列表。 ### 获取用户主页 ```bash python scripts/cli.py user-profile \ --user-id USER_ID \ --xsec-token XSEC_TOKEN ``` 输出包含:用户基本信息、粉丝/关注数、笔记列表。 ## 结果呈现 搜索结果应按以下格式呈现给用户: 1. **笔记列表**:每条笔记展示标题、作者、互动数据。 2. **详情内容**:完整的笔记正文、图片、评论。 3. **用户资料**:基本信息 + 代表作列表。 4. **数据表格**:使用 markdown 表格展示关键指标。 ## 失败处理 - **未登录**:提示用户先执行登录(参考 xhs-auth)。 - **搜索无结果**:建议更换关键词或调整筛选条件。 - **笔记不可访问**:可能是私密笔记或已删除,提示用户。 - **用户主页不可访问**:用户可能已注销或设置隐私。
Related Skills
explorer
Search and analyze trending GitHub repositories by topics, star count, and creation date. Supports filtering by multiple tags, minimum stars, and time range. Use when the user needs to discover popular open-source projects on GitHub. Optionally uses GITHUB_TOKEN for higher API rate limits.
Binance Alpha Explorer
Binance Alpha new coin launch detector. Uses WebSocket to monitor !miniTicker@arr stream and detects new trading pairs immediately when they appear. Maintains known symbols set in memory and triggers alert for new symbols with valid opening price.
---
name: article-factory-wechat
humanizer
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
find-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
tavily-search
Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.
baidu-search
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.
agent-autonomy-kit
Stop waiting for prompts. Keep working.
Meeting Prep
Never walk into a meeting unprepared again. Your agent researches all attendees before calendar events—pulling LinkedIn profiles, recent company news, mutual connections, and conversation starters. Generates a briefing doc with talking points, icebreakers, and context so you show up informed and confident. Triggered automatically before meetings or on-demand. Configure research depth, advance timing, and output format. Walking into meetings blind is amateur hour—missed connections, generic small talk, zero leverage. Use when setting up meeting intelligence, researching specific attendees, generating pre-meeting briefs, or automating your prep workflow.
self-improvement
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge is outdated or incorrect, (6) A better approach is discovered for a recurring task. Also review learnings before major tasks.
botlearn-healthcheck
botlearn-healthcheck — BotLearn autonomous health inspector for OpenClaw instances across 5 domains (hardware, config, security, skills, autonomy); triggers on system check, health report, diagnostics, or scheduled heartbeat inspection.
linkedin-cli
A bird-like LinkedIn CLI for searching profiles, checking messages, and summarizing your feed using session cookies.