Agent skill

Bilibili Transcribe

by chubbyguan in chubbyguan/chubbyskills

哔哩哔哩视频 → 下载 → 转录 → 存为 Markdown 的完整工作流. An agent skill from chubbyguan/chubbyskills.

MITAuto-check: notesMedia & Creative

Install Bilibili Transcribe

skills CLI
$ npx skills add chubbyguan/chubbyskills --skill bilibili-transcribe -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install chubbyguan/chubbyskills bilibili-transcribe --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/chubbyguan/chubbyskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/bilibili-transcribe .claude/skills/bilibili-transcribe && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bilibili-transcribe
GitHub stars
1.2k
Token cost
~578 tokens
SKILL.md length
75 words
Files
4 (incl. scripts)
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

哔哩哔哩视频 → 下载 → 转录 → 存为 Markdown 的完整工作流. An agent skill from chubbyguan/chubbyskills.

  • Works in 3 steps: yt-dlp 下载音频 → SenseVoice-Small 转录 → 生成 Markdown
  • Tasks that involve Transcription
  • SKILL.md covers 环境要求, 使用方法, 流程 and 性能数据, plus 3 more sections
  • Runs Python scripts from its folder; calls python, pip and yt-dlp; reaches bilibili.com

What it does

Bilibili Transcribe is an agent skill from chubbyguan/chubbyskills. 哔哩哔哩视频 → 下载 → 转录 → 存为 Markdown 的完整工作流。 支持 BV 号和完整链接,无需登录。

Its SKILL.md is about 580 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/batch_transcribe.py` and `scripts/transcribe.py`).

It sits in Media & Creative, covering Transcription and Markdown. It works with Bilibili. The repository describes itself as: 把中文全渠道内容(抖音 / B站 / 小红书 / 公众号 / X / 播客)采集进个人知识库的 14 个 AI Skill:图文存图、视频转文字稿、字幕优先免 GPU、RSS/YouTube 订阅调度与每日情报简报,附带知识库 MCP server。| Ingest Chinese content into your personal knowledge… The licence is MIT.

When your agent uses it

  • Tasks that involve Transcription
  • Tasks that involve Markdown

Example prompts

  • “/bilibili-transcribe”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. yt-dlp 下载音频
  2. SenseVoice-Small 转录
  3. 生成 Markdown

What it can do on your machine

Read from SKILL.md and the folder at commit 1b759b1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • pip
    • yt-dlp

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • bilibili.com

    Also links to:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bilibili Transcribe loads about 578 tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 75 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~19
When it runs · the whole SKILL.md, loaded when a task matches
~578

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:29
    # Ubuntu: sudo apt install ffmpeg && pip install yt-dlp

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from chubbyguan/chubbyskills at commit 1b759b1, republished under its MIT licence (© chubbyguan). 75 words, ~578 tokens.

Download SKILL.mdSave it as .claude/skills/bilibili-transcribe/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
bilibili-transcribe
description
哔哩哔哩视频 → 下载 → 转录 → 存为 Markdown 的完整工作流。 支持 BV 号和完整链接,无需登录。
metadata.category
media
metadata.triggers
["用户发送 B 站视频链接", "把这个 B 站视频转成文字", "帮我转录这个 bilibili"]
metadata.version
1.0.0
metadata.tags
["media", "audio", "video", "transcription", "bilibili"]

B 站视频转录 Skill

字幕优先:先尝试抓取官方/自动字幕(秒级、免 GPU、免 funasr);抓不到再下载音频用 SenseVoice-Small 转录,存为 Markdown 文件。加 --no-subtitle 可强制走音频转录。

环境要求

bash
# Python 3.9+
python -m venv .venv
source .venv/bin/activate

# 依赖
pip install funasr modelscope torch torchaudio

# 系统依赖
# macOS: brew install ffmpeg yt-dlp
# Ubuntu: sudo apt install ffmpeg && pip install yt-dlp

使用方法

bash
python scripts/transcribe.py "https://www.bilibili.com/video/BV1rrQGBeEen/"
python scripts/transcribe.py "BV1rrQGBeEen"
python scripts/transcribe.py "BV1rrQGBeEen" --no-subtitle   # 强制音频转录

# 批量处理:每行一个 B站 URL 或 BV 号
python scripts/batch_transcribe.py urls.txt -o ./output

流程

Step 1: yt-dlp 下载音频

B 站有反爬机制,需要加 User-Agent 和 Referer:

bash
yt-dlp --extract-audio --audio-format mp3 --audio-quality 128K \
  --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) ..." \
  --referer "https://www.bilibili.com" \
  "https://www.bilibili.com/video/BV1rrQGBeEen/"
Step 2: SenseVoice-Small 转录
python
from funasr import AutoModel
from funasr.utils.postprocess_utils import rich_transcription_postprocess

model = AutoModel(
    model="iic/SenseVoiceSmall",
    trust_remote_code=True,
    vad_model="fsmn-vad",
    vad_kwargs={"max_single_segment_time": 30000},
    device="cpu",
)

result = model.generate(input=audio_path, language="zh", use_itn=True, batch_size_s=60)
Step 3: 生成 Markdown

自动创建带 frontmatter 的 Markdown 文件。

批量模式

scripts/batch_transcribe.py 会逐条调用单篇转录脚本,默认单条失败后继续处理下一条;需要严格模式时加 --stop-on-error。

性能数据

视频时长转录耗时
5 min~10s
10 min~20s
30 min~60s

已知限制

  • B 站 4K/1080P60 需要大会员,普通用户可下载 720P 以下
  • SenseVoice-Small 模型首次下载约 893MB
  • 不支持说话人分离
  • 合集视频会下载第一个分 P

参考项目

⚖️ 合规声明

仅供个人学习与研究使用。请遵守目标平台的服务条款(ToS)与 robots 规则,控制请求频率,不要用于批量抓取、商用爬取或侵犯他人权益的场景。下载内容的版权归原作者所有。

© chubbyguan, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in bilibili-transcribe of chubbyguan/chubbyskills.

  • SKILL.md
  • requirements.txt
  • scripts/batch_transcribe.py
  • scripts/transcribe.py

Open the folder on GitHubat commit 1b759b1

Compare with similar skills

Bilibili Transcribe next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Bilibili Transcribe compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bilibili Transcribe this skillchubbyguan/chubbyskills1.2k—~578Automated safety check: NotesMIT
VideoiBigQiang/feedgrab614—~1.6kAutomated safety check: PassMIT
Bilibili Sourcedaymade/claude-code-skills1.5k—~2.2kAutomated safety check: PassMIT
Video Transcribewendy7756/AI-Video-Transcriber3.3k—~937Automated safety check: NotesApache-2.0
Bili NoteRimagination/bili-note322—~3.6kAutomated safety check: PassMIT
Video To Subtitle Summaryimlewc/video-to-subtitle-summary-skill218—~4.6kAutomated safety check: NotesMIT

Similar skills

  • Video

    iBigQiang/feedgrab

    Video & Podcast Digest — send a video/podcast link, get full transcript + structured summary.

    614 GitHub stars~1.6k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • Bilibili Source

    daymade/claude-code-skills

    Fetches real, citable Bilibili (B站) video data — stats, metadata, tags, and full danmaku text — via login-free API calls, never hand-typed or estimated.

    1.5k GitHub stars~2.2k tokensUpdated today
    Media & CreativeAuto-check passed
  • Video Transcribe

    wendy7756/AI-Video-Transcriber

    Transcribe and summarize a video or podcast from a URL (YouTube, TikTok, Bilibili, Apple Podcasts, SoundCloud, 30+ platforms) or from a local media/.txt file.

    3.3k GitHub stars~937 tokensUpdated 26 days ago
    Media & CreativeAuto-check: notes
  • Bili Note

    Rimagination/bili-note

    Extract Bilibili videos and opus/article posts into readable Markdown knowledge notes.

    322 GitHub stars~3.6k tokensUpdated 19 days ago
    Media & CreativeAuto-check passed
  • Video To Subtitle Summary

    imlewc/video-to-subtitle-summary-skill

    A skill your agent uses when user provides a short video platform URL or local video/audio file and wants subtitles/AI summary, or when user asks to list their own AI Douyin historical tasks.

    218 GitHub stars~4.6k tokensUpdated 2 mo ago
    Media & CreativeAuto-check: notes
  • Video To Notes

    KIRVO-REPORTING/video-to-notes

    Use immediately for any bare YouTube or YouTube Shorts URL, youtu.be link, Bilibili or b23.tv link, or other video URL; do not ask what the user wants.

    105 GitHub stars~1.5k tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed

More from chubbyguan/chubbyskills

All 14 skills in this repo
  • Douyin Transcribe

    chubbyguan/chubbyskills

    抖音视频 → 下载 → 转录 → 存为 Markdown 的完整工作流. An agent skill from chubbyguan/chubbyskills.

    1.2k GitHub stars~551 tokensUpdated 3 days ago
    Auto-check: notes
  • Industry Intelligence Radar

    chubbyguan/chubbyskills

    行业情报雷达:多源扫描(X/即刻/V2EX/HN) → 关键词过滤 → 趋势检测 → 每日情报简报。触发词:行业情报、竞品监控、热点扫描、情报雷达

    1.2k GitHub stars~806 tokensUpdated 3 days ago
    Auto-check passed
  • Knowledge Base Management

    chubbyguan/chubbyskills

    管理本地 Markdown/Obsidian 知识库:素材入库、健康检查、增量索引、关键词与 semantic-lite 检索、逐字原文资料包、归档和 MCP 连接。用于搜索知识库、整理资料及为 Agent 准备可定位的引用。

    1.2k GitHub stars~3.3k tokensUpdated 3 days ago
    Auto-check passed
  • Learning Notes Automation

    chubbyguan/chubbyskills

    学习笔记自动化:视频/播客转录 → 知识点提取 → 闪卡生成 → 知识图谱更新。触发词:学习笔记、闪卡、Anki、知识提取、视频学习

    1.2k GitHub stars~898 tokensUpdated 3 days ago
    Auto-check passed
  • Podcast Transcribe

    chubbyguan/chubbyskills

    播客/小宇宙 → 下载 → 转录 → 存为 Markdown 的完整工作流. An agent skill from chubbyguan/chubbyskills.

    1.2k GitHub stars~1.1k tokensUpdated 3 days ago
    Auto-check: notes
  • Tiktok Transcribe

    chubbyguan/chubbyskills

    TikTok 视频 → 下载 → 转录 → 存为 Markdown. An agent skill from chubbyguan/chubbyskills.

    1.2k GitHub stars~536 tokensUpdated 3 days ago
    Auto-check: notes

Works with

Questions about Bilibili Transcribe

What does Bilibili Transcribe do?

哔哩哔哩视频 → 下载 → 转录 → 存为 Markdown 的完整工作流. An agent skill from chubbyguan/chubbyskills. Bilibili Transcribe is an agent skill from chubbyguan/chubbyskills.

When should I use Bilibili Transcribe?

Bilibili Transcribe fits situations like: tasks that involve Transcription; tasks that involve Markdown.

How do I install Bilibili Transcribe in Claude Code?

Run `npx skills add chubbyguan/chubbyskills --skill bilibili-transcribe -a claude-code`. Or copy the skill folder (bilibili-transcribe in chubbyguan/chubbyskills) into .claude/skills/bilibili-transcribe in your project. Claude Code loads it when a task matches its description.

How do I install Bilibili Transcribe in Codex?

Run `npx skills add chubbyguan/chubbyskills --skill bilibili-transcribe -a codex`. Or copy the skill folder (bilibili-transcribe in chubbyguan/chubbyskills) into .agents/skills/bilibili-transcribe in your project. Codex loads it when a task matches its description.

Can I use Bilibili Transcribe in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add chubbyguan/chubbyskills --skill bilibili-transcribe -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bilibili-transcribe, .gemini/skills/bilibili-transcribe, .github/skills/bilibili-transcribe and .opencode/skills/bilibili-transcribe in your project.

What does Bilibili Transcribe need to run?

Going by SKILL.md and its folder, Bilibili Transcribe needs Python for the scripts in its folder and the command-line tools its instructions call (python, pip and yt-dlp). Our summary lists: Python 3.

Does Bilibili Transcribe access the network?

SKILL.md names 2 domains. In commands or code: bilibili.com; the agent is likely to contact it when it follows the instructions. As links in the text: github.com. This is read from the text; nothing was executed.

Is Bilibili Transcribe safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Bilibili Transcribe use?

Bilibili Transcribe is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Bilibili Transcribe use?

About 578 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Bilibili Transcribe?

Skills that share tags, products or a category with Bilibili Transcribe: Video (iBigQiang/feedgrab, 614 stars), Bilibili Source (daymade/claude-code-skills, 1.5k stars), Video Transcribe (wendy7756/AI-Video-Transcriber, 3.3k stars) and Bili Note (Rimagination/bili-note, 322 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bilibili Transcribe?

chubbyguan (a GitHub user) maintains it in chubbyguan/chubbyskills, which has 1,217 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 8, 2026.

Source: chubbyguan/chubbyskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.