SkillAgentSearch skills...

Yt2bb

YouTube to Bilibili video repurposing with bilingual subtitles

Install / Use

/learn @Agents365-ai/Yt2bb

README

yt2bb - YouTube to Bilibili Video Repurposing

A Claude Code skill that repurposes YouTube videos for Bilibili with bilingual (EN/ZH) hardcoded subtitles.

Compatible with Claude Code, OpenClaw, Hermes Agent, and indexed by SkillsMP.

Workflow

YouTube → yt-dlp → whisper → validate → translate → merge → ffmpeg → publish_info → Bilibili

| Step | Tool | Output | |------|------|--------| | Download | yt-dlp | .mp4 | | Transcribe | whisper | _{lang}.srt | | Validate/Fix | srt_utils.py | _{lang}.srt (fixed) | | Translate | Claude | _zh.srt | | Merge | srt_utils.py | _bilingual.srt | | Burn | ffmpeg | _bilingual.mp4 | | Publish Info | Claude | publish_info.md |

Usage

/yt2bb https://www.youtube.com/watch?v=VIDEO_ID

Installation

Claude Code

git clone https://github.com/Agents365-ai/yt2bb.git ~/.claude/skills/yt2bb

OpenClaw

git clone https://github.com/Agents365-ai/yt2bb.git ~/.openclaw/skills/yt2bb

Hermes Agent

git clone https://github.com/Agents365-ai/yt2bb.git ~/.hermes/skills/media/yt2bb

Prerequisites

Utility Script

# Merge EN and ZH subtitles
python3 srt_utils.py merge en.srt zh.srt output.srt

# Validate timing issues
python3 srt_utils.py validate input.srt

# Fix timing overlaps
python3 srt_utils.py fix input.srt output.srt

# Generate slug from title
python3 srt_utils.py slugify "Video Title"

License

MIT License

Support

If this project helps you, consider supporting the author:

<table> <tr> <td align="center"> <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/wechat-pay.png" width="180" alt="WeChat Pay"> <br> <b>WeChat Pay</b> </td> <td align="center"> <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/alipay.png" width="180" alt="Alipay"> <br> <b>Alipay</b> </td> <td align="center"> <img src="https://raw.githubusercontent.com/Agents365-ai/images_payment/main/qrcode/buymeacoffee.png" width="180" alt="Buy Me a Coffee"> <br> <b>Buy Me a Coffee</b> </td> </tr> </table>

探索未至之境

GitHub Bilibili

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated2h ago
Forks3

Languages

Python

Security Score

90/100

Audited on Apr 6, 2026

No findings