xiaohongshu-search
Skill này làm gì
Skill chạy tìm kiếm từ khóa trên Xiaohongshu và trả về danh sách ghi chú khớp kèm chi tiết cơ bản. Skill dành cho người làm marketing và nhà nghiên cứu muốn xem mọi người đăng gì về một chủ đề.
Khi nào nên dùng
- ✓Khi bạn muốn tìm các ghi chú Xiaohongshu về một chủ đề.
- ✓Khi bạn cần theo dõi một từ khóa trên Xiaohongshu theo thời gian.
- ✓Khi bạn muốn có nhanh danh sách các ghi chú nổi bật cùng số liệu tương tác.
Liên kết skill
https://github.com/browser-act/skills/blob/main/solutions/social-listening/xiaohongshu-search/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tìm trên Xiaohongshu các ý tưởng bữa trưa thuần chay và liệt kê các ghi chú nổi bật nhất kèm số lượt thích và bình luận.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill mở kết quả tìm kiếm Xiaohongshu cho từ khóa của bạn trong trình duyệt đã đăng nhập. Skill trả về từng ghi chú kèm tiêu đề, tác giả, lượt thích, lượt lưu, bình luận, liên kết ảnh bìa và token cần để tra cứu chi tiết.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Xiaohongshu — Search Notes
keyword → list of notes with title, author, engagement stats, xsecToken
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Search Xiaohongshu notes by keyword and extract the result list including engagement metrics and tokens for downstream detail lookup.
Prerequisites
- Browser opened to
https://www.xiaohongshu.com/search_result/?keyword={keyword} - User is logged in (avatar or username visible in the left sidebar)
Pre-execution Checks
1. Tool Readiness
If browser-act has been confirmed available in the current session → skip this step.
Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
2. Login Verification
If login status for Xiaohongshu has been confirmed in the current session → skip this step.
Otherwise: open https://www.xiaohongshu.com and observe the left sidebar:
- User avatar or "Me" entry visible → logged in, continue execution
- "Login" button visible → not logged in, inform the user that login is required, use
remote-assistto let the user scan the QR code
User refuses or cannot log in → terminate execution.
Capability Components
This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. Its role is equivalent to copy-pasting on the user's behalf — the data is already on screen, automation merely saves time. JS code is encapsulated in Python files under the
scripts/directory, invoked viaeval "$(python scripts/xxx.py {params})".$(...)is bash syntax; it is recommended to use the bash tool for execution.
Below are all atomic capabilities discovered and verified during the exploration phase, listed by command template with parameters. Simply invoke them as needed — no need to read scripts/*.py source code or re-verify. Only inspect scripts when execution fails for troubleshooting. Combine freely as needed during execution.
DOM: extract search results
Navigate to the search page (business parameters injected via URL), wait for the Vue SSR state to populate, then extract from window.__INITIAL_STATE__.search.feeds:
navigate https://www.xiaohongshu.com/search_result/?keyword={keyword}wait stable- (optional) apply filters — see AI Workflow below
eval "$(python scripts/extract-search.py --limit {limit})"
Parameters:
{keyword}: URL-encoded search keyword (e.g.,travel,coffee)--limit: max items to return from current feeds buffer, default20
Output example:
{
"total": 44,
"hasMore": true,
"page": 2,
"items": [
{
"id": "69d8cd8c0000000022002295",
"xsecToken": "ABpK6gG0Dmt6MoVt60wJf-J0VMaCw5Y1Hi766ap7uWrxE=",
"type": "normal",
"title": "Not Switzerland! This is a natural grassland in Fujian!!",
"userId": "5bac4e3f7a4c7300016a6b88",
"nickname": "half-goose",
"likedCount": "5149", // likes
"collectedCount": "4170", // collects/saves
"commentCount": "390", // comments
"coverUrl": "https://sns-..."
}
]
}
Error handling: if error: true is returned, verify the page URL is a search result page and wait stable has completed before retrying.
AI Workflow: apply sort and note-type filters (before extraction)
Run this workflow before the extraction step when the user specifies a sort order or note type. Uses the filter panel on the search result page:
state— locate the "Filter" button in the top-right area of the search content area →click <index>Wait for filter panel to appear (visible on the right side of the page)
For sort order —
statelocate the desired sort tag in the "Sort By" row →click <index>UI Label filterParams value General (default) generalLatest time_descendingMost Liked popularity_descendingMost Commented comment_descendingMost Collected collect_descendingFor note type —
statelocate the desired type tag in the "Note Type" row →click <index>UI Label filterParams value All (default) — Video video-note(site internal)Image-text image-text-note(site internal)statelocate the "Collapse" button at th
Câu hỏi thường gặp
Bạn có cần đăng nhập không?
Có. Skill kiểm tra phiên Xiaohongshu đã đăng nhập.
Token dùng để làm gì?
Token cho phép bạn tra cứu chi tiết đầy đủ của ghi chú sau này.
Có thể lấy nhiều hơn một trang không?
Có. Kết quả được phân trang, nên bạn có thể thu thập thêm ghi chú.
Chi tiết
Mô tả gốc của tác giả
Search Xiaohongshu (RedNote / xhs) notes by keyword and return a paginated list with title, author, engagement stats (likes, collects, comments), cover image URL, and xsecToken for detail lookup. Use when user mentions find notes on xiaohongshu, search rednote, search xhs, scrape xiaohongshu search, xiaohongshu keyword search, rednote post search, xhs search results, monitor xiaohongshu topics, KOL content discovery via xiaohongshu, xiaohongshu note list, rednote scrape, xhs data collection, collect xiaohongshu posts, xiaohongshu topic search, xiaohongshu content monitoring, rednote post list,
repo: browser-act/skills
Độ phổ biến
- Sao GitHub
- 6.3k
- Vị trí xếp hạng
- #14326
- Giấy phép
- MIT
- Cập nhật
- 24/8/2026
Bình luận
- …
Thêm skill từ kho mã này
browser-act-skill-forge
6.3kGiúp agent của bạn khám phá một website một lần rồi lưu thành một skill tái sử dụng với các script, để lấy dữ liệu từ site đó sau này nhanh hơn.
browser-act
6.3kGiúp agent của bạn chạy công cụ tự động hóa trình duyệt để mở trang, đọc nội dung đã render, điền biểu mẫu, chụp ảnh màn hình và quản lý phiên đã đăng nhập.
1688-product-detail
6.3kGiúp agent của bạn lấy chi tiết sản phẩm từ một trang bán buôn 1688.com, như bậc giá, biến thể, thống kê người bán và thuộc tính.
airbnb-listing-detail
6.3kGiúp agent của bạn lấy chi tiết công khai của một tin đăng Airbnb theo ID, như ảnh, tiện nghi, đánh giá và nội quy nhà.
Skill tương tự
xurl
394kGiúp agent của bạn đăng, trả lời, tìm kiếm và đọc trên X, gửi tin nhắn riêng và tải lên phương tiện, bằng công cụ xurl đã xác thực.
connections-optimizer
280kCải thiện các kết nối trên mạng xã hội của bạn. Gợi ý ai nên theo dõi hoặc bỏ theo dõi và giúp soạn tin nhắn cá nhân hóa để mở rộng mạng lưới.
content-engine
280kTạo nội dung cho nhiều nền tảng khác nhau. Giúp soạn bài đăng, kịch bản và lịch nội dung phù hợp với các mạng như X, LinkedIn và YouTube.