Skip to content
Back to skills

Bilibili

ASecurity

Read Bilibili (B站) content. Actions: search videos, view hot/rank feeds, read video details, prepare audio, and read subtitles through OpenCLI. Keywords: bilibili, b站, 哔哩哔哩, BV, 视频, 字幕, 热门, 排行.

  • 14 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added August 31, 2026
ai-agentsbashapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add codingSamss/all-my-ai-needs --skill bilibili --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bilibili?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bilibili
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/codingsamss-bilibili/badge)](https://www.skillsdirectory.com/skills/codingsamss-bilibili)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: bilibili
description: "Read Bilibili (B站) content. Actions: search videos, view hot/rank feeds, read video details, prepare audio, and read subtitles through OpenCLI. Keywords: bilibili, b站, 哔哩哔哩, BV, 视频, 字幕, 热门, 排行."
---

# Bilibili Skill (Read-Only)

Use this skill for Bilibili search, video metadata, hot/rank feeds, and subtitle lookup. Do not use `yt-dlp` as the default Bilibili reader; Bilibili commonly blocks that route.

## When To Use

Triggered by:
- "B站搜索 [query]", "bilibili search [query]"
- "读 B站视频", "show BV..."
- "B站热门", "B站排行"
- "B站字幕", "bilibili subtitle"
- "下载 B站音频用于转录"

## Preferred Tools

1. `bili` (provided by the `bilibili-cli` package) for search, hot/rank, video detail, and audio. Check availability with `command -v bili`.
2. Bilibili web search API as a no-install search fallback.
3. OpenCLI for subtitles and browser-session enhanced reads.
4. `video-transcribe` for full transcript, screenshots, keyframes, or notes that replace watching the video.

## Commands

Search videos:

```bash
bili search "<query>" --type video -n 5
```

Hot and ranking:

```bash
bili hot -n 10
bili rank -n 10
```

Video details:

```bash
bili video "<BV_ID>"
```

Audio for transcription:

```bash
bili audio "<BV_ID>"
```

Subtitles through OpenCLI (install or upgrade only after the shared [dependency review](../xiaohongshu/references/opencli-upgrade.md)):

```bash
opencli bilibili subtitle "<BV_ID>"
```

OpenCLI 2.x default output and explicit `-f json` use `{ "ok": true, "data": ... }`. Check the exit status and `ok` before reading `data`; errors are not empty subtitles. `-f yaml` retains the raw data shape. This rule applies to OpenCLI, not the separate `bili` CLI.

No-install search fallback:

```bash
UA="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36"
curl -s -A "$UA" \
  "https://api.bilibili.com/x/web-interface/search/all/v2?keyword=<QUERY>&page=1"
```

## Boundaries

- Read-only only.
- Do not use `yt-dlp` as the default Bilibili extraction route.
- For complete video understanding, transcription, visual frame analysis, or Obsidian notes, switch to `video-transcribe`.
- If `bili` is missing, use the search API only for search and report that full Bilibili support needs the `bilibili-cli` package.

Files in this skill

  • README.md1.1 KB
  • SKILL.md1.8 KB
  • runtime.yaml628 B
  • skill.config.json73 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.