xiaohongshu-video-downloader

xiaohongshu-video-downloader is a skill for Claude Code, Codex from redfox-data/redfox-community-dsh. It costs 91 tokens per session (1,745 once invoked), scanned A, original, MIT.

A link-based downloader for videos published on Xiaohongshu, a Chinese social media platform. It accepts Xiaohongshu web links and short links, then returns direct MP4 download links without a watermark.

In plain words
What is it for?
Use it to save individual or multiple Xiaohongshu videos and their cover images for offline viewing or content work.
Why use it?
It removes the need to manually find or process the video file behind a shared post. It can also check links and handle several videos in one request.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to save individual or multiple Xiaohongshu videos and their cover images for offline viewing or content work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redfox-data/redfox-community-dsh/xiaohongshu-video-downloader
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add redfox-data/redfox-community-dsh --skill xiaohongshu-video-downloader
Clone the repo
git clone --depth 1 https://github.com/redfox-data/redfox-community-dsh

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for xiaohongshu-video-downloader

README.md
[![agentmods](https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/xiaohongshu-video-downloader/github.svg)](https://agentmods.dev/skills/redfox-data/redfox-community-dsh/xiaohongshu-video-downloader)
Your own site
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/xiaohongshu-video-downloader"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/xiaohongshu-video-downloader/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for xiaohongshu-video-downloader

Your own site · 80×15
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/xiaohongshu-video-downloader"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/xiaohongshu-video-downloader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,745 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.01745
Opus 5.5 $0.00036 $0.00698
Sonnet 5.5 $0.00018 $0.00349
Haiku 4.5 $0.00009 $0.00175

Measured 2mo ago against content hash 62c8384cbf5d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

xiaohongshu-video-downloader scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/downloader.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/xiaohongshu-video-downloader/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

小红书视频下载

粘贴带 xsec_token 参数的小红书视频链接,一键获取无水印视频下载直链。通过 redfox.hk 服务解析,支持单个或批量链接处理,自动识别并校验小红书视频链接。

⚠️ 链接必须携带 xsec_token 参数,否则小红书接口会返回链接格式错误。官方示例链接: https://www.xiaohongshu.com/explore/6a3c7aa6000000001003e071?xsec_token=AB-U4vc8DJUJoY9w-ebP_DvuxgiSNYmx8n35V4zvPo__M=&xsec_source=pc_feed


简介

适用对象:需要下载小红书视频的用户,包括内容创作者、视频收藏者、运营分析人员。

核心能力:

  • 📹 粘贴带 xsec_token 参数的小红书链接即可获取无水印 mp4 下载直链
  • 📦 支持批量链接解析(空格分隔多个链接)
  • 🔍 自动校验域名与 xsec_token 参数,不合规链接会提示重新输入并附上官方示例
  • 🎬 返回视频下载链接、封面链接,复制到浏览器或下载工具即可保存

功能特性

功能 说明
无水印直链 自动返回无水印视频下载链接,无需手动处理
即贴即解析 粘贴带 xsec_token 的视频链接即可,无需额外操作
批量解析 支持一次粘贴多个链接,逐个解析并在最后汇总成功和失败数量
智能校验 自动识别小红书视频链接并校验 xsec_token 参数,不合规链接提示重新输入
链接自适应 支持 www.xiaohongshu.com 网页链接与 xhslink.com 短链两种格式
接口错误兜底 接口返回链接格式错误时自动附上官方示例链接,引导用户重新传入
结果直出 解析完成直接返回下载链接,复制即可用

一键安装

  1. 前往 redfox.hk 注册获取 API Key
  2. 配置环境变量:export REDFOX_API_KEY=ark_你的密钥
  3. 粘贴带 xsec_token 参数的小红书视频链接即可使用

使用指南

核心执行流程详见 references/core_workflow.md

直接用自然语言描述需求,无需记忆命令。提供正确的小红书视频链接时,直接执行解析并返回结果。

常用说法速查

意图 示例话术 效果
下载单个视频 「下载这个视频 https://www.xiaohongshu.com/explore/6a3c7aa6000000001003e071?xsec_token=AB-U4vc8DJUJoY9w-ebP_DvuxgiSNYmx8n35V4zvPo__M=&xsec_source=pc_feed」 解析链接并返回无水印下载直链
批量下载 「下载这几个视频 链接1 链接2 链接3」(每个链接均需携带 xsec_token) 逐个解析每个链接,最后汇总结果
保存视频 「帮我把这条小红书视频存下来」 引导贴上带 xsec_token 的链接,解析后返回下载链接

支持的作品链接格式

平台 链接格式 示例
小红书 https://www.xiaohongshu.com/explore/<笔记ID>?xsec_token=<token>&xsec_source=<source> https://www.xiaohongshu.com/explore/6a3c7aa6000000001003e071?xsec_token=AB-U4vc8DJUJoY9w-ebP_DvuxgiSNYmx8n35V4zvPo__M=&xsec_source=pc_feed
小红书 http://xhslink.com/a/<短码>?xsec_token=<token> 手机分享短链,同样需携带 xsec_token

🔑 如何获取带 xsec_token 的链接:在小红书 PC 网页打开笔记后,直接复制浏览器地址栏 URL;或在 App 内点“分享 → 复制链接”,得到的链接默认已携带 xsec_token。

Read the full file on GitHub · 110 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +10 lines · +5 tokens per session 62c8384cbf5d
  2. 2mo ago First seen · 100 lines · 86 tokens per session scan A 47a08cd37206

Subscribe to this mod's changes

xiaohongshu-video-downloader is a skill published in the GitHub repository redfox-data/redfox-community-dsh (13 stars, last pushed 6d ago), licensed MIT. It adds 91 tokens to every session and 1,745 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

xiaohongshu-video-downloader compared with skills from other repositories

xiaohongshu-video-downloader next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
xiaohongshu-video-downloaderredfox-data/redfox-community-dshSkill136d agoMITA91Claude Code, Codex
dsh-hooks-authoringKYinCode/dsh-hooks-pluginSkill33mo agoMITA112Claude Code
web-artifact-designerxulelenlp/dsh-web-artifact-designerSkill93mo agoMITA115Claude Code, Codex
refactoromagents/omagentsSkill3613d agoMITA55Codex
tech-debt-auditomagents/omagentsSkill3613d agoMITA57Codex
deep-researchomagents/omagentsSkill3613d agoMITB24Codex
company-research-methodPerryLink/dsh-industry-researchSkill2277d agoApache-2.0A83Claude Code, Codex