baoyu-youtube-transcript
Fetch transcripts and captions from YouTube videos in markdown or SRT format, with optional timestamps, chapter segmentation, and speaker metadata. The skill caches raw data for fast re-formatting and automatically falls back to yt-dlp when direct API access is blocked.
baoyu-youtube-transcript downloads YouTube video transcripts with timestamps, supporting multiple languages and output formats.
AI-generated summary based on this skill's SKILL.md
Install
JimLiu/baoyu-skills/baoyu-youtube-transcript · repository language: TypeScript
git clone https://github.com/JimLiu/baoyu-skills
cp -r baoyu-skills/skills/baoyu-youtube-transcript ~/.claude/skills/baoyu-youtube-transcriptnpx skillfed install JimLiu/baoyu-skills/baoyu-youtube-transcriptFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I download a YouTube transcript?
baoyu-youtube-transcript lets you download YouTube transcripts directly by providing a video URL. The skill extracts the full transcript with optional timestamps and can output it in multiple formats including markdown, SRT, and plain text. It automatically handles cases where direct API access is blocked by falling back to yt-dlp.
What formats can baoyu-youtube-transcript convert captions to?
baoyu-youtube-transcript converts YouTube captions to SRT, markdown, and text formats. You can choose your preferred output format when downloading, making it easy to use transcripts in video editors, documentation, or other applications that support these standard formats.
Can I extract YouTube subtitles with timestamps?
Yes, baoyu-youtube-transcript supports extracting captions from YouTube with timestamps included. The skill preserves timing information from the original captions, allowing you to maintain synchronization between text and video content in your downloaded transcript files.
Does baoyu-youtube-transcript support multiple languages?
baoyu-youtube-transcript retrieves transcripts in multiple languages with translation support. If a video has captions available in different languages, you can fetch transcripts in your preferred language, and the skill can help translate content across language pairs.
Can I get YouTube video cover images and metadata?
baoyu-youtube-transcript retrieves YouTube video cover images (thumbnails) and metadata alongside transcripts. This includes video information that helps you organize and document your downloaded content alongside the transcript data.
Does baoyu-youtube-transcript identify speakers and chapters?
baoyu-youtube-transcript can identify speakers and segment transcripts by chapters when that information is available in the video. This helps you organize longer videos by topic and understand who is speaking at each point in the transcript.
SKILL.md
rendered from the published skill — quoted content, verbatim
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 ${BUN_X}
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 9 files
skills/baoyu-youtube-transcript/SKILL.md
skills/baoyu-youtube-transcript/prompts/speaker-transcript.md
skills/baoyu-youtube-transcript/scripts/main.test.ts
skills/baoyu-youtube-transcript/scripts/main.ts
skills/baoyu-youtube-transcript/scripts/shared.ts
skills/baoyu-youtube-transcript/scripts/storage.ts
skills/baoyu-youtube-transcript/scripts/transcript.ts
skills/baoyu-youtube-transcript/scripts/types.ts
skills/baoyu-youtube-transcript/scripts/youtube.ts