← Back to Skills Marketplace
YouTube/B站 视频搜索下载
by
joppyao-bit
· GitHub ↗
· v1.0.0
· MIT-0
153
Downloads
0
Stars
4
Active Installs
1
Versions
Install in OpenClaw
/install yt-search-download
Description
多站点视频搜索、下载、字幕提取工具。支持 YouTube、B站(Bilibili)等主流平台。 结合 YouTube Data API v3 进行高级搜索,yt-dlp 下载视频/音频/字幕。 核心能力:全站关键词搜索、频道浏览、按时间/播放量/相关度排序、下载视频、提取音频(MP3)、下载字幕(中英文)、查看视...
Usage Guidance
Before installing: (1) realize the skill requires a YouTube API key (set YT_BROWSE_API_KEY or YOUTUBE_API_KEY) — the registry metadata omitted this, so it may fail if you don't provide it; (2) the README claims Bilibili support but the included script only implements YouTube search (you can still use yt-dlp to download Bilibili URLs, but channel/search features for Bilibili are not implemented); (3) the tool runs yt-dlp and recommends --cookies-from-browser, which can read browser cookies/profiles — only allow that if you trust the code and understand the privacy implications; (4) the skill will write downloads and generated .srt/.txt files to your Downloads directory; (5) if you care about safety, review scripts/yt_search.py locally (it uses subprocess.run without shell=True and uses the official Google Data API endpoints, which is good) and confirm you are comfortable with the forced auto-translation behavior specified in SKILL.md. If anything above is unexpected, don't install or run the skill until the author corrects the metadata and clarifies Bilibili support and cookie usage.
Capability Analysis
Type: OpenClaw Skill
Name: yt-search-download
Version: 1.0.0
The skill bundle provides legitimate functionality for searching and downloading YouTube and Bilibili content using the YouTube Data API v3 and the yt-dlp utility. The Python script (yt_search.py) and instructions (SKILL.md) are well-documented and align with the stated purpose of video search, metadata retrieval, and subtitle extraction. While the skill includes instructions for the AI to access browser cookies (via yt-dlp) and execute a Python one-liner for subtitle processing, these actions are transparently presented as necessary for bypassing video restrictions and formatting data for the agent. No evidence of data exfiltration, malicious intent, or harmful prompt injection was found.
Capability Assessment
Purpose & Capability
The description advertises multi-site support (YouTube and Bilibili) and advanced search, and the code and SKILL.md clearly implement YouTube Data API search + yt-dlp downloads. However: (1) the registry metadata lists no required environment variables even though the tool needs an API key (YT_BROWSE_API_KEY or YOUTUBE_API_KEY); (2) Bilibili search/browsing capability is claimed in README/SKILL.md but the provided script only calls YouTube APIs and formats YouTube URLs (no Bilibili API/search implementation). These are functional mismatches that could surprise users.
Instruction Scope
SKILL.md prescribes using the script at ~/.claude/skills/… and running yt-dlp commands (including --cookies-from-browser chrome) and auto-translating titles without asking the user. The download/subtitle instructions will cause the agent to: call Google APIs, run yt-dlp (which may access browser cookies), write .srt/.txt files to ~/Downloads, and post-process SRT into TXT via a small Python snippet. These actions are consistent with download tasks but the forced translation behavior (must replace '【译】___' without asking) is a policy/scope decision the user should be aware of.
Install Mechanism
No install spec is provided (instruction-only skill with included script file). No external archives or untrusted downloads are specified. The only runtime dependency (yt-dlp) is a common third‑party tool the SKILL.md asks the user to install via brew/pip — no hidden installer URLs or extract steps present.
Credentials
The code requires a YouTube API key (reads YT_BROWSE_API_KEY or YOUTUBE_API_KEY) but the registry metadata declared no required env vars — an inconsistency. Besides that, the skill does not request other credentials. Note: instructions encourage yt-dlp's --cookies-from-browser which can access browser cookies (sensitive), so users should understand that downloading certain videos may cause access to local browser profile data via yt-dlp.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system-wide settings. It will store its script under the skills directory (normal). It can be invoked autonomously (default), which is expected for skills, but that is not combined here with elevated privileges or hidden credentials.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install yt-search-download - After installation, invoke the skill by name or use
/yt-search-download - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
yt-search-download 1.0.0 – 多站点视频搜索、下载与字幕工具
- 支持YouTube、B站等主流平台的视频/音频/字幕搜索与下载。
- 提供高级搜索:关键词、频道、时长、播放量、时间范围等多种筛选方式。
- 一键下载视频、提取音频(MP3)、下载字幕(自动输出中英SRT+TXT)。
- 浏览频道、查看视频详情,所有输出按严格格式与中英文译文规范。
- 结合YouTube Data API v3与yt-dlp,支持命令行快速操作与多种下载需求。
Metadata
Frequently Asked Questions
What is YouTube/B站 视频搜索下载?
多站点视频搜索、下载、字幕提取工具。支持 YouTube、B站(Bilibili)等主流平台。 结合 YouTube Data API v3 进行高级搜索,yt-dlp 下载视频/音频/字幕。 核心能力:全站关键词搜索、频道浏览、按时间/播放量/相关度排序、下载视频、提取音频(MP3)、下载字幕(中英文)、查看视... It is an AI Agent Skill for Claude Code / OpenClaw, with 153 downloads so far.
How do I install YouTube/B站 视频搜索下载?
Run "/install yt-search-download" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is YouTube/B站 视频搜索下载 free?
Yes, YouTube/B站 视频搜索下载 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does YouTube/B站 视频搜索下载 support?
YouTube/B站 视频搜索下载 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created YouTube/B站 视频搜索下载?
It is built and maintained by joppyao-bit (@joppyao-bit); the current version is v1.0.0.
More Skills