xiaohongshu-search-full
Skill này làm gì
Skill tìm các ghi chú Xiaohongshu và lấy chi tiết đầy đủ của từng ghi chú trong kết quả. Skill dành cho người làm marketing và nhà nghiên cứu cần các bài đăng chi tiết 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 từ khóa kèm chi tiết đầy đủ.
- ✓Khi bạn cần lọc kết quả theo cách sắp xếp, loại ghi chú hoặc thời gian đăng.
- ✓Khi bạn muốn có hình ảnh, thẻ và số liệu tương tác của nhiều ghi chú cùng lúc.
Liên kết skill
https://github.com/browser-act/skills/blob/main/solutions/social-listening/xiaohongshu-search-full/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 về thiết bị cắm trại, chỉ hiện ghi chú của tuần qua được nhiều lượt thích nhất, kèm chi tiết đầy đủ.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill mở trang tìm kiếm Xiaohongshu cho từ khóa của bạn và áp dụng bộ lọc bạn chọn. Skill đọc kết quả và các trang ghi chú để trả về tiêu đề, nội dung, hình ảnh, liên kết video, thẻ, thời gian và số liệu tương tác.
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 (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 page only)
- Question 3 (optional): filters — sort order, note type, publish time range
- If AskUserQuestion is NOT available → output the following text and wait for the user's reply before doing anything else:
"请问您想搜索什么关键词?(如需指定页数或筛选条件,也可一并告知)"
Do NOT guess, infer, or assume any keyword. Wait for the user's explicit reply.
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 viapython scripts/xxx.py {params} | browser-act --session <name> eval --stdin.
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 feeds list (preferred method)
Navigate to the search page, then read the rendered note list directly from Vue state. This is the preferred method because it reflects exactly what the page renders — including exact-match notes that the search API omits due to semantic expansion.
navigate https://www.xiaohongshu.com/search_result/?keyword={keyword}wait stable- (optional) Apply filters — see AI Workflow: apply filters below
python scripts/extract-search-feeds.py | browser-act --session <name> eval --stdin— retrieves all page results. Do NOT pass--keywordfor a full keyword search (title + body); see AI Workflow: keyword search (title + body match) below. Pass--keyword {keyword}only when title-only pre-filtering is explicitly required.
Parameters:
--keyword {keyword}(optional): plain text keyword — when passed,itemscontains only title-matched notes andkeyword_countis populated. Omit to get all rendered notes (required for body-text matching).
Output example:
{
"total_count": 40,
"keyword_count": 3,
"has_more": true,
"items": [
{
"id": "6a422f88000000001603cdd3",
"xsec_token": "ABbCLyAhrP9qgixS_rCW...",
"note_url": "https://www.xiaohongshu.com/explore/6a422f88000000001603cdd3?xsec_token=ABbCLy...%3D&xsec_source=pc_search",
"type": "video",
Câu hỏi thường gặp
Có những bộ lọc nào?
Bạn có thể sắp xếp theo tổng hợp, mới nhất, nhiều lượt thích nhất, nhiều bình luận nhất hoặc nhiều lượt lưu nhất, và lọc theo loại ghi chú và thời gian đăng.
Bạn có cần đăng nhập không?
Có. Skill kiểm tra phiên Xiaohongshu đã đăng nhập.
Có bắt buộc có từ khóa không?
Có. Skill cần từ khóa tìm kiếm và sẽ hỏi bạn nếu thiếu.
Chi tiết
Mô tả gốc của tác giả
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
repo: browser-act/skills
Độ phổ biến
- Sao GitHub
- 6.3k
- Vị trí xếp hạng
- #14325
- 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.