# baoyu-youtube-transcript

> Claude/Codex skill by [@jimliu](https://omgskills.com/library/jimliu/index.md) · 27k stars · Updated 2026-09-10

Downloads YouTube video transcripts/subtitles and cover images by URL or video ID. Supports multiple languages, translation, chapters, and speaker identification. Caches raw data for fast re-formatting. Use when user asks to "get YouTube transcript", "download subtitles", "get captions", "YouTube字幕", "YouTube封面", "视频封面", "video thumbnail", "video cover image", or provides a YouTube URL and wants the transcript/subtitle text or cover image extracted.

Tags: agent-skills, claude-skills, codex-skills, openclaw-skills

## Install

```sh
git clone https://github.com/JimLiu/baoyu-skills /tmp/baoyu-skills && ln -s /tmp/baoyu-skills/skills/baoyu-youtube-transcript ~/.claude/skills/baoyu-youtube-transcript
```

## From README

YouTube Transcript Downloads transcripts (subtitles/captions) from YouTube videos. Works with both manually created and auto-generated transcripts. No API key or browser required — uses YouTube's InnerTube API directly and automatically falls back to yt-dlp when YouTube blocks the direct API path. Fetches video metadata and cover image on first run, caches raw data for fast re-formatting. Script Directory Scripts in scripts/ subdirectory. {baseDir} = this SKILL.md's directory path. Resolve ${BUNX} runtime: if bun installed → bun; if npx available → npx -y bun; else suggest installing bun. Replace {baseDir} and ${BUNX} with actual values.

## Links

- HTML page: https://omgskills.com/skills/jimliu/baoyu-skills/baoyu-youtube-transcript/
- GitHub: https://github.com/JimLiu/baoyu-skills
- Author: [@jimliu](https://omgskills.com/library/jimliu/index.md)

## More from this repo

- [baoyu-post-to-wechat](https://omgskills.com/skills/jimliu/baoyu-skills/baoyu-post-to-wechat/index.md) — Posts content to WeChat Official Account (微信公众号) via API or Chrome CDP.
   - [@jimliu](https://omgskills.com/library/jimliu/index.md) · 27k stars
- [baoyu-article-illustrator](https://omgskills.com/skills/jimliu/baoyu-skills/baoyu-article-illustrator/index.md) — Analyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style ×...
   - [@jimliu](https://omgskills.com/library/jimliu/index.md) · 27k stars
- [baoyu-comic](https://omgskills.com/skills/jimliu/baoyu-skills/baoyu-comic/index.md) — Knowledge comic creator supporting multiple art styles and tones.
   - [@jimliu](https://omgskills.com/library/jimliu/index.md) · 27k stars
