xiaohongshu-note-detail
하는 일
이 스킬은 Xiaohongshu 노트를 열고 세부 정보와 댓글 목록을 돌려줍니다. 특정 게시물과 그에 대한 반응을 살펴보려는 마케터와 연구자를 위한 스킬입니다.
사용하는 경우
- ✓특정 Xiaohongshu 노트의 전체 본문과 통계가 필요할 때.
- ✓Xiaohongshu 게시물의 댓글을 읽고 싶을 때.
- ✓노트의 태그와 작성자 정보를 확인하고 싶을 때.
스킬 링크
https://github.com/browser-act/skills/blob/main/solutions/social-listening/xiaohongshu-note-detail/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 Xiaohongshu 노트의 제목, 본문, 참여 통계, 처음 50개 댓글을 알려 주세요: https://www.xiaohongshu.com/explore/example”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 로그인된 브라우저에서 노트 페이지를 열고 노트 세부 정보와 댓글을 읽습니다. 노트의 메타데이터, 작성자 정보, 참여 통계, 태그, 댓글 목록을 돌려줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Xiaohongshu — Note Detail & Comments
note_id + xsecToken → note metadata, author info, engagement stats, comment list
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Navigate to a Xiaohongshu note detail page and extract the full note metadata plus its paginated comment list.
Prerequisites
- Browser opened to
https://www.xiaohongshu.com/explore/{note_id}?xsec_token={xsecToken}&xsec_source=pc_search - 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 note detail
Navigate to the note page, wait for Vue SSR state to populate, then extract from window.__INITIAL_STATE__.note.noteDetailMap:
navigate https://www.xiaohongshu.com/explore/{note_id}?xsec_token={xsecToken}&xsec_source=pc_searchwait stableeval "$(python scripts/extract-note-detail.py {note_id})"
Parameters:
{note_id}: note ID (from search resultidfield or from the note URL){xsecToken}: security token (from search resultxsecTokenfield)
Output example:
{
"noteId": "69d8cd8c0000000022002295",
"title": "Not Switzerland! This is a natural grassland in Fujian!!",
"desc": "Full post body text...",
"type": "normal",
"time": 1748390400000, // publish timestamp (ms)
"ipLocation": "Fujian",
"userId": "5bac4e3f7a4c7300016a6b88",
"nickname": "half-goose",
"avatar": "https://sns-avatar-...",
"likedCount": "5149",
"collectedCount": "4170",
"commentCount": "390",
"shareCount": "112",
"tagList": [{"name": "travel", "type": "topic"}],
"imageCount": 9
}
Error handling: if error: true is returned, verify the page URL is a note detail page, wait stable has completed, and the note_id matches the URL.
DOM: extract note comments
After navigating to the note page (same page as note detail), extract initial comments already loaded into Vue state:
eval "$(python scripts/extract-note-comments.py {note_id})"
Parameters:
{note_id}: same note ID used when navigating
Output example:
{
"count": 10,
"cursor": "aabbcc112233", // pass to next page load; empty string when on first page
"hasMore": true,
"comments": [
{
"id": "6835ae0e000000001203a14c",
"content": "So beautiful!",
"likeCount": "23",
"createTime": 1748390500000,
"ipLocation": "Guangdong",
"userId": "5c3a6f020000000007010b9f",
"nickname": "travel-enthusiast-xw",
"avatar": "https://sns-avatar-..."
}
]
}
Error handling: if error: true is returned, ensure the note detail page is loaded first (step 3 of note detail component above).
Composite: get full note (detail + initial comments)
Run both extractions on the same page load — no additional navigation needed:
자주 묻는 질문
로그인해야 하나요?
네, 스킬은 Xiaohongshu 로그인 세션을 확인합니다.
스킬에 무엇을 전달해야 하나요?
노트 ID와 접근 토큰이 필요하며, 둘 다 노트 링크와 함께 제공됩니다.
댓글도 포함되나요?
네, 설명에 따르면 댓글은 페이지 단위로 돌려줍니다.
상세 정보
작성자의 원본 설명
Fetch Xiaohongshu (RedNote / xhs) note detail and comments by note ID, returning title, description, author info, engagement stats, tags, and paginated comment list. Use when user mentions note detail xiaohongshu, get rednote post, xhs note content, xiaohongshu comment scrape, fetch post comments, scrape xhs comments, rednote note details, xiaohongshu post engagement, xiaohongshu note content, rednote post data, xhs post detail, get xiaohongshu comments, rednote comment list, xiaohongshu note metadata, xhs note scrape, fetch rednote note.
repo: browser-act/skills
인기도
- GitHub 스타
- 6.3k
- 순위
- #14324
- 라이선스
- MIT
- 업데이트
- 2026. 8. 24.
댓글
- …
이 저장소의 다른 스킬
browser-act-skill-forge
6.3k에이전트가 웹사이트를 한 번 탐색해 재사용 가능한 스킬을 스크립트와 함께 저장하고, 이후 그 사이트의 데이터를 더 빠르게 가져오도록 돕습니다.
browser-act
6.3k에이전트가 BrowserAct 브라우저 자동화 도구로 페이지를 열고, 렌더링된 내용을 읽고, 양식을 채우고, 스크린샷을 찍고, 로그인된 세션을 관리하도록 돕습니다.
1688-product-detail
6.3k에이전트가 1688.com 도매 페이지에서 가격 단계, 변형 상품, 판매자 통계, 속성 같은 제품 세부 정보를 가져오도록 돕습니다.
airbnb-listing-detail
6.3k에이전트가 숫자 ID로 에어비앤비 숙소의 공개 정보를 가져오도록 돕습니다. 사진, 편의시설, 평점, 숙소 규칙을 포함합니다.