baoyu-youtube-transcript
Skill by JimLiu
Downloads YouTube transcripts, subtitles and cover images from a video URL or ID. Useful for users who want caption text or thumbnails without an API key.
Install baoyu-youtube-transcript
Built from the published package, never by AI.
git clone --depth 1 https://github.com/JimLiu/baoyu-skills /tmp/baoyu-skills && mkdir -p ~/.claude/skills && cp -r /tmp/baoyu-skills/skills/baoyu-youtube-transcript ~/.claude/skills/baoyu-youtube-transcriptRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install baoyu-youtube-transcript in Claude Code
git clone --depth 1 https://github.com/JimLiu/baoyu-skills /tmp/baoyu-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/baoyu-skills/skills/baoyu-youtube-transcript ~/.gemini/antigravity-cli/skills/baoyu-youtube-transcriptAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install baoyu-youtube-transcript in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Baoyu-youtube-transcript is an agent skill that downloads transcripts and subtitles for YouTube videos, plus the video cover image. It accepts a YouTube URL or bare video ID and supports multiple languages, translation, chapter segmentation and speaker identification. Output can be markdown with timestamps or SRT.
It needs no API key or browser. It uses YouTube's InnerTube API and falls back to yt-dlp when YouTube blocks the direct path. The script writes meta.json, raw and sentence JSON, transcript.md and cover.jpg into a per-video folder. Raw data is cached so later re-formatting is fast. It suits users who want caption text, subtitle files or cover images from YouTube videos.
Written from the project's SKILL.md and checked against it.
What it can do
- Transcript downloadFetches manual or auto-generated transcripts by YouTube URL or video ID.
- Language priorityThe --languages option takes comma-separated codes in priority order, such as zh,en,ja.
- TranslationThe --translate option translates the transcript to a given language code.
- ChaptersThe --chapters option segments the transcript using chapter timestamps from the video description.
- Speaker identificationThe --speakers option saves a raw transcript with metadata for speaker labelling.
- SRT outputThe --format srt option writes subtitles in SRT format.
- Cover imageSaves the video thumbnail as imgs/cover.jpg.
- Transcript listingThe --list option shows available transcripts without writing a file.
- CachingRepeat runs use the cache. The --refresh option forces a new fetch.
What you need
- bun or npx
- yt-dlp for the fallback path when YouTube blocks direct requests
Try asking
- Get the YouTube transcript for this URL in Chinese and English
- Download the subtitles for this YouTube video as SRT
- Save the cover image for this YouTube video
Good to know
- Videos that are deleted, private or region-locked are unavailable.
- Age-restricted videos fail because login is required.
- Too many requests can get the IP blocked, so retry later.
- Fallback to yt-dlp needs that tool to be available.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/baoyu-youtube-transcript/SKILL.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. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
prompts/speaker-transcript.md5 KB -
scripts/main.test.ts8 KB -
scripts/main.ts8 KB -
scripts/shared.ts3 KB
Show all 9 files
-
scripts/storage.ts2 KB -
scripts/transcript.ts14 KB -
scripts/types.ts2 KB -
scripts/youtube.ts22 KB
Alternatives to baoyu-youtube-transcript
All alternatives →Keeps customer-facing CopilotKit Intelligence docs on one approved name per concept. Useful for writers, editors and reviewers of docs, nav labels, signup labels and image alt text in showcase/shell-docs.
Gets, makes and treats media for HyperFrames videos. It sources music, sound effects, images, voiceover, avatars and transcripts with HeyGen or free local tools, and applies colour grades and looks to footage.
Searches the user's uploaded photo library and connected device galleries to find, date, and describe photos. Built for personal photo requests and for cases where a photo could ground or personalize an answer.
Converts text, markdown, or another skill's summary into a listenable MP3 using local CPU-only neural text-to-speech. It rewrites the prose for listening first. Aimed at people who want audio briefings.
Generate Image creates new images and edits existing ones using OpenRouter models such as FLUX.2 Pro and Gemini 3 Pro. It is aimed at photos, illustrations, concept art and other visuals that are not technical diagrams.
Gives an AI assistant the HyperFrames CLI for building, checking, previewing and rendering video projects. It suits people who make videos from HTML compositions and want the assistant to run the full workflow.
Compare with intelligence-vocabulary, media-use or media_library
baoyu-youtube-transcript: common questions
Does this need a YouTube API key?
No. The skill uses YouTube's InnerTube API and needs no API key or browser. It falls back to yt-dlp only when YouTube blocks the direct path.
What happens if a video has no transcript in my language?
Run the script with --list to see the available transcripts. A 'No transcript found' error means the requested language is not available.
Can it label who is speaking?
With --speakers, the script saves a raw transcript and metadata. A sub-agent then uses a speaker prompt to add speaker labels and chapters.
How do I install baoyu-youtube-transcript?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is baoyu-youtube-transcript free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is baoyu-youtube-transcript safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to baoyu-youtube-transcript?
Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.
