energypantry/agent-browser-runtime/xiaohongshu-search
Claude Code and agent skill by energypantry/agent-browser-runtime
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install energypantry/agent-browser-runtime/xiaohongshu-searchSKILL.md
Xiaohongshu (小红书 / RED) Search, Note & Profile
Description
Use Agent Browser Runtime to search Xiaohongshu (小红书 / RED), read note bodies and comment threads, and collect user-profile data through a persistent logged-in Chrome profile. All actions run through the humanized UI primitives (brs ui) and are parsed by the bundled extractors/golddigger-xhs.extract.js (search / note / profile modes).
Use this when a task needs real Chinese social-media UGC: word-of-mouth, product or store reviews, 探店/种草 notes, competitor/creator account research, consumer trends, or "what do commenters actually say" questions. Do NOT use it for English/overseas info, breaking news, technical docs, or papers — those belong to general web search.
Xiaohongshu content is subjective UGC and frequently contains soft ads / sponsorships.Report sample sizes (how many notes/comments read) and cross-check before strong claims.
Prerequisites
- Agent Browser Runtime stack running from the repo root (
docker compose up -d),
extension connected (brs status shows "extensionConnected": true).
- A persistent Chrome profile that is logged in to xiaohongshu.com (log in once via noVNC).
- Python 3 (used only for pretty-printing JSON).
Commands
A wrapper is provided at scripts/xiaohongshu/xhs.sh (run it from anywhere; it resolves the repo root itself). Each command is serial and takes ~15–60s (humanized scrolling + comment expansion). Do not run concurrently.
Standard workflow
search "<keyword>"to get candidate notes.- Pick high-like / relevant notes and
read <n>for body + comment threads. - For author/competitor research, take the userId/profile URL and run
profile <id>. - Summarize: distinguish note-author claims vs. comment-section consensus vs. likely ads;
state how many notes/comments were read.
What you can / cannot get
Available: note title, body, hashtags, image count, publish date, author nickname/userId; comment text, commenter nickname, comment likes, nested replies (verified on a live note: 50 top-level + 167 replies = 217 comments with zero missing nicknames); profile: nickname, redId (小红书号), bio, IP location, following/followers, likes+saves count, recent-note list.
Not available (platform limits, not tooling bugs):
- Another user's saved / liked tabs — Xiaohongshu does not render these on others'
profiles (privacy); no tool can read them for an account you don't own.
- Deleted / followers-only / geo-restricted content.
- Direct navigation to a note URL often fails xsec_token validation (404 / 300031):
the token is minted by page JS when a card is clicked. Always open notes via read (card click), never by hand-building URLs.
Maintenance
If Xiaohongshu changes its DOM and fields come back empty, update the selectors in extractors/golddigger-xhs.extract.js against fresh HTML (brs browse-html <lease> <tab>):
- Search cards:
section.note-item; title.title a span; author.name; likes.count. - Note:
#detail-title/#detail-desc; comment unitdiv[id^="comment-"].comment-item
(replies additionally have comment-item-sub); nickname a.name; body div.content.
- Profile:
.user-name/.user-desc/.user-redId(redId) /.user-IP; numeric stats
.user-interactions .count in order: following, followers, likes+saves.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/openclaw/xiaohongshu-search/skill.md
Popularity
- Repository stars
- 211
- Repository forks
- 56
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/energypantry/agent-browser-runtime/xiaohongshu-search)