Skip to content
jimliu avatar

Baoyu Youtube Transcript

Downloads YouTube transcripts, subtitles, and cover images from a URL or video ID without an API key.

CCM score
74 of 100
skills.sh installs
23.6K
GitHub stars
28K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers manual and auto-generated captions, with multi-language priority, translation, chapters, and speaker identification
  • Runs scripts/main.ts through bun or npx, outputting markdown with timestamps or SRT files
  • Falls back to yt-dlp when YouTube blocks the direct path, optionally using browser cookies via YOUTUBE_TRANSCRIPT_COOKIES_FROM_BROWSER
  • Caches raw data per video so re-formatting and cover-only requests skip the network on repeat runs

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

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

More from jimliu/baoyu-skills

All 22

Similar to Baoyu Youtube Transcript

More Social Media