bilibili-ai-subtitle
Download Bilibili AI-generated subtitles (auto-subtitles) for videos. Use when you need to quickly get subtitles from Bilibili videos that have AI-generated captions. Supports 9 languages: Chinese, English, Japanese, Spanish, Arabic, Portuguese, Korean, German, French. Language priority can be customized.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/54lynnn/bilibili-ai-subtitleWhat This Skill Does
The bilibili-ai-subtitle skill is a specialized utility designed for OpenClaw users to instantly retrieve AI-generated transcripts from Bilibili videos. Unlike traditional transcription methods that require expensive API calls or heavy local processing like Whisper, this skill interfaces directly with Bilibili's native AI captioning system. This allows for high-speed, accurate subtitle acquisition for any Bilibili video that supports auto-generated captions. Version 2.0 of this skill introduces significant enhancements, including configurable language priorities, a standardized three-part documentation output format (Info, Summary, Full Text), and robust cookie handling for accessing member-only content via WSL or Windows Edge.
Installation
To integrate this skill into your environment, use the OpenClaw Hub command:
clawhub install openclaw/skills/skills/54lynnn/bilibili-ai-subtitle
Ensure that the yt-dlp tool is installed on your system as it serves as the primary engine for fetching metadata and subtitle streams. If you intend to access member-only content, ensure you are logged into your Bilibili account via a supported browser so the script can authenticate using your local cookies.
Use Cases
This skill is perfect for researchers, students, and content creators who need to parse video information quickly. It is ideal for:
- Content Analysis: Quickly obtaining text records of lectures or technical tutorials.
- Archival: Building a local database of video transcripts with standardized filenames.
- Language Learning: Fetching subtitles in specific languages for study and translation.
- Quick Summarization: Feeding retrieved text into LLMs to generate study notes.
Example Prompts
- "OpenClaw, please download the AI subtitles for this video: https://www.bilibili.com/video/BV1xxxx and ensure you prioritize English captions if available."
- "Get the subtitles for the latest tech review at this link https://www.bilibili.com/video/BVxxxx. Set the language preference to Japanese."
- "Download the transcripts for this Bilibili video [link] and use the English and Chinese fallback sequence."
Tips & Limitations
- Language Priority: You can define multiple languages using comma separation (e.g., -l en,zh,ja). The script will check for these in order.
- Limitations: Remember that accuracy relies on Bilibili's internal AI, typically ranging between 85-95%. Videos without Bilibili-native AI captions will not return results; for those, consider the 'bilibili-transcript' skill for manual Whisper transcription.
- File Integrity: Files are saved with a systematic naming convention including duration and BV ID, making them perfect for file management and automated indexing.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-54lynnn-bilibili-ai-subtitle": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read