Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计提醒

xiaohongshu-downloader小红书下载器

Agent Skill

xiaohongshu-downloader 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

22,693

周安装

918

GitHub Stars

公开资料未说明

下载量

7,124
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:xiaohongshu-downloader(小红书下载器)
来源仓库:https://github.com/smile7up/xiaohongshu-downloader
安装命令:
openclaw skills install xiaohongshu-downloader
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install xiaohongshu-downloader

简介

小红书视频下载与智能摘要工具,可批量下载并自动生成多维度资源包。

  • 适合需要获取原始素材、字幕文本或AI总结的内容创作者与研究人员。
  • 支持视频、音频、字幕和文字记录的完整提取,附带智能摘要功能。
  • 使用前请确认是否涉及版权内容,并检查本地存储与网络访问权限。
  • 适用于自媒体运营、素材归档或跨平台内容二次加工等场景。

SKILL.md

name
xiaohongshu-downloader
description
Download and summarize Xiaohongshu (小红书/RedNote) videos. Produces a full resource pack with video, audio, subtitles, transcript, and AI summary. This skill should be used when the user asks to "download xiaohongshu video", "下载小红书视频", "save rednote video", "download from xiaohongshu", "小红书视频下载", "总结小红书视频", "summarize xiaohongshu video", or mentions downloading/summarizing content from xiaohongshu.com or xhslink.com.
version
2.0.0

Xiaohongshu Video Downloader & Summarizer

Download videos from Xiaohongshu (小红书/RedNote) and optionally generate a full resource pack: video + audio + subtitles + transcript + AI summary.

Workflow

Follow these 6 steps in order:

Step 1: Check Dependencies

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)

Step 2: Get Video Information

/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.

Step 3: Download Video + Extract Audio

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.

Step 4: Subtitle Acquisition (Automatic — 3-Tier Strategy)

The script automatically tries these strategies in order:

  1. Manual subtitlesyt-dlp --write-subs --sub-lang zh,en,zh-Hans,zh-CN
  2. Auto-generated subtitlesyt-dlp --write-auto-subs
  3. Whisper local transcription — Falls back to parallel_transcribe.py using faster-whisper

Step 5: Generate Transcript (Automatic)

The script automatically strips timestamps from VTT to produce transcript.txt.

Step 6: AI Summary (Claude generates summary.md)

If the user requested a summary (via --summary flag or by asking to "summarize"):

  1. Read the transcript file:
   ~/Downloads/<video title>/transcript.txt
  1. Read the metadata file:
   ~/Downloads/<video title>/.meta.json
  1. Read the summary prompt template:
   reference/summary-prompt.md
  1. 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

  1. Generate the summary following the template structure.
  1. Save the result to:
   ~/Downloads/<video title>/summary.md

Options Reference

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

Output Structure

Basic mode (default)

~/Downloads/
└── <title> [<id>].mp4

Full resource pack mode (--full or --summary)

~/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)

Supported URL Formats

FormatExample
Explore linkhttps://www.xiaohongshu.com/explore/676a35670000000013002578
Discovery linkhttps://www.xiaohongshu.com/discovery/item/676a35670000000013002578?xsec_token=TOKEN
Short linkhttp://xhslink.com/a/xxxxx

Troubleshooting

ProblemSolution
No video formats foundLog into xiaohongshu.com in browser first, use --browser chrome
Unable to extract initial stateCAPTCHA triggered — open URL in browser, solve it, retry
Link expiredCopy fresh share link (tokens expire)
No subtitles foundScript will fall back to Whisper transcription automatically
Whisper not availableInstall uv (brew install uv) for automatic dependency management

Important Notes

  • 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

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

82.92%
按下载量换算5,907

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills