Agent skill · Media & Video

xiaohongshu-search-full

Search Xiaohongshu (XHS / RedNote) notes by keyword with full field extraction including body text, topics/tags, image list URLs, video stream URL, publish timestamp, and all engagement stats (likes, collects, comments, shares). Supports all page filter options: sort order (general, latest, most liked, most commented, most collected), note type (image-text, video), publish time range (within 1 day, 1 week, 6 months), search scope (seen, unseen, followed), and location distance (same city, nearby). Use when user mentions search xiaohongshu notes, xhs keyword search, rednote note search, search

browser-actgithub.com/browser-actGitHub ↗
claude-codecodexcursorships scriptsMIT
Install
npx skills add browser-act/skills --skill xiaohongshu-search-full --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 21 KB
Bundled scripts: yes
Path: solutions/social-listening/xiaohongshu-search-full/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 5,160
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Xiaohongshu — Search Notes (Full Fields) > keyword + filters → note list with full metadata (title, body, images, video URL, tags, stats) + detail enrichment ## Language All process output to user (progress updates, process notifications) follows the user's language. ## Objective Search Xiaohongshu notes by keyword, apply page filter options, and extract the maximum available fields from both the search results list and individual note detail pages. ## Prerequisites - Browser opened to `https://www.xiaohongshu.com/search_result/?keyword={keyword}` - User is logged in (avatar or username visible in the left sidebar) ## Phase 0: Collect User Inputs **First action**: check whether the search keyword is already present in the user's message. **Keyword is present** (e.g., "搜索 BrowserAct", "search for AI tools", "/xiaohongshu-search-full blockchain") → use it directly, skip to Pre-execution Checks. **Keyword is NOT present** → STOP. Do NOT output "ready" or proceed with any execution. Ask the user for the keyword: - If the **AskUserQuestion** tool is available → call it immediately with: - Question 1 (required): "请问您想在小红书上搜索什么关键词?" - Question 2 (optional): pages needed (default: first

What's inside
Steps it walks through
  1. Language
  2. Objective
  3. Prerequisites
  4. Phase 0: Collect User Inputs
  5. Pre-execution Checks
  6. 1. Tool Readiness
  7. 2. Login Verification
  8. Capability Components
  9. DOM: extract search feeds list (preferred method)
  10. AI Workflow: keyword search (title + body match)
  11. Network Capture: search notes list (fallback method)
  12. DOM: extract note detail (body, topics, video URL, exact timestamp)
  13. AI Workflow: apply filters (before search capture)
  14. Composite: search + enrich (search list → detail page loop)
Ships with 2 files
  • scripts/extract-note-detail.py
  • scripts/extract-search-feeds.py
Commands it runs
python scripts/extract-search-feeds.py | browser-act --session <name> eval --stdin
More from skills
All skills →
About this skill
What does the xiaohongshu-search-full skill do?

Search Xiaohongshu (XHS / RedNote) notes by keyword with full field extraction including body text, topics/tags, image list URLs, video stream URL, publish timestamp, and all engagement stats (likes, collects, comments, shares). Supports all page filter options: sort order (general, latest, most liked, most commented, most collected), note type (image-text, video), publish time range (within 1 day, 1 week, 6 months), search scope (seen, unseen, followed), and location distance (same city, nearby). Use when user mentions search xiaohongshu notes, xhs keyword search, rednote note search, search

How do I install it?

Run `npx skills add browser-act/skills --skill xiaohongshu-search-full --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From browser-act/skills, a repository with 5,160 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going