← Back to Skills Marketplace
caiyundc880518

Bilili-downloader

by Dong Chao · GitHub ↗ · v1.0.3
cross-platform ✓ Security Clean
2794
Downloads
5
Stars
10
Active Installs
4
Versions
Install in OpenClaw
/install bililidownloader
Description
Download Bilibili videos. You MUST ask the user for the Bilibili URL first. Then use the provided python script to download. Supports batch/playlist downloading.
README (SKILL.md)

Bilibili视频下载器

描述

此技能用于下载B站视频。 重要:在使用此技能前,必须先询问用户获取视频的URL地址。 支持单个视频和合集的下载。能够智能检测系列视频,提供格式选择,并显示下载进度。

功能

  • 解析B站链接,判断是否为系列视频
  • 显示系列视频总数
  • 提供批量下载选项
  • 支持视频格式和清晰度选择
  • 实时显示下载进度
  • 下载完成后通知结果

参数 (CLI参数)

  • url: B站视频链接(必需)
  • --batch: 自动批量下载系列视频(可选)
  • --no-batch: 仅下载单个视频(可选)
  • --format / -f: 视频格式ID(可选,默认为最高可用质量)

依赖

  • python >= 3.6
  • yt-dlp
  • ffmpeg

使用示例

对话流程

用户: "下载B站视频" AI: "好的,请告诉我视频的链接(URL)是什么?" 用户: "https://www.bilibili.com/video/BV1xxx" AI: (执行下载脚本)

命令示例

# 基本下载
python3 scripts/download_bilibili.py "https://www.bilibili.com/video/BV1xxx"

# 批量下载
python3 scripts/download_bilibili.py "https://www.bilibili.com/video/BV1xxx" --batch

工作流程

  1. 询问用户视频URL
  2. 解析提供的B站URL
  3. 检测是否为系列视频
  4. (可选) 根据用户意图使用 --batch 或 --no-batch
  5. 执行下载脚本
  6. 实时显示下载进度
  7. 下载完成后报告成功或失败状态

注意事项

  • 如遇VIP内容或地区限制,可能需要提供cookie
  • 下载速度取决于网络状况和B站服务器
  • 遵守B站使用条款,仅用于个人学习和备份目的
Usage Guidance
This skill appears to do what it says, but review and precautions before installing: (1) Verify you trust the author/source because the script will run commands that access the network (yt-dlp will contact Bilibili); (2) Install yt-dlp and ffmpeg yourself (requirements.txt lists yt-dlp); the skill assumes yt-dlp is on PATH; (3) The downloader writes files to the working directory (or specified output); ensure sufficient disk space and that you are comfortable with files being created there; (4) If you need to download VIP/region-locked content you may need to supply cookies—decide whether and how you provide those (do not paste secrets into untrusted UIs); (5) Consider running the script in a restricted/sandboxed environment if you are unsure about running third-party code; (6) Be aware of copyright and Bilibili terms of service—use only for permitted personal backups or learning. Overall the package is coherent and contains no obvious data-exfiltration or unrelated privilege requests.
Capability Analysis
Type: OpenClaw Skill Name: bililidownloader Version: 1.0.3 The skill bundle is designed to download Bilibili videos using the `yt-dlp` tool. The `SKILL.md` clearly instructs the AI agent to ask for the video URL, and the `scripts/download_bilibili.py` script uses `subprocess.run` to execute `yt-dlp` with the provided URL and options. There is no evidence of data exfiltration, malicious execution beyond the stated purpose, persistence mechanisms, prompt injection attempts against the agent, or obfuscation. The use of `yt-dlp` is a legitimate and expected behavior for a video downloader skill.
Capability Assessment
Purpose & Capability
Name/description, SKILL.md, requirements.txt, and the Python script all align: they implement a Bilibili downloader and declare the expected dependencies (python, yt-dlp, ffmpeg). No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md confines runtime actions to asking the user for a URL and running the provided script. The instructions do not ask the agent to read unrelated files or exfiltrate data. A minor note: SKILL.md mentions cookies for VIP/region-locked content but doesn't provide an explicit mechanism for supplying cookies (not a security problem but could affect functionality).
Install Mechanism
This is instruction-only (no install spec). That is lower-risk, but requirements.txt names yt-dlp which must be installed separately; the skill expects yt-dlp available on PATH. No remote downloads or extract/install steps are present in the package.
Credentials
The skill requests no environment variables, tokens, or credentials. The note about cookies is informational only; the code does not attempt to read secrets from environment/config paths.
Persistence & Privilege
always is false and the skill does not request persistent/privileged presence or attempt to modify other skills or system-wide settings. It runs as an on-demand helper that invokes external yt-dlp.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install bililidownloader
  3. After installation, invoke the skill by name or use /bililidownloader
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.3
- Updated example download commands in documentation to use a simplified script path (scripts/download_bilibili.py). - No functional changes to code; documentation only.
v1.0.2
- Strongly clarified that the user must provide a Bilibili URL before downloading. - Updated skill description and workflow to emphasize explicitly asking the user for the URL first. - Changed parameter documentation to reflect CLI arguments (--batch, --no-batch, --format). - Added concrete usage and command examples for both individual and batch downloads using the new script path. - Moved the main script to scripts/download_bilibili.py for better organization.
v1.0.1
- Added an English description and usage summary at the top of SKILL.md for broader accessibility. - No functionality changes; documentation only.
v1.0.0
Initial release of Bilibili视频下载器: - Supports downloading single videos and playlists from Bilibili. - Detects and displays total number of videos in a series. - Offers batch download, video format, and quality selection. - Shows real-time download progress and notifies upon completion. - Requires Python 3.6+, yt-dlp, and ffmpeg. - Includes parameter support for URL, batch mode, format, and quality.
Metadata
Slug bililidownloader
Version 1.0.3
License
All-time Installs 11
Active Installs 10
Total Versions 4
Frequently Asked Questions

What is Bilili-downloader?

Download Bilibili videos. You MUST ask the user for the Bilibili URL first. Then use the provided python script to download. Supports batch/playlist downloading. It is an AI Agent Skill for Claude Code / OpenClaw, with 2794 downloads so far.

How do I install Bilili-downloader?

Run "/install bililidownloader" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Bilili-downloader free?

Yes, Bilili-downloader is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Bilili-downloader support?

Bilili-downloader is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Bilili-downloader?

It is built and maintained by Dong Chao (@caiyundc880518); the current version is v1.0.3.

💬 Comments