Skills for Real Engineers. Straight from my .agents directory.
bilibili-transcribe
Agent skill fromchubbyguan/chubbyskills
哔哩哔哩视频 → 下载 → 转录 → 存为 Markdown 的完整工作流。 支持 BV 号和完整链接,无需登录。
How to install bilibili-transcribe
npx skills add chubbyguan/chubbyskills# or add only this skill to Claude Code: copy the folder
bilibili-transcribe/
# into
~/.claude/skills/bilibili-transcribe/ (all projects)
.claude/skills/bilibili-transcribe/ (one project)
1# B 站视频转录 Skill23**字幕优先**:先尝试抓取官方/自动字幕(秒级、免 GPU、免 funasr);抓不到再下载音频用 SenseVoice-Small 转录,存为 Markdown 文件。加 `--no-subtitle` 可强制走音频转录。45## 环境要求67```bash8# Python 3.9+9python -m venv .venv10source .venv/bin/activate1112# 依赖13pip install funasr modelscope torch torchaudio1415# 系统依赖16# macOS: brew install ffmpeg yt-dlp17# Ubuntu: sudo apt install ffmpeg && pip install yt-dlp18```1920## 使用方法2122```bash23python scripts/transcribe.py "https://www.bilibili.com/video/BV1rrQGBeEen/"24python scripts/transcribe.py "BV1rrQGBeEen"25python scripts/transcribe.py "BV1rrQGBeEen" --no-subtitle # 强制音频转录2627# 批量处理:每行一个 B站 URL 或 BV 号28python scripts/batch_transcribe.py urls.txt -o ./output29```3031## 流程3233### Step 1: yt-dlp 下载音频3435B 站有反爬机制,需要加 User-Agent 和 Referer:3637```bash38yt-dlp --extract-audio --audio-format mp3 --audio-quality 128K \39 --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) ..." \40 --referer "https://www.bilibili.com" \41 "https://www.bilibili.com/video/BV1rrQGBeEen/"42```4344### Step 2: SenseVoice-Small 转录4546```python47from funasr import AutoModel48from funasr.utils.postprocess_utils import rich_transcription_postprocess4950model = AutoModel(51 model="iic/SenseVoiceSmall",52 trust_remote_code=True,53 vad_model="fsmn-vad",54 vad_kwargs={"max_single_segment_time": 30000},55 device="cpu",56)5758result = model.generate(input=audio_path, language="zh", use_itn=True, batch_size_s=60)59```6061### Step 3: 生成 Markdown6263自动创建带 frontmatter 的 Markdown 文件。6465### 批量模式66…
Excerpt shown under the repository's MIT license.
More skills in chubbyskills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
