jimliu avatar

Baoyu Youtube Transcript

A solid YouTube transcript extractor that actually works reliably. Pulls subtitles and captions directly from YouTube's API with automatic fallback to yt-dlp when blocked. Handles multiple languages, auto-generated and manual captions, and caches everything locally in organized folders. Outputs clean markdown with timestamps, SRT files for video editors, or raw data for further processing. The chapter parsing from video descriptions and speaker identification setup are nice touches. Smart caching means you can reformat the same video multiple times without hitting YouTube again. Does exactly what it says without unnecessary complexity.

skills.sh installs
22.5K
GitHub stars
27.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add jimliu/baoyu-skills --skill baoyu-youtube-transcript --agent claude-code

Installs into .claude/skills of the current project.

Files

YouTube Transcript

Works with manual and auto-generated transcripts. No API key or browser: uses YouTube's InnerTube API, falling back to yt-dlp when YouTube blocks the direct path. First run also fetches metadata and cover image and caches raw data for fast re-formatting.

Script Directory

{baseDir} = this SKILL.md's directory. ${BUN_X} = bun if installed; else npx -y bun if npx available; else suggest installing bun. Replace {baseDir} and ${BUN_X} with actual values.

ScriptPurpose
scripts/main.tsTranscript download CLI

Usage

${BUN_X} {baseDir}/scripts/main.ts <youtube-url-or-id>          # markdown with timestamps (English)
${BUN_X} {baseDir}/scripts/main.ts <url> --languages zh,en,ja   # language priority
${BUN_X} {baseDir}/scripts/main.ts <url> --chapters --speakers
${BUN_X} {baseDir}/scripts/main.ts <url> --format srt
${BUN_X} {baseDir}/scripts/main.ts <url> --translate zh-Hans
${BUN_X} {baseDir}/scripts/main.ts <url> --list

Sponsors

Details

Repository
github.com/jimliu/baoyu-skills
Categories
Automation & Workflows, Video & Audio Editing
First seen
Apr 16, 2026

More from jimliu/baoyu-skills

All 24
1warpdotdev avatarresearchwarpdotdev/common-skillsDelegate noisy investigation to one or more subagents so the orchestrator's context stays clean, then work from the distilled answer. Use this skill whenever an22Kskills.sh installs
2millionco avatarreact-doctormillionco/react-doctorUse when finishing a feature, fixing a bug, before committing React code, or when the user types `/doctor`, asks to scan, triage, or clean up React diagnostics.21.4Kskills.sh installs
3okx avatarokx-dex-marketokx/onchainos-skillsHARD BLOCK — never use for prediction-market/Polymarket UpDown queries; route to okx-dapp-discovery when a named DApp (Polymarket/Aave/Hyperliquid/PancakeSwap/M21.4Kskills.sh installs
4dart-lang avatardart-resolve-package-conflictsdart-lang/skillsWorkflow for fixing package version conflicts. Use this when `pub get` fails due to incompatible package versions.19.7Kskills.sh installs
5warpdotdev avatarwrite-feature-docswarpdotdev/common-skillsDraft a complete documentation page for a new Warp feature from its PRODUCT.md and/or TECH.md spec. Use when an engineer has written a spec and needs to produce19.3Kskills.sh installs
6warpdotdev avatarscan-new-specswarpdotdev/common-skillsScan warpdotdev/warp and warp-server for recently merged PRODUCT.md specs that don't yet have a corresponding docs PR in warpdotdev/docs. When a complete spec i19.3Kskills.sh installs