From xhs-note-scraper
Export public Xiaohongshu/XHS note pages to Markdown, JSON, raw HTML, and downloaded images. Use when the user asks to scrape, archive, save, download, or "扒下来" a public xiaohongshu.com/explore note, especially when avoiding browser automation, local browser access, or logged-in account risk.
How this skill is triggered — by the user, by Claude, or both
Slash command
/xhs-note-scraper:xhs-note-scraperThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use only public HTTP fetches. Do not use local browser automation, user login cookies, account sessions, or attempts to bypass access controls. If the public page does not expose SSR note data or image URLs, report that limitation and stop.
Use only public HTTP fetches. Do not use local browser automation, user login cookies, account sessions, or attempts to bypass access controls. If the public page does not expose SSR note data or image URLs, report that limitation and stop.
Run the bundled script:
node <skill-dir>/scripts/scrape_xhs_note.js "<xiaohongshu note url>" --out "<output-dir>"
Use the user's current workspace as the default output directory unless they specify another path.
The script writes:
note.md - readable Markdown with text, metadata, and local image referencesnote.json - structured note data and image URLspage.html - fetched public HTMLassets/image-XX.jpg - downloaded imageshttps://www.xiaohongshu.com/explore/<note-id>....scripts/scrape_xhs_note.js with the URL and output directory.403 for raw/original image attempts, keep the public CDN default image URLs exposed by the page.note.md, note.json, page.html, and the assets directory. Mention any limitations such as missing comments or unavailable original-resolution files.window.__INITIAL_STATE__; the script extracts note.noteDetailMap[firstNoteId].note.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub jupiterthewarlock/jthewl-skills --plugin xhs-note-scraper