← 返回 Skills 市场
65
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install download-video
功能描述
Use when the user wants to download a YouTube or Bilibili video by URL or title, saving to local Videos folder
使用说明 (SKILL.md)
Download Video (YouTube / Bilibili)
Overview
Use yt-dlp to download videos from YouTube or Bilibili. Downloads go to the user's Videos folder (~/Videos).
Prerequisites
yt-dlp must be installed:
yt-dlp --version
# Install if missing
pip install yt-dlp # cross-platform
winget install yt-dlp # Windows
brew install yt-dlp # macOS
sudo apt install yt-dlp # Debian/Ubuntu
ffmpeg is recommended for merging video+audio streams.
Download by URL
yt-dlp -o "\x3Cvideos-dir>/%(title)s.%(ext)s" "\x3Curl>"
Replace \x3Cvideos-dir> with the user's Videos folder path, and \x3Curl> with the video URL.
Supported URLs:
- YouTube:
https://www.youtube.com/watch?v=...orhttps://youtu.be/... - Bilibili:
https://www.bilibili.com/video/BV...
Download by Title (search)
# YouTube
yt-dlp -o "\x3Cvideos-dir>/%(title)s.%(ext)s" "ytsearch1:\x3Ctitle>"
# Bilibili
yt-dlp -o "\x3Cvideos-dir>/%(title)s.%(ext)s" "bilisearch1:\x3Ctitle>"
Quick Reference
| Goal | Flag |
|---|---|
| Best quality (default) | -f bestvideo+bestaudio/best |
| Audio only (mp3) | -x --audio-format mp3 |
| Specific resolution | -f "bestvideo[height\x3C=720]+bestaudio" |
| Subtitles | --write-subs --sub-langs zh-Hans,en |
| Playlist (all videos) | just pass the playlist URL |
| Limit speed | --rate-limit 2M |
Common Mistakes
- "ffmpeg not found" — merge of best video+audio fails. Install ffmpeg or use
-f best(single stream). - Bilibili login-required content — add cookies with
--cookies-from-browser chrome. - Videos folder missing — create it first.
Workflow
- URL given → download directly
- Title given → use
ytsearch1:orbilisearch1:prefix - yt-dlp missing → install, then retry
- Error → read error message, check Common Mistakes above
安全使用建议
Install only if you want the agent to run yt-dlp commands on your machine. Approve any package installation first, confirm large playlist downloads, and avoid --cookies-from-browser unless you understand that it uses your browser login session; a dedicated browser profile or limited cookies file is safer.
能力评估
Purpose & Capability
The skill is coherent with its stated purpose of downloading YouTube or Bilibili videos to the local Videos folder, but it also documents playlist downloads that can create many local files.
Instruction Scope
The instructions are direct command examples and workflow guidance; there is no evidence of hidden prompt control, goal hijacking, or unrelated autonomous behavior.
Install Mechanism
There is no install spec and no declared required binaries, but SKILL.md tells the user or agent to install yt-dlp through package managers if missing. This is purpose-aligned but should require user approval.
Credentials
Saving downloads to ~/Videos is scoped, but the suggested --cookies-from-browser chrome option uses local browser session cookies for login-required Bilibili content without clearly bounding profile, cookie scope, destination, or credential handling.
Persistence & Privilege
No background persistence is shown, but package installation commands, including sudo apt install, would make persistent changes to the local environment and may require elevated privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install download-video - 安装完成后,直接呼叫该 Skill 的名称或使用
/download-video触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Download YouTube and Bilibili videos by URL or title to the local Videos folder.
- Downloads videos using yt-dlp, supporting both YouTube and Bilibili.
- Supports direct URL download and automatic search by video title.
- Includes quick-reference commands for video/audio format, resolution, subtitles, playlist, and speed limit.
- Troubleshooting section covers common issues like missing ffmpeg, login requirements, and folder setup.
元数据
常见问题
Download Video 是什么?
Use when the user wants to download a YouTube or Bilibili video by URL or title, saving to local Videos folder. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 65 次。
如何安装 Download Video?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install download-video」即可一键安装,无需额外配置。
Download Video 是免费的吗?
是的,Download Video 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Download Video 支持哪些平台?
Download Video 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Download Video?
由 ZZLupus(@zzlupus)开发并维护,当前版本 v1.0.0。
推荐 Skills