bilibili-video-download SKILL.md skillA
bilibili-video-download from black-yt/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add black-yt/skills/bilibili-video-download@git:20261022.f462695Pins git:20261022.f462695 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- black-yt/skills
- Path
bilibili-video-download/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261022.f462695, committed Oct 22, 2026
- Size
- 4,060 bytes
- Repository stars
- 16
- License
- none declared
当用户要下载哔哩哔哩普通 BV 投稿视频为 MP4、选择画质或分 P,或将其音频导出为 MP3 时使用;提供完整的标准库 Python 下载脚本、ffmpeg 安装与调用步骤、登录态处理和结果验证。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# B站视频下载与 MP3 导出 ## 交付范围 - 本 skill 自带完整可运行的 [下载脚本](scripts/bilibili_download.py),使用 Python 3.10+ 标准库请求视频信息、WBI 签名与 DASH 音视频流,再用 ffmpeg 合并 MP4 或转码 MP3;不需要 pip 包。 - 支持普通投稿视频的 BV 号或含 BV 号的 URL、指定画质、交互选画质、指定/全部分 P、MP4+MP3、仅 MP3、固定码率/VBR。输出保存在用户指定目录。 - 不支持番剧 `ep/ss`、AV 号、互动视频、断点续传和批量播放列表。接口或风控变化时先诊断,不凭空声称可下载或绕过权限。 ## 执行步骤 1. 确认用户给出 BV 号/普通视频 URL、要 MP4 还是 MP3、分 P 范围和输出目录;未指定时默认最高实际可用画质、首个分 P、仅 MP4。不同视频尽量使用独立输出目录,避免同名标题冲突。 2. 按 [安装与使用](references/01_install_and_usage.md) 检查 `python3 --version`、ffmpeg 和 `libmp3lame`。只在缺依赖时安装;优先使用已存在的 ffmpeg 或 `--ffmpeg` / `FFMPEG_BIN`。 3. 先用 `--list` 查看实际可用画质;执行下载时按用户需求选择 `--qn`、`--page`、`--all`、`--mp3` 或 `--mp3-only`。高画质若需要登录态,只使用用户提供的 Cookie;优先从仓库外的私有文件通过 `--cookie-file` 读取,不把真实值写入命令行、日志或仓库。 4. 检查进程退出码、输出文件存在且非空;用 ffprobe 检查容器、时长与视频/音频流。失败时按 [工作原理与排错](references/02_behavior_and_troubleshooting.md) 找首个错误。不要把下载中断留下的 `.tmp_parts` 当成成品。 ## 最常用调用 ```bash SKILL_DIR="/path/to/bilibili-video-download" VIDEO_URL="https://www.bilibili.com/video/BVxxxxxxxxxx/" # MP4;默认首 P、当前可下载的最高画质 python3 "$SKILL_DIR/scripts/bilibili_download.py" "$VIDEO_URL" --dir "./downloads/BVxxxxxxxxxx" # 仅导出 MP3,不下载视频流 …
Read the whole file at its exact version.
How to install
mdr add black-yt/skills/bilibili-video-download@sha256:a2014248748b836dThe line at the top of this page pins the label git:20261022.f462695, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_h5v6cb4wa4fzegts)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 22, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4060 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
black-yt/skills · 16 stars · license none declared · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_h5v6cb4wa4fzegts GET https://markdownregistry.com/api/v1/resolve?ref=black-yt/skills/bilibili-video-download GET https://markdownregistry.com/api/v1/blob/a2014248748b836dbf836592f1346db68b2e2ce3d13044a344e304b183ff1fc4
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.