bilibili-video-summary
Skill1 starsChanged 6 months agoMITView on GitHub
Create local Markdown summaries for Bilibili, b23.tv, and YouTube videos by extracting metadata and subtitles/transcripts first, then having Codex write the summary and detailed notes. Use when the user asks to summarize, outline, extract key points from, or prepare notes for Bilibili/B-site/BV videos, b23.tv short links, or YouTube videos, especially when they want a local .md document.
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- kiakun-collab/kiakun-skillstheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- kiakun-collab/kiakun-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. About 0 are common, 13 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when the user gives a Bilibili, b23.tv, or YouTube video URL and asks for a summary, notes, outline, timeline, key points, …
- Distinctive: line 12
Run the helper script to extract metadata and subtitles/transcripts to JSON.
- Distinctive: line 13
Read the JSON output.
- Very specific: line 14
If items[0].has_transcript is true, use items[0].transcript to write the requested summary yourself.
- Very specific: line 15
If items[0].has_transcript is false for a Bilibili video, use the browser subtitle fallback before audio transcription:
- Distinctive: line 17
Start playback if needed.
- Very specific: line 23
If the API, yt-dlp, and browser subtitle fallback all fail, use audio transcription with --transcribe-audio.
- Distinctive: line 25
If audio transcription also fails, state that the video has no accessible subtitles and audio transcription failed.
- Distinctive: line 29
Prefer Python directly because this skill is used on Windows as well as Unix-like systems:
- Distinctive: line 47
When subtitles are unavailable and a real transcript is still needed, run the audio transcription fallback:
- Very specific: line 53
Use --asr-model small for better Chinese transcription when speed and model download size are acceptable.
- Very specific: line 57
Use this only when the JSON output says has_transcript: false and the URL is a Bilibili page.
- Distinctive: line 67
Verify subtitles appear over the video.
- Distinctive: line 69
Prefer DOM text extraction if the subtitle text is present in the page.
- Distinctive: line 70
If DOM extraction does not expose the subtitle, use browser screenshots at short intervals and OCR only the subtitle region if an OCR tool …
- Distinctive: line 72
Stop when the video ends or enough transcript has been collected for the requested summary.
- Distinctive: line 75
If the subtitle menu has no Chinese or AI subtitle track, stop and report that no accessible subtitle is available.
- Distinctive: line 79
Use this only after subtitle extraction and browser subtitle fallback have failed, or when the user explicitly asks to transcribe audio.
- Very specific: line 125
Write in Chinese by default.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Bilibili Video Summary
Use this skill when the user gives a Bilibili, b23.tv, or YouTube video URL and asks for a summary, notes, outline, timeline, key points, or a local Markdown document. By default, create a local Markdown file unless the user explicitly asks for chat-only output.
Workflow
- Run the helper script to extract metadata and subtitles/transcripts to JSON.
- Read the JSON output.
- If
items[0].has_transcriptis true, useitems[0].transcriptto write the requested summary yourself. - If
items[0].has_transcriptis false for a Bilibili video, use the browser subtitle fallback before audio transcription:- Open the video page in the browser.
- Start playback if needed.
- Open the player subtitle menu, usually labelled
Subtitle,CC, or ChineseZi Mu. - Select a Chinese subtitle track when available, especially
Chinese AIorZhongwen AI. - Confirm that the player shows a message equivalent to "subtitles switched to Chinese".
- Extract visible subtitle text from the page while the video plays, deduplicate repeated lines, and use the collected text as the transcript.
- Mark the transcript source as
browser subtitle fallbackin the local Markdown file.
- If the API, yt-dlp, and browser subtitle fallback all fail, use audio transcription with
--transcribe-audio. - Save a local
.mdfile by default. Include source URL, title, channel, duration, transcript source, summary, and detailed notes. - If audio transcription also fails, state that the video has no accessible subtitles and audio transcription failed. Do not pretend to have watched the video.
Commands
Prefer Python directly because this skill is used on Windows as well as Unix-like systems:
python scripts\summarize.py --url "https://www.bilibili.com/video/BV..." --include-transcript --output "$env:TEMP\video_summary.json"For b23.tv links:
python scripts\summarize.py --url "https://b23.tv/..." --include-transcript --output "$env:TEMP\video_summary.json"For YouTube:
python scripts\summarize.py --url "https://www.youtube.com/watch?v=..." --include-transcript --output "$env:TEMP\video_summary.json"When subtitles are unavailable and a real transcript is still needed, run the audio transcription fallback:
python scripts\summarize.py --url "https://www.bilibili.com/video/BV..." --include-transcript --transcribe-audio --asr-model base --output "$env:TEMP\video_summary.json"Use --asr-model small for better Chinese transcription when speed and model download size are acceptable.
Browser Subtitle Fallback
Use this only when the JSON output says has_transcript: false and the URL is a Bilibili page.
The goal is to recover subtitles that Bilibili exposes only in the player UI. Do not use this path when API subtitles are already available.
Suggested procedure:
- Open the Bilibili URL in the browser automation tool.
- Click play and wait until the player controls are visible.
- Open the subtitle menu. It may appear as
Subtitle,CC, or Chinese UI text for subtitles. - Select Chinese or Chinese AI subtitles if available. The UI may show entries similar to
Chinese,Chinese AI,Zhongwen, orZhongwen AI. - Verify subtitles appear over the video.
- Collect subtitle text while playing:
- Prefer DOM text extraction if the subtitle text is present in the page.
- If DOM extraction does not expose the subtitle, use browser screenshots at short intervals and OCR only the subtitle region if an OCR tool is available.
- Deduplicate consecutive repeated captions.
- Stop when the video ends or enough transcript has been collected for the requested summary.
- In the Markdown file, include
Transcript source: browser subtitle fallback.
If the subtitle menu has no Chinese or AI subtitle track, stop and report that no accessible subtitle is available.
Audio Transcription Fallback
Use this only after subtitle extraction and browser subtitle fallback have failed, or when the user explicitly asks to transcribe audio.
The helper script downloads the best available audio with yt-dlp and transcribes it locally with faster-whisper.
Recommended command:
python scripts\summarize.py --url "<video-url>" --include-transcript --transcribe-audio --asr-model base --output "$env:TEMP\video_summary.json"Notes:
- The first ASR run may download the Whisper model and can be slow.
baseis faster and smaller.smallusually gives better Chinese results but is slower.- The default language hint is
zh. Use--asr-language ""only when the video is multilingual and automatic language detection is preferred. - Temporary audio is deleted by default. Use
--audio-output-dir "<dir>"only when the audio file should be kept for debugging. - In the Markdown file, include
Transcript source: audio_asr.
Dependencies
Install once if needed:
python -m pip install -r requirements.txtThe script needs yt-dlp on PATH. The Python package install normally provides the yt-dlp command.
Audio transcription also needs faster-whisper; it is included in requirements.txt.
JSON Output
The output JSON has:
items[0].titleitems[0].urlitems[0].sourceitems[0].channelitems[0].durationitems[0].has_transcriptitems[0].transcriptwhen--include-transcriptis used and subtitles are availableitems[0].metadataitems[0].metadata.transcript_source, such assubtitle_api,yt_dlp_subtitle,browser subtitle fallback,audio_asr, ornone
Markdown Output Style
Write in Chinese by default. In the generated Markdown, do not use English section titles or field labels. Use Chinese headings and field labels throughout, and convert raw source keys like subtitle_api or audio_asr into human-readable Chinese.
Structure the output with local-language section titles for video info, summary, detailed content, and reusable points.
In the info block, use local-language labels for source, link, BV ID, title, channel, duration, publish date, transcript source, and note.
For technical videos, explicitly extract:
- Problem statement
- Inputs and outputs
- Key method or mechanism
- Metrics or evaluation criteria
- Baselines or comparison points
- Open questions to verify from the transcript
Limits
Bilibili videos without public subtitles can still be summarized through audio transcription, but ASR quality depends on audio clarity, language, background music, and model size. If subtitles and ASR both fail, ask the user for a subtitle file or transcript.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

