본문으로 건너뛰기
Skillpedia
소셜 미디어6.3k · #14326

xiaohongshu-search

하는 일

이 스킬은 Xiaohongshu 키워드 검색을 실행하고, 일치하는 노트를 기본 세부 정보와 함께 목록으로 돌려줍니다. 한 주제에 대해 무엇이 올라오는지 보려는 마케터와 연구자를 위한 스킬입니다.

사용하는 경우

  • ✓주제에 관한 Xiaohongshu 노트를 찾고 싶을 때.
  • ✓시간에 따라 Xiaohongshu에서 키워드를 추적해야 할 때.
  • ✓참여 통계와 함께 인기 노트 목록을 빠르게 보고 싶을 때.

스킬 링크

https://github.com/browser-act/skills/blob/main/solutions/social-listening/xiaohongshu-search/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/browser-act/skills/blob/main/solutions/social-listening/xiaohongshu-search/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Xiaohongshu에서 비건 점심 메뉴를 검색해 상위 노트를 좋아요와 댓글 수와 함께 정리해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 로그인된 브라우저에서 키워드에 대한 Xiaohongshu 검색 결과를 엽니다. 각 노트의 제목, 작성자, 좋아요, 저장, 댓글, 커버 이미지 링크와 나중에 상세 조회에 쓰는 토큰을 돌려줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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-assist to 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 via eval "$(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:

  1. navigate https://www.xiaohongshu.com/search_result/?keyword={keyword}
  2. wait stable
  3. (optional) apply filters — see AI Workflow below
  4. 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, default 20

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:

  1. state — locate the "Filter" button in the top-right area of the search content area → click <index>

  2. Wait for filter panel to appear (visible on the right side of the page)

  3. For sort order — state locate the desired sort tag in the "Sort By" row → click <index>

    UI Label filterParams value
    General (default) general
    Latest time_descending
    Most Liked popularity_descending
    Most Commented comment_descending
    Most Collected collect_descending
  4. For note type — state locate 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)
  5. state locate the "Collapse" button at th

자주 묻는 질문

로그인되어 있어야 하나요?

네, 스킬은 Xiaohongshu 로그인 세션을 확인합니다.

토큰은 무엇에 쓰나요?

토큰으로 나중에 노트의 전체 세부 정보를 조회할 수 있습니다.

한 페이지 이상 받을 수 있나요?

네, 결과가 페이지로 나뉘어 있어 더 많은 노트를 모을 수 있습니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
6.3k
순위
#14326
라이선스
MIT
업데이트
2026. 8. 24.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬