youtube-transcript
Skill57 starsChanged 10 months agoMITArchived repositoryView on GitHub
Download YouTube video transcripts with automatic frame extraction for visual references. Use when analyzing YouTube videos, tutorials, or conference talks.
- Pipes a download into a shell
- Installs packages
64 other projects use a version of this.
Adopted by
Most recently taken up by
- foxl-ai/skillstheir own version, first seen Nov 29, 2026
- Dannykkh/skill-olympustheir own version, first seen Nov 29, 2026
- Nightdreams-bat/claude-code-kittheir own version, first seen Nov 29, 2026
- yinbaozong/Youtube-note-forgetheir own version, first seen Nov 28, 2026
- yutakobayashidev/skillstheir own version, first seen Nov 24, 2026
- ong6/skillstheir own version, first seen Nov 24, 2026
Used with
Projects with it also use anti-sleep, research-prompt and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
attentiondotnetSkillanti-sleep
Keep the user's MacBook awake with macOS caffeinate — prevent sleep, screen dimming, or both, for a set duration or while a process runs. Use when the user says "don't let my mac sleep", "keep the screen on", "anti-sleep", "caffeinate", or wants the machine awake overnight / during a long build.
Also in 3 projects that use this
matyasstochSkillresearch-prompt
Write a single-paragraph Deep Research prompt to hand to a human researcher (or a deep-research AI). Use when the user wants a research brief, a "deep research prompt", a one-paragraph task for a researcher, or asks "what should our researcher look for". Produces ONE tight paragraph with full context, numbered sub-questions, and per-finding output format.
Also in 3 projects that use this
michalparkolaSkillship-learn-next
Transform learning content (like YouTube transcripts, articles, tutorials) into actionable implementation plans using the Ship-Learn-Next framework. Use when user wants to turn advice, lessons, or educational content into concrete action steps, reps, or a learning quest.
Also in 4 projects that use this
huskerjeffSkillyoutube-search
Search YouTube and extract video metadata and captions using yt-dlp. Use when the user wants to search YouTube, find video transcripts, research topics via YouTube, or feed video content into other tools like NotebookLM.
Also in 4 projects that use this
attentiondotnetSkillsetup-help
Walk the user through setting up anything step by step. Use when the user asks for help setting up, configuring, installing, or getting something working — "help me set up X", "walk me through this", "setup-help". Differentiator: gives one current step at a time, then always lists every remaining setup step after each response.
Also in 3 projects that use this
michalparkolaSkillarticle-extractor
Extract clean article content from URLs (blog posts, articles, tutorials) and save as readable text. Use when user wants to download, extract, or save an article/blog post from a URL without ads, navigation, or clutter.
Also in 3 projects that use this
Other versions64 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 64
- badlogic/pi-skills★ 2.5ksame name
- amosblomqvist/pi-config★ 1.1ksame name
- DanielLavrushin/tspu-docs★ 698same name
- michalparkola/tapestry-skills-for-claude-code★ 557same name
- michalparkola/tapestry-skills★ 538same name
- glebis/claude-skills★ 416same name
- matyasstoch/david-skills★ 59same name
- tsukhani/jclaw★ 42same name
- tubeagentkit/youtube-transcript-skills★ 41same name
- qa-aman/claude-skills★ 24same name
54 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- create-slidev-presentationSkill
- skill-creatorSkill
- standards-gradleSkill
- standards-javascriptSkill
- standards-javaSkill
- standards-kotlinSkill
- standards-pythonSkill
- standards-shellSkill
- standards-typescriptSkill
- user-storiesSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 54 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 47
When the user invokes /youtube-transcript <url>:
- Distinctive: line 56
If missing, show installation instructions for the user's platform.
- Distinctive: line 60
Use the scratchpad directory for output:
- Distinctive: line 83
Read the transcript and identify timestamps where visual content is referenced.
- Distinctive: line 102
Only if visual references were found:
- Very specific: line 119
Important: Avoid -f worst or complex format selectors - they often hang due to yt-dlp JS runtime issues.
- Distinctive: line 125
Create a summary with:
- Very specific: line 195
Update yt-dlp: pip install -U yt-dlp or brew upgrade yt-dlp
- Distinctive: line 198
Ensure ffmpeg is installed with video codecs
“Common” is measured: kept by at least 6 in 10 of the 54 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
YouTube Transcript Skill
Download and analyze YouTube video transcripts with automatic frame extraction at visual reference points.
Usage
/youtube-transcript <youtube-url>What This Skill Does
- Downloads transcript with timestamps (YouTube auto-captions or manual subtitles)
- Detects visual references in the text ("look at this diagram", "as you can see here")
- Extracts frames at those timestamps for context
- Presents transcript with embedded images for analysis
Requirements
macOS
brew install yt-dlp ffmpegLinux (Ubuntu/Debian)
sudo apt install ffmpeg
pip install yt-dlpLinux (Arch)
sudo pacman -S yt-dlp ffmpegInstructions for Claude
When the user invokes /youtube-transcript <url>:
Step 1: Check Dependencies
command -v yt-dlp >/dev/null 2>&1 || echo "MISSING: yt-dlp"
command -v ffmpeg >/dev/null 2>&1 || echo "MISSING: ffmpeg"If missing, show installation instructions for the user's platform.
Step 2: Create Output Directory
Use the scratchpad directory for output:
# Extract video ID from YouTube URL (POSIX-compatible, works on macOS and Linux)
# Handles: youtube.com/watch?v=ID, youtu.be/ID, youtube.com/embed/ID
URL="<url>"
VIDEO_ID=$(echo "$URL" | sed -E 's/.*[?&]v=([^&]+).*/\1/;s|.*/embed/([^?/]+).*|\1|;s|.*youtu\.be/([^?/]+).*|\1|')
OUTPUT_DIR="<scratchpad>/youtube-${VIDEO_ID}"
mkdir -p "${OUTPUT_DIR}/frames"Step 3: Download Transcript
cd "${OUTPUT_DIR}"
# Try auto-generated subtitles first, fall back to manual
yt-dlp --write-auto-sub --sub-lang en,de --skip-download --convert-subs srt -o "transcript" "<url>" 2>/dev/null || \
yt-dlp --write-sub --sub-lang en,de --skip-download --convert-subs srt -o "transcript" "<url>"Step 4: Analyze for Visual References
Read the transcript and identify timestamps where visual content is referenced. Look for patterns:
German:
- "schau(t)? (mal )?(hier|das)"
- "(dieses|das|dieser) (Diagramm|Bild|Schema|Chart|Graph|Screen|Slide)"
- "wie (du|ihr|Sie) (hier )?(siehst|sehen)"
- "auf (dem|diesem) (Bildschirm|Screen|Slide)"
- "hier sehen wir"
English:
- "look at this"
- "as you can see"
- "this (diagram|chart|slide|screen|image)"
- "let me show you"
- "here we have"
- "on the screen"
Step 5: Download Video and Extract Frames
Only if visual references were found:
# First, list available formats to find a working one
yt-dlp -F "<url>"
# Then download using a specific format ID (prefer combined formats like 18 for 360p)
# Format 18 is usually 360p mp4 with video+audio combined - most reliable
yt-dlp -f 18 -o "${OUTPUT_DIR}/video.mp4" "<url>"
# If format 18 not available, try other combined formats (22=720p, 18=360p)
# Or use: yt-dlp -f "best[height<=480]" -o "${OUTPUT_DIR}/video.mp4" "<url>"
# Extract frame at timestamp (example: 01:23)
ffmpeg -ss 00:01:23 -i "${OUTPUT_DIR}/video.mp4" -frames:v 1 -q:v 2 "${OUTPUT_DIR}/frames/01_23.jpg"Important: Avoid -f worst or complex format selectors - they often hang due to yt-dlp JS runtime issues. Use explicit format IDs instead.
Extract frames for each detected visual reference timestamp.
Step 6: Present Results
Create a summary with:
- Video metadata (title, duration, channel)
- Full transcript with timestamps
- Visual references - show the extracted frames inline where referenced
- Ready for questions - offer to analyze specific parts
Example output format:
## Video: [Title]
**Channel:** [Channel Name]
**Duration:** [Duration]
---
## Transcript
[00:00] Introduction to the topic...
[01:23] As you can see in this diagram...

[02:45] Let's move on to the next point...
---
## Extracted Frames
| Timestamp | Context | Frame |
|-----------|---------|-------|
| 01:23 | "this diagram shows..." | frames/01_23.jpg |
---
Ready to answer questions about this video.Cleanup
The output directory in scratchpad will be automatically cleaned up. If the user wants to keep the files, they should copy them to their project.
Limitations
- Requires yt-dlp and ffmpeg installed locally
- Some videos may not have transcripts available
- Age-restricted or private videos may not be accessible
- Very long videos (>2h) may take time to process
Troubleshooting
No transcript found:
- Video may not have captions enabled
- Try a different language:
--sub-lang en,de,es,fr
Video download stuck at 0%:
- This is often caused by yt-dlp's format selection with JS runtime issues
- Solution: List formats first (
yt-dlp -F <url>), then use explicit format ID (yt-dlp -f 18 <url>) - Format 18 (360p mp4 combined) is usually the most reliable
JS Runtime Warning:
- yt-dlp may show "No supported JavaScript runtime" warning
- This is usually fine for downloads, but can cause format selection issues
- Install deno if needed:
brew install denoorcurl -fsSL https://deno.land/install.sh | sh
Connection timeouts:
- YouTube servers may be slow; retry with explicit format ID
- Kill stuck process:
pkill -f "yt-dlp.*VIDEO_ID"
yt-dlp errors:
- Update yt-dlp:
pip install -U yt-dlporbrew upgrade yt-dlp
ffmpeg errors:
- Ensure ffmpeg is installed with video codecs
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

