← Back to Skills Marketplace
665
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install xhs-video-downloader
Description
Download videos from Xiaohongshu (小红书) pages. Use when the user wants to save or download a video from a xiaohongshu.com URL, or mentions "小红书视频下载", "保存小红书视频...
Usage Guidance
This skill appears to do exactly what it claims: fetch a Xiaohongshu page, find the CDN/video URL, and download the file. Before installing/using it: 1) Be sure downloading the video complies with Xiaohongshu's terms and copyright law. 2) You must have Python3 and the 'requests' package (pip install requests) to run the script; the SKILL.md does not auto-install dependencies. 3) The tool will make network requests to whatever URL you supply and save files to ~/Downloads/xiaohongshu — do not pass untrusted or unknown URLs. 4) For pages requiring JS rendering, follow the browser automation method (it runs a small JS snippet in the page context to locate .mp4 URLs). 5) If you need stronger assurances, inspect or run the Python script in a sandbox before use.
Capability Analysis
Type: OpenClaw Skill
Name: xhs-video-downloader
Version: 1.0.0
The skill's stated purpose of downloading Xiaohongshu videos is legitimate. The `SKILL.md` instructions for the AI agent are clear and do not show signs of prompt injection or malicious intent. However, the `scripts/download_video.py` file contains a path traversal vulnerability. The script constructs the output file path using user-provided `output_dir` and `--filename` arguments without sufficient sanitization, which could allow an attacker to write files to arbitrary locations on the filesystem (e.g., `../../etc/passwd`) if a malicious path is supplied via prompt injection to the agent or direct execution.
Capability Assessment
Purpose & Capability
Name/description (download Xiaohongshu videos) matches the provided SKILL.md and the included Python script. Nothing in the repo requests unrelated credentials or system access.
Instruction Scope
SKILL.md confines actions to loading the Xiaohongshu page (optionally via browser automation), running a small JS snippet to find .mp4/xhscdn URLs, and downloading with curl or the included Python script. The JS snippet and script only target page HTML and CDN URLs; they do not read unrelated files or environment variables. Note: the browser automation step executes JS in the page context (expected for extracting rendered SPA content).
Install Mechanism
No install spec (instruction-only) which limits installation risk. The included Python script depends on the third‑party 'requests' package but the skill does not provide an automated install step—user must pip install requests themselves. No downloads from untrusted URLs or archive extraction are present.
Credentials
The skill requires no credentials, config paths, or environment variables. It performs outbound HTTP(S) requests to the target Xiaohongshu page and to CDN URLs (expected for downloading video content). It writes files to ~/Downloads/xiaohongshu by default (reasonable for a downloader).
Persistence & Privilege
Skill is not always-on and does not request elevated or persistent privileges. It does not modify other skills or global agent settings.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install xhs-video-downloader - After installation, invoke the skill by name or use
/xhs-video-downloader - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release - Download videos from Xiaohongshu (小红书) via browser automation
Metadata
Frequently Asked Questions
What is XHS Video Downloader?
Download videos from Xiaohongshu (小红书) pages. Use when the user wants to save or download a video from a xiaohongshu.com URL, or mentions "小红书视频下载", "保存小红书视频... It is an AI Agent Skill for Claude Code / OpenClaw, with 665 downloads so far.
How do I install XHS Video Downloader?
Run "/install xhs-video-downloader" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is XHS Video Downloader free?
Yes, XHS Video Downloader is completely free (open-source). You can download, install and use it at no cost.
Which platforms does XHS Video Downloader support?
XHS Video Downloader is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created XHS Video Downloader?
It is built and maintained by KINO (@hviktortsoi); the current version is v1.0.0.
More Skills