# Send XHS Video Downloader to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
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. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "xhs-video-downloader",
    "name": "XHS Video Downloader",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/HViktorTsoi/xhs-video-downloader",
    "canonicalUrl": "https://clawhub.ai/HViktorTsoi/xhs-video-downloader",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/xhs-video-downloader",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=xhs-video-downloader",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/download_video.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/xhs-video-downloader"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/xhs-video-downloader",
    "downloadUrl": "https://openagent3.xyz/downloads/xhs-video-downloader",
    "agentUrl": "https://openagent3.xyz/skills/xhs-video-downloader/agent",
    "manifestUrl": "https://openagent3.xyz/skills/xhs-video-downloader/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/xhs-video-downloader/agent.md"
  }
}
```
## Documentation

### Xiaohongshu Video Downloader

Download videos from Xiaohongshu (小红书) by extracting the real CDN URL from the page.

### How It Works

Xiaohongshu videos use blob URLs in the browser, which cannot be downloaded directly. This skill:

Uses browser automation to load the page (required for JS rendering)
Extracts the real CDN video URL from the page HTML
Downloads the video with proper headers

### Method 1: Browser Automation (Recommended)

Use the browser tool to extract the video URL:

Navigate to the Xiaohongshu page:

browser action=navigate targetUrl="https://www.xiaohongshu.com/explore/NOTE_ID"

Extract the video URL with JavaScript:

(() => {
  const html = document.documentElement.outerHTML;
  const mp4Matches = html.match(/https?:\\/\\/[^"\\s]+\\.mp4[^"\\s]*/g);
  if (mp4Matches) return [...new Set(mp4Matches)];
  return null;
})()

Download with curl:

curl -L -o output.mp4 "<VIDEO_URL>" \\
  -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36" \\
  -H "Referer: https://www.xiaohongshu.com/"

### Method 2: Python Script

For pages that don't require authentication:

python3 scripts/download_video.py "https://www.xiaohongshu.com/explore/NOTE_ID"

Note: The Python script may not work for all pages due to:

JavaScript rendering requirements
Authentication/login requirements
Rate limiting

### Notes

Videos are typically hosted on xhscdn.com CDN
User-Agent and Referer headers are required to avoid 403 errors
Output directory: ~/Downloads/xiaohongshu/
Video URLs follow pattern: https://sns-video-*.xhscdn.com/stream/.../*.mp4
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: HViktorTsoi
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/xhs-video-downloader)
- [Send to Agent page](https://openagent3.xyz/skills/xhs-video-downloader/agent)
- [JSON manifest](https://openagent3.xyz/skills/xhs-video-downloader/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/xhs-video-downloader/agent.md)
- [Download page](https://openagent3.xyz/downloads/xhs-video-downloader)