agentCLAWHUBUnverified

video-downloader-enhanced

Download videos and extract original post captions, audio transcripts, and metadata from video platform links. Use when the user provides Douyin, Bilibili, WeChat Channels, Xiaohongshu, or YouTube links and asks to save the original video, capture the post text/caption, transcribe the spoken in-video script/copy, archive source material, or prepare video material for downstream analysis or skill creation. Douyin is implemented with an H5 primary route and yt-dlp fallback; Bilibili, YouTube, and Xiaohongshu are implemented through yt-dlp; WeChat Channels is not implemented yet and should currently be handled via the WeChat mini program kg百宝箱.

OpenClaw

Rank

62

Safety

84

Downloads

2.6k

Updated

Oct 9, 2026

Version

0.1.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 2.6K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 9, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 9, 2026
Adoption signal
2.6K downloadsadoption · observed Oct 9, 2026
Latest release
0.1.0release · observed Aug 2, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s1753gwq3cv6dbevemzv7jhq1h8bpzwv:video-downloader-enhanced
  1. Install using `clawhub skill install s1753gwq3cv6dbevemzv7jhq1h8bpzwv:video-downloader-enhanced` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/syanchen7/video-downloader-enhanced before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-syanchen7-video-downloader-enhanced/snapshot"

Documentation

CLAWHUB

23,496 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: video-downloader-enhanced
description: Download videos and extract original post captions, audio transcripts, and metadata from video platform links. Use when the user provides Douyin, Bilibili, WeChat Channels, Xiaohongshu, or YouTube links and asks to save the original video, capture the post text/caption, transcribe the spoken in-video script/copy, archive source material, or prepare video material for downstream analysis or skill creation. Douyin is implemented with an H5 primary route and yt-dlp fallback; Bilibili, YouTube, and Xiaohongshu are implemented through yt-dlp; WeChat Channels is not implemented yet and should currently be handled via the WeChat mini program kg百宝箱.
---

# Video Downloader

## Overview

Use this skill to turn a video-platform URL into a local source-material folder containing the video file, `post_caption.txt`, `audio.wav` / `audio.m4a` / `audio.mp3`, `transcript.txt`, `transcript.srt` (whisper.cpp only), and `metadata.json`.

Terminology:

- `post_caption.txt`: platform publish text, title, description, and hashtags.
- `transcript.txt`: spoken in-video script generated from audio ASR.
- `metadata.json`: normalized platform metadata plus download and ASR status.

## Output Folder Naming

Each download creates a folder with a human-readable name:

```
YY_MM_DD_标题摘要_平台_作者
```

Example: `26_07_27_AI做PPT零基础终极教程_抖音_木子不写代码`

Rules:
- **Date** — video publish date preferred, falls back to download date. Format: `YY_MM_DD`.
- **标题摘要** — title trimmed to ≤40 characters; newlines, hashtags (`#`), mentions (`@`), emoji removed.
- **平台** — Chinese display name: `抖音` / `B站` / `YouTube` / `小红书`.
- **作者** — falls back to `未知作者` when unavailable.
- **Dedup** — if the folder already exists, appends the last 5 characters of the video ID.
- Internal file names (`post_caption.txt`, `metadata.json`, etc.) are **not** affected.

The current implemented providers are Douyin, Bilibili, YouTube, and Xiaohongshu. WeChat Channels is an explicit extension point; do not claim that provider works until its provider module has been implemented and tested. For WeChat Channels links, tell the user to first use the WeChat mini program `kg百宝箱` to download the video from the 视频号 link, then continue with local ASR or downstream processing on the downloaded file.

## Quick Start

Run the bundled CLI from this skill directory:

```bash
python3 scripts/download_video.py "https://v.douyin.com/..." --output-dir ./downloads
```

For metadata/post-caption extraction without downloading the video:

```bash
python3 scripts/download_video.py "https://v.douyin.com/..." --output-dir ./downloads --metadata-only
```

For download without ASR:

```bash
python3 scripts/download_video.py "https://v.douyin.com/..." --output-dir ./downloads --asr none
```

For Chinese speech with local whisper.cpp (recommended):

```bash
python3 scripts/download_video.py "https://v.douyin.com/..." --output-dir ./downloads --asr whisper_cpp --asr-language Chinese
```

For Chines

README.md

# Video Downloader Enhanced

一个面向本地 AI Agent 的视频下载、素材归档与语音转写 Skill,也可以脱离 Agent,直接作为命令行工具运行。

本项目基于 [`kangarooking/kangarooking-skills`](https://github.com/kangarooking/kangarooking-skills) 中的 `video-downloader` 修改和扩展。只要 Agent 能读取项目说明、访问本地文件并运行 Shell / Python 命令,就可以调用这套工作流。不同产品的 Skill 目录、自动发现机制和权限模型并不相同,因此脚本本身是通用的,安装方式需要以各 Agent 的规则为准。

## 功能

输入一个公开视频链接后,本项目可以:

1. 识别视频平台;
2. 获取原始发布标题、正文和话题标签;
3. 下载视频,并在支持的下载路线中验证文件有效性;
4. 使用 FFmpeg 提取音频;
5. 使用本地或云端 ASR 进行语音转写;
6. 生成纯文本转写稿、字幕和结构化元数据。

当前已实现:

- 抖音
- 小红书
- Bilibili
- YouTube

微信视频号链接目前只能识别,尚未实现直接下载。请先通过你有权使用的方式将视频保存到本地,再进行后续处理。

## 输出内容

每个视频会生成一个独立目录,命名格式为:

```text
YY_MM_DD_标题摘要_平台_作者
```

目录中可能包含:

```text
视频文件.mp4
post_caption.txt
audio.wav / audio.m4a / audio.mp3
transcript.txt
transcript.srt
transcript.whisper_cpp.json
transcript.whisper.json
transcript.siliconflow.json
metadata.json
```

- `post_caption.txt`:平台发布标题、正文和话题标签;
- `audio.*`:从视频中提取的音频;
- `transcript.txt`:纯文本语音转写;
- `transcript.srt`:带时间轴的字幕,由 whisper.cpp 或 openai-whisper 后端生成;
- `transcript.*.json`:所用 ASR 后端的结果或运行信息;
- `metadata.json`:平台、作者、链接、时长、分辨率、下载方式和 ASR 状态。

## 主要改进

相较上游 `video-downloader`,本版本主要增加或调整了:

- 支持 whisper.cpp;
- 默认 ASR 优先级为 `whisper.cpp → openai-whisper → SiliconFlow`;
- 通过环境变量配置 whisper.cpp 命令与模型路径;
- 支持 `xhslink.cn` 小红书短链接;
- 小红书匿名 `yt-dlp` 失败后尝试公开媒体直链;
- 将 Chrome Cookie 作为最后一级下载回退;
- 使用 `ffprobe` 校验小红书下载文件是否包含真实视频流;
- 在 `metadata.json` 中记录下载路线、Cookie 使用情况、校验结果和回退错误;
- 使用便于人工管理的输出目录名称。

## 工作原理

```text
视频链接
   ↓
平台 Provider
   ↓
yt-dlp / 平台专用下载路线
   ↓
视频有效性校验
   ↓
FFmpeg 提取音频
   ↓
whisper.cpp / openai-whisper / SiliconFlow
   ↓
视频、发布文案、转写稿、字幕与元数据
```

## 系统要求

- Python 3.10+
- [`yt-dlp`](https://github.com/yt-dlp/yt-dlp)
- [FFmpeg](https://ffmpeg.org/)(包括 `ffmpeg` 和 `ffprobe`)

语音转写至少配置一种后端:

- [whisper.cpp](https://github.com/ggml-org/whisper.cpp),推荐本地使用;
- [openai-whisper](https://github.com/openai/whisper),可选本地后端;
- [SiliconFlow](https://siliconflow.cn/) API,可选云端后端。

本项目不会自动安装或升级系统工具。

## 安装

克隆仓库并进入 Skill 目录:

```bash
git clone <repository-url>
cd video-downloader-enhanced
```

作为 Agent Skill 使用时,将整个目录放入目标 Agent 支持的 Skills 目录,或在项目规则中要求 Agent 先读取本仓库的 `SKILL.md`。请查阅你所使用产品的当前文档,不要假设不同 Agent 的安装目录和授权行为完全一致。

也可以不安装为 Skill,直接运行命令行入口:

```bash
python3 scripts/download_video.py --help
```

## whisper.cpp 配置

脚本优先使用 `WHISPER_CPP_BIN` 指定的可执行文件;未设置时,从 `PATH` 查找 `whisper-cli`:

```bash
export WHISPER_CPP_BIN="/path/to/whisper-cli"
export WHISPER_CPP_MODEL="/path/to/ggml-large-v3-turbo.bin"
```

`WHISPER_CPP_MODEL` 必须指向本机已有的 GGML 模型文件。项目不假设任何平台专属默认路径,也不会自动安装软件。请勿把个人绝对路径或模型文件提交到公开仓库。

## 命令行使用

下载并自动选择可用 ASR 后端:

```bash
python3 scripts/download_video.py \
  "https://v.douyin.com/..." \
  --output-dir "./downloads"
```

指定 whisper.cpp:

```bash
python3 scripts/download_video.py \
  "https://v.douyin.com/..." \
  --output-dir "./downloads" \
  --asr whisper_cpp \
  --asr-language Chinese
```

只下载,不提取音频或转写:

```bash
python3 scripts/download_video.py \
  "https://v.douyin.com/..." \
  --output-dir "./downloads" \
  --asr

_meta.json

{
  "ownerId": "kn7ch7dax53njmcqff8gw5xnw18bpz6h",
  "slug": "video-downloader-enhanced",
  "version": "0.1.0",
  "publishedAt": 1785643318817
}

skill-card.md

## Description:

Downloads videos from supported public video-platform links and saves post captions, audio transcripts, subtitles, and metadata for local analysis or archiving.

This skill is ready for commercial/non-commercial use.

## Publisher:

[syanchen7](https://clawhub.ai/user/syanchen7)

### License/Terms of Use:

MIT

## Use Case:

Developers and local AI agents use this skill to turn authorized video links from Douyin, Bilibili, Xiaohongshu, and YouTube into source-material folders containing media, captions, transcripts, subtitles where available, and normalized metadata. It can also extract metadata and post text without downloading the video.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Fallback download routes may invoke yt-dlp with the user's live Chrome profile.

Mitigation: Run only when browser-cookie access is expected, use an isolated browser profile when possible, and prefer metadata-only or public routes for sensitive workflows.

Risk: Default ASR auto-selection can use SiliconFlow cloud transcription when SILICONFLOW_API_KEY is inherited from the environment.

Mitigation: Use --asr none or an explicit local ASR backend for sensitive videos, and unset SILICONFLOW_API_KEY when cloud transcription is not intended.

Risk: The YouTube provider can use unpinned remote components as a fallback.

Mitigation: Use trusted video URLs and run the skill in an isolated environment when remote component fallback is acceptable.

Risk: Downloading platform videos can create copyright, access-control, or platform-terms risk.

Mitigation: Download only material the user owns, has permission to download, or can lawfully archive; do not use the skill to bypass DRM, paid access, or private permissions.

## Reference(s):

- [Server-resolved source repository](https://github.com/SyanChen7/video-downloader-enhanced)
- [ClawHub skill page](https://clawhub.ai/syanchen7/skills/video-downloader-enhanced)
- [Publisher profile](https://clawhub.ai/user/syanchen7)
- [Upstream video-downloader attribution](https://github.com/kangarooking/kangarooking-skills/tree/main/video-downloader)
- [yt-dlp](https://github.com/yt-dlp/yt-dlp)
- [FFmpeg](https://ffmpeg.org/)
- [whisper.cpp](https://github.com/ggml-org/whisper.cpp)
- [openai-whisper](https://github.com/openai/whisper)
- [SiliconFlow](https://siliconflow.cn/)

## Skill Output:

**Output Type(s):** [Text, Markdown, Shell commands, Configuration guidance, Files, JSON]

**Output Format:** [Markdown guidance plus JSON CLI results and local media, caption, transcript, subtitle, and metadata files]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Output folders are named by date, cleaned title, platform, and author; ASR output depends on the selected backend.]

## Skill Version(s):

0.1.0 (source: ClawHub release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or 

LICENSE

MIT License

Copyright (c) 2026 Syan Chen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Github ReposUpdated 9h agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/syanchen7/skills/video-downloader-enhanced",
      "sourceUrl": "https://clawhub.ai/syanchen7/skills/video-downloader-enhanced",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T12:35:58.532Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-syanchen7-video-downloader-enhanced/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-syanchen7-video-downloader-enhanced/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-09T12:35:58.532Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "2.6K downloads",
      "href": "https://clawhub.ai/syanchen7/video-downloader-enhanced",
      "sourceUrl": "https://clawhub.ai/syanchen7/video-downloader-enhanced",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T12:35:58.532Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "0.1.0",
      "href": "https://clawhub.ai/syanchen7/video-downloader-enhanced",
      "sourceUrl": "https://clawhub.ai/syanchen7/video-downloader-enhanced",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-08-02T04:01:58.817Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-syanchen7-video-downloader-enhanced/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-syanchen7-video-downloader-enhanced/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 0.1.0",
      "description": "**Initial release of video-downloader-enhanced.** - Download videos and extract original post captions, audio transcripts, and metadata from Douyin, Bilibili, Xiaohongshu, and YouTube links. - Output a structured folder containing media files, captions, transcripts, SRT subtitles (where available), and metadata. - Folder names include publish date, cleaned title, platform, and author; supports deduplication. - Multiple ASR options: local whisper.cpp, openai-whisper, SiliconFlow, or skip. - Douyin: prefers H5 primary route with yt-dlp as fallback; Bilibili, YouTube, Xiaohongshu handled via yt-dlp. - WeChat Channels not yet supported; users are instructed to use the `kg百宝箱` mini program for that platform.",
      "href": "https://clawhub.ai/syanchen7/video-downloader-enhanced",
      "sourceUrl": "https://clawhub.ai/syanchen7/video-downloader-enhanced",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-08-02T04:01:58.817Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 10, 2026.

Sponsored

Ads related to video-downloader-enhanced and adjacent AI workflows.