โ† All skills
Tencent SkillHub ยท AI

Bili Summary

Download Bilibili videos, extract or transcribe subtitles, and generate AI-powered detailed summaries using Gemini 2.5 Flash.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Download Bilibili videos, extract or transcribe subtitles, and generate AI-powered detailed summaries using Gemini 2.5 Flash.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, scripts/bili-summary.py

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 25 sections Open source page

bili-summary

Bilibili (B็ซ™) video download, subtitle extraction, and AI summarization tool.

When to Use

โœ… USE this skill when: "download Bilibili video" "extract B็ซ™ subtitles" "summarize B็ซ™ video" "B็ซ™่ง†้ข‘ๆ€ป็ป“" "bilibili transcription" Any Bilibili video URL

Features

Get video info (title, duration, uploader) Download B็ซ™ video (video + audio) Extract subtitles (B็ซ™ CC subtitles) Audio extraction + Whisper transcription (when no subtitles) Gemini AI detailed summary (chapters + key content + key insights + conclusion)

1. Install Dependencies

# Using miniconda3 (recommended) ~/miniconda3/bin/pip install yt-dlp faster-whisper # Or using system Python (may require sudo) pip install yt-dlp faster-whisper

2. Get Gemini API Key

This skill uses Google Gemini 2.5 Flash for AI summarization. Steps: Visit https://aistudio.google.com/app/apikey Sign in with your Google account Click "Create API Key" Copy the generated key Pricing: Gemini 2.5 Flash has generous free tier (15 RPM, 1M TPM)

3. Set Environment Variable

# Add to your ~/.bashrc or ~/.zshrc for permanent setup echo 'export GEMINI_API_KEY="your-api-key-here"' >> ~/.bashrc source ~/.bashrc # Or set temporarily for current session export GEMINI_API_KEY="your-api-key-here"

Full Workflow (Recommended)

# Download audio, transcribe, and summarize in one command uv run {baseDir}/scripts/bili-summary.py "https://www.bilibili.com/video/BV1xx411c7mu" --action summary

Other Actions

# Get video info only uv run {baseDir}/scripts/bili-summary.py "URL" --action info # Download subtitle (if available) uv run {baseDir}/scripts/bili-summary.py "URL" --action subtitle # Download and transcribe audio only uv run {baseDir}/scripts/bili-summary.py "URL" --action transcribe # Download full video uv run {baseDir}/scripts/bili-summary.py "URL" --action video

Options

OptionDescriptionDefaulturlBilibili video URL (BVๅทๆˆ–ๅฎŒๆ•ด้“พๆŽฅ)required--actionOperation: info/subtitle/transcribe/video/summarysummary--outputOutput directory~/openclaw/workspace/coding-agent/temp/bili-summary

Output Files

Default output: ~/openclaw/workspace/coding-agent/temp/bili-summary/ temp/bili-summary/ โ”œโ”€โ”€ audio.m4a # Downloaded audio (deleted after summary) โ”œโ”€โ”€ subtitle.txt # Transcribed text (deleted after summary) โ””โ”€โ”€ summary.txt # AI summary content

summary (full workflow)

Get video info - yt-dlp fetches title, duration, uploader Try B็ซ™ subtitles - Call Bilibili API for CC subtitles Fallback to Whisper - If no subtitles, download audio + faster-whisper (tiny model) transcription AI Summary - Call Gemini 2.5 Flash API for detailed summary

Time Estimate

StepTimeAudio download~15sWhisper transcription (tiny)~25sGemini summary~5sTotal~45s

Recommended API: Google Gemini

Model: gemini-2.5-flash Endpoint: https://generativelanguage.googleapis.com/v1/models/gemini-2.5-flash:generateContent Free Tier: 15 requests/minute, 1M tokens/minute Sign up: https://aistudio.google.com/app/apikey

Alternative APIs (not implemented)

If you want to use other LLMs: OpenAI GPT-4o - https://api.openai.com/v1/chat/completions Anthropic Claude - https://api.anthropic.com/v1/messages MiniMax - https://api.minimax.chat/v1/text/chatcompletion_v2 Note: Current implementation only supports Gemini. PRs welcome for other providers.

Step 1: Install Python dependencies

# Check if miniconda3 exists ls ~/miniconda3/bin/python # Install dependencies ~/miniconda3/bin/pip install yt-dlp faster-whisper # Or use uv uv pip install yt-dlp faster-whisper

Step 2: Get API Key

Go to https://aistudio.google.com/app/apikey Create new API key Copy the key

Step 3: Test the setup

# Set API key export GEMINI_API_KEY="your-key-here" # Test with a simple video uv run {baseDir}/scripts/bili-summary.py "https://www.bilibili.com/video/BV1xx411c7mu" --action info If you see JSON output with video title, duration, etc., you're ready!

Step 4: Run full summarization

uv run {baseDir}/scripts/bili-summary.py "https://www.bilibili.com/video/BV1xxx" --action summary

"No module named 'yt-dlp'"

~/miniconda3/bin/pip install yt-dlp faster-whisper

"GEMINI_API_KEY not found"

# Check if environment variable is set echo $GEMINI_API_KEY # Set it export GEMINI_API_KEY="your-key"

"No subtitles available"

The skill automatically falls back to Whisper transcription. This may take longer but works for any video with audio.

"API rate limit exceeded"

Wait a minute and retry, or check your API quota at https://aistudio.google.com/app/apikey

Security Notes

โœ… API key is read from GEMINI_API_KEY environment variable only โœ… No hardcoded API keys in source code โœ… Temporary files stored in workspace temp directory โš ๏ธ Audio/subtitle files are NOT auto-deleted (manual cleanup required)

File Structure

bili-summary/ โ”œโ”€โ”€ SKILL.md # This documentation โ”œโ”€โ”€ _meta.json # ClawHub metadata (auto-generated) โ””โ”€โ”€ scripts/ โ””โ”€โ”€ bili-summary.py # Main script

License

MIT License - Use at your own risk. Respect Bilibili's terms of service.

Category context

Agent frameworks, memory systems, reasoning layers, and model-native orchestration.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs1 Scripts
  • SKILL.md Primary doc
  • scripts/bili-summary.py Scripts