Agent skill
bbdown-cli
Install and use the BBDown CLI on Linux/macOS for Bilibili downloads, including login/cookies/access_token, downloading by URL, preferring 720p when available, and writing output under a local data/ directory.
Install this agent skill to your Project
npx add-skill https://github.com/Xiangyu-CAS/Vision-Skills/tree/main/skills/bbdown-cli
SKILL.md
BBDown CLI
Quick start (data/ output, prefer 720p)
- Prefer running from the repo root so
data/exists. - List available streams and the exact 720p label:
BBDown --only-show-info <url>
- Download to
data/with 720p preference (use the label you saw above):BBDown --work-dir data -q "<720p label>" <url>
- If you are unsure about labels, use interactive selection:
BBDown --work-dir data -ia <url>
Install or update (Linux/macOS)
- Install via .NET global tool:
dotnet tool install --global BBDown
- Update:
dotnet tool update --global BBDown
- Alternative: download a release binary and add it to PATH.
Dependencies
- Install
ffmpegormp4boxfor muxing. - For Dolby Vision muxing, use
ffmpeg5.0+ or a recentmp4box. - Optional: install
aria2cif you plan to use-aria2.
Auth and cookies
- Web QR login:
BBDown login
- TV QR login:
BBDown logintv
- Use a web cookie string when needed:
BBDown -c "SESSDATA=..." <url>
- Use TV/APP access token:
BBDown -tv -token "..." <url>
Common download workflow
- Basic download:
BBDown --work-dir data <url>
- Prefer 720p and hide extra streams for cleaner output:
BBDown --work-dir data -q "<720p label>" -hs <url>
- For multi-part videos, select pages:
BBDown --work-dir data -p 1,3,5 <url>
Troubleshooting
- If muxing fails, verify
ffmpeg/mp4boxavailability or pass explicit paths:BBDown --ffmpeg-path <path> --work-dir data <url>
- If member-only content fails, retry with
-ccookie (web) or-token(TV/APP).
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
image-generation
Gemini image generation and editing skill for text-to-image, image-to-image edits, multi-reference composition, and Google Search grounding. Use when creating or modifying images via Gemini (default model gemini-3-pro-image-preview) with the Python SDK.
video-generation
Gemini video generation with Veo 3.1 via the Python SDK. Use when generating videos from text or images, using reference images, first/last frame interpolation, or video extension, and when tuning Veo parameters (aspect ratio, resolution, duration, negative prompts, personGeneration, seed).
migrate-to-skills
discover-assumptions
Use after solution concepts exist to surface and prioritize assumptions behind outcomes, opportunities, or solution ideas and design experiments to test them.
discover-opportunities
Use after outcomes are defined to discover opportunities, unmet needs, market gaps, or JTBD insights before choosing solutions.
discover-outcomes
Use at the start of product strategy to define or refine desired outcomes and success metrics (e.g., for Opportunity Solution Trees or continuous discovery) before selecting opportunities or solutions.
Didn't find tool you were looking for?