/youtube-transcript:youtube-transcriptfrom youtube-transcript
Extracts transcripts from YouTube videos via URL or video ID. Supports plain text, timestamped output, language selection, and file writing.
Ships in youtube-transcript. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Fetch auto-generated or manually-uploaded captions from a YouTube video with scripts/get_transcript.py (uses youtube-transcript-api via uv run --script).
# Plain transcript to stdout
scripts/get_transcript.py "<URL_OR_VIDEO_ID>"
# With timestamps
scripts/get_transcript.py "<URL_OR_VIDEO_ID>" --timestamps
# Specific language (errors if no transcript in that language)
scripts/get_transcript.py "<URL_OR_VIDEO_ID>" --lang en
# Write directly to a file
scripts/get_transcript.py "<URL_OR_VIDEO_ID>" -o transcript.txt
If the user doesn't specify a filename, either print to stdout or save as <VIDEO_ID>-transcript.txt using -o.
https://www.youtube.com/watch?v=VIDEO_IDhttps://youtu.be/VIDEO_IDhttps://youtube.com/embed/VIDEO_IDhttps://youtube.com/shorts/VIDEO_IDhttps://youtube.com/v/VIDEO_ID--timestamps): [MM:SS] text (or [HH:MM:SS] for long videos).The script exits 1 with an error message when captions are unavailable (including for the requested --lang). Pass that error back to the user — do not fabricate a transcript.
uv — installs the Python dependencies in an ephemeral venv at invocation time. Install with curl -LsSf https://astral.sh/uv/install.sh | sh or pip install uv.youtube.com (the library fetches captions from YouTube).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub devonjones/devon-claude-skills --plugin youtube-transcriptOther plugins' skills for the same job