bili-note

Extract Bilibili videos and opus posts into Markdown knowledge notes with evidence indexes.

Updated Sep 21, 2026
Ready to run
npx skills add https://github.com/tangyixiao/tangyixiao-skills --skill bili-note-tangyixiao
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: bili-note
Source: https://github.com/tangyixiao/tangyixiao-skills/tree/main/bili-note
Command: npx skills add https://github.com/tangyixiao/tangyixiao-skills --skill bili-note-tangyixiao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires faster-whisper, openai-whisper, funasr, qwen-asr, yt-dlp, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Bilibili videos and long-form opus posts are hard to turn into durable, searchable knowledge: subtitles may be missing or sparse, comments contain buried corrections, and fixed-length summaries lose the depth of long courses. This Skill archives full subtitles, article text, images, and comments, then produces learning-oriented Markdown notes sized to the actual information density of the content. ## Core Features & Use Cases - Complete archiving: Saves full subtitles (TXT/SRT/JSON), opus article text and images, full comment trees, metadata, and JSONL evidence indexes so key claims in the note link back to verifiable source positions. - Budget-driven note writing: Generates a note budget (recommended length, compression ratio, granularity, quality multiplier from engagement signals) before writing, and scores the finished note against it. - Multi-route subtitle acquisition: Uses public subtitle APIs first, falls back to browser AI subtitles via a logged-in Chrome page, then to local ASR (Qwen3-ASR for Chinese, Whisper-family for foreign languages). - Use Case: Paste a Bilibili course or opus link, and receive a structured learning note with concept cards, practice checklists, self-test questions, and numbered evidence footnotes, plus a permanent raw-materials archive for later Q&A. ## Quick Start Ask the agent to extract the content and useful comments from a Bilibili video or opus URL and save the note into your knowledge base folder.

Frequently Asked Questions about bili-note

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract a Bilibili video into a Markdown note?▼

Run the run_bili_note.py script with the video URL, a work directory, and an archive directory; it auto-detects video, opus, or dynamic links. It fetches metadata, subtitles, and optionally comments, then archives everything with evidence indexes for note writing.

What should I do when a Bilibili video has no downloadable subtitles?▼

If the public API only shows ai-zh with an empty subtitle URL, use the browser AI subtitle route through a logged-in Chrome page via web-access. If that fails, download the audio and transcribe locally with Qwen3-ASR for Chinese or a Whisper-family backend for foreign languages.

Does Bili Note require Python packages or login cookies?▼

The default route uses only the Python standard library and public Bilibili APIs, requiring Python 3.10 or later. Browser AI subtitles use the logged-in page's own requests through web-access and never read or export cookies, profiles, or tokens.

Why does the tool warn about sparse subtitles on long videos?▼

Long videos with very low subtitle characters per minute usually carry key information in visuals like slides, code demos, or screen recordings. The note budget flags this as visual dependency risk so you add keyframes, OCR, or multimodal review instead of writing a full note from incomplete text.

Can Bili Note extract Bilibili opus articles and their comments?▼

Yes, extract_bilibili_opus.py parses the opus page's initial state to capture full text, headings, code blocks, lists, and images. For comments it reads the page's comment_type and comment_id_str rather than reusing the video comment parameters.

How is the length of the generated note decided?▼

The archive step writes note_budget.json with a recommended character range, compression ratio, and granularity based on duration, subtitle or article volume, evidence blocks, comment counts, and engagement quality. The finished note is then scored against that budget for acceptance.