AgentToolHub
Skill

bilibili-cli

bilibili-cli — a Claude Code skill from jackwener/bilibili-cli

Features

  • ✓🎬 **Video** — details, subtitles, AI summary, comments, related videos
  • ✓🎵 **Audio** — extract audio and split into ASR-ready WAV segments
  • ✓👤 **User** — profile, video list, following list
  • ✓🔍 **Search** — search users or videos by keyword
  • ✓🔥 **Trending** — hot videos and site-wide ranking
  • ✓📰 **Feed** — dynamic timeline from your follows
  • ✓📂 **Favorites** — browse favorite folders, watch-later, and watch history
  • ✓👍 **Interactions** — like, coin, triple (一键三连)
  • ✓🔐 **Smart auth** — auto-extracts cookies from Chrome/Firefox, or QR code login
  • ✓📊 **Structured output** — major query commands support `--yaml` and `--json`
  • ✓🤖 **Agent-friendly defaults** — non-TTY stdout defaults to YAML; override with `OUTPUT=yaml|json|rich|auto`
  • ✓📦 **Stable envelope** — see [SCHEMA.md](./SCHEMA.md) for `ok/schema_version/data/error`
  • ✓🧱 **Normalized payloads** — command-layer output is normalized instead of leaking raw upstream SDK responses

Installation Guide

bash
# Recommended: uv tool (fast, isolated)
uv tool install bilibili-cli

# Or: pipx
pipx install bilibili-cli

# If you need audio extraction support
uv tool install "bilibili-cli[audio]"
# or
pipx install "bilibili-cli[audio]"

Upgrade to the latest version:

bash
uv tool upgrade bilibili-cli
# Or: pipx upgrade bilibili-cli

Tip: Upgrade regularly to avoid unexpected errors from outdated API handling.

Or from source:

bash
git clone git@github.com:jackwener/bilibili-cli.git
cd bilibili-cli
uv sync

Run tests in the project environment:

bash
uv sync --extra dev
uv run pytest -q
uv run ruff check .
uv run python -m mypy bili_cli

If the project directory was moved and stale virtualenv wrappers remain, rerun:

bash
uv sync --extra dev --reinstall

Reviews