hc-tec/my-collection-skills/xiaohongshu-favorites
Claude Code and agent skill by hc-tec/my-collection-skills
- community
Checking that the SKILL.md file is still in the repository.
Fetch and inspect XiaoHongShu/小红书 favorites: saved notes (收藏) + saved boards (收藏专辑/收藏夹), and extract note details (title/desc) for summarization using Playwright + your logged-in cookies (CookieCloud supported). Use when the user asks to 查看小红书收藏/收藏专辑、最近收藏了哪些笔记、或“这条笔记讲了啥”(need text).
Install
npx vskill@latest install hc-tec/my-collection-skills/xiaohongshu-favoritesSKILL.md
Xiaohongshu Favorites
Use the scripts in scripts/ to pull your XHS saved notes and extract note text via Playwright (avoids re-implementing request signatures).
Cookie auth (recommended)
- CookieCloud: set
COOKIECLOUD_UUID+COOKIECLOUD_PASSWORD(also acceptsCOOKIECLOUDUUID/COOKIECLOUDPASSWORD) - Optional:
COOKIECLOUD_SERVER_URL(default:http://127.0.0.1:8088) - Or set
XIAOHONGSHU_COOKIE(rawCookie:header string) - Or pass
--cookie 'web_session=...; ...'to a script
Quick Start
Detect current profile id (best-effort):
List saved notes (收藏):
List saved boards (收藏专辑/收藏夹):
List notes inside a board (note ids + xsec_token for detail fetch):
Fetch note details (plain text output by default):
JSON mode (for piping / automation):
- Add
--jsonto any script.
Video Notes: Get A Transcript
If the saved item is a video note and the user asks “这个视频讲了什么 / 给我逐字稿”:
- Download audio via
skills/media-audio-download(pass--note-id+--xsec-tokenwhen required). - Transcribe via
skills/whisper-transcribe-docker(local, Docker).
Troubleshooting
- Headless/captcha issues:
- Re-run with
--no-headlessso you can see and complete any challenges. - 404 / "当前笔记暂时无法浏览" / missing note data:
- Many notes require
xsec_token(share token). Get it fromxhs_saved_notes.pyoutput and rerunxhs_note_detail.py --note-id ... --xsec-token .... - "Failed to detect profile id":
- Pass
--profile-idexplicitly (copy from the URL:/user/profile/<id>). - "Failed to extract note data":
- Cookies likely expired; re-sync CookieCloud.
- XHS page structure may have changed; see
references/research.mdfor the fallback plan (network interception).
Notes
- Playwright uses
--channel chromeby default to reuse your installed Chrome (avoids downloading browsers). In Docker, the channel may not exist; the scripts fall back to bundled Chromium.
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/xiaohongshu-favorites/SKILL.md
Popularity
- 7-day trend score
- 0
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/hc-tec/my-collection-skills/xiaohongshu-favorites)