Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Download and summarize Xiaohongshu (小红书/RedNote) videos. Produces a full resource pack with video, audio, subtitles, transcript, and AI summary. This skill s...
Download and summarize Xiaohongshu (小红书/RedNote) videos. Produces a full resource pack with video, audio, subtitles, transcript, and AI summary. This skill s...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
Download videos from Xiaohongshu (小红书/RedNote) and optionally generate a full resource pack: video + audio + subtitles + transcript + AI summary.
Follow these 6 steps in order:
Verify required tools are installed: yt-dlp --version ffmpeg -version Both must be available. If missing, instruct the user to install: brew install yt-dlp (macOS) or pip install yt-dlp brew install ffmpeg (macOS)
/opt/homebrew/Caskroom/miniconda/base/envs/myenv/bin/python scripts/download_xiaohongshu.py "URL" --list-formats This shows available formats and verifies the URL works with cookie authentication.
For basic download (video only, backward compatible with v1.0): /opt/homebrew/Caskroom/miniconda/base/envs/myenv/bin/python scripts/download_xiaohongshu.py "URL" For full resource pack (video + audio + subtitles + transcript): /opt/homebrew/Caskroom/miniconda/base/envs/myenv/bin/python scripts/download_xiaohongshu.py "URL" --full For full resource pack + AI summary preparation: /opt/homebrew/Caskroom/miniconda/base/envs/myenv/bin/python scripts/download_xiaohongshu.py "URL" --summary The --full flag creates a folder ~/Downloads/<video title>/ containing: video.mp4 — original video audio.mp3 — extracted audio subtitle.vtt — WebVTT subtitles (via 3-tier strategy) transcript.txt — plain text transcription The --summary flag implies --full and additionally saves .meta.json for AI summary generation.
The script automatically tries these strategies in order: Manual subtitles — yt-dlp --write-subs --sub-lang zh,en,zh-Hans,zh-CN Auto-generated subtitles — yt-dlp --write-auto-subs Whisper local transcription — Falls back to parallel_transcribe.py using faster-whisper
The script automatically strips timestamps from VTT to produce transcript.txt.
If the user requested a summary (via --summary flag or by asking to "summarize"): Read the transcript file: ~/Downloads/<video title>/transcript.txt Read the metadata file: ~/Downloads/<video title>/.meta.json Read the summary prompt template: reference/summary-prompt.md Replace the template placeholders with actual values: {{TITLE}} — from .meta.json {{URL}} — from .meta.json {{DURATION}} — from .meta.json {{PLATFORM}} — "Xiaohongshu (小红书)" {{TRANSCRIPT}} — contents of transcript.txt Generate the summary following the template structure. Save the result to: ~/Downloads/<video title>/summary.md
OptionDescriptionDefault-o, --outputOutput directory~/Downloads-q, --qualityVideo quality (best, 1080p, 720p, 480p)best--browserBrowser for cookies (chrome, firefox, safari, none)chrome-a, --audio-onlyDownload audio only as MP3false--list-formatsList available formatsfalse--fullFull resource pack modefalse--summaryAI summary mode (implies --full)false
~/Downloads/ └── <title> [<id>].mp4
~/Downloads/<video title>/ ├── video.mp4 # Original video ├── audio.mp3 # Extracted audio ├── subtitle.vtt # WebVTT subtitles ├── transcript.txt # Plain text transcript ├── .meta.json # Video metadata (--summary only) └── summary.md # AI-generated summary (--summary only, written by Claude)
FormatExampleExplore linkhttps://www.xiaohongshu.com/explore/676a35670000000013002578Discovery linkhttps://www.xiaohongshu.com/discovery/item/676a35670000000013002578?xsec_token=TOKENShort linkhttp://xhslink.com/a/xxxxx
ProblemSolutionNo video formats foundLog into xiaohongshu.com in browser first, use --browser chromeUnable to extract initial stateCAPTCHA triggered — open URL in browser, solve it, retryLink expiredCopy fresh share link (tokens expire)No subtitles foundScript will fall back to Whisper transcription automaticallyWhisper not availableInstall uv (brew install uv) for automatic dependency management
Always use the full share URL (with xsec_token) for best results Log into xiaohongshu.com in your browser before downloading Maximum video quality is typically 1080p (platform limitation) Whisper transcription requires uv for automatic dependency management, or faster-whisper installed manually Respect copyright and Xiaohongshu's terms of service
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.