get-youtube-transcript
Skill109 starsChanged 37 days agoMITView on GitHub
Extract the transcript from a YouTube video by URL or video ID. Use when the user shares a YouTube link and wants the transcript, captions, or text content of the video. Falls back automatically if the requested language isn't available.
In this repository61 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adviseSkill
- ai-crystallizeSkill
- analyze-kbSkill
- auto-discoverySkill
- benchmark-memorySkill
- brain-mergeSkill
- changelog-protocolSkill
- coherence-sweepSkill
- compute-lifecycleSkill
- create-articleSkill
- create-explanatory-imageSkill
- decideSkill
- deep-researchSkill
- detect-tensionsSkill
- dialecticSkill
- domain-watchSkill
- elicitation-techniquesSkill
- epistemic-classificationSkill
- epub-chapter-extractorSkill
- extract-document-insightsSkill
- extract-insightsSkill
- find-connectionsSkill
- first-runSkill
- get-perspective-onSkill
- git-commit-pushSkill
- graduate-insightsSkill
- incubation-loopSkill
- ingest-sourceSkill
- insight-capture-formatSkill
- insight-interviewSkill
- integrate-recent-notesSkill
- learn-new-thingsSkill
- manage-reference-dataSkill
- manage-thinking-topicsSkill
- manage-watching-domainsSkill
- multi-format-book-extractorSkill
- nano-banana-image-generatorSkill
- propagate-changeSkill
- quick-searchSkill
- reasoning-checksSkill
- recallSkill
- ref-auditSkill
- ref-bridgeSkill
- ref-ingestSkill
- ref-querySkill
- ref-reconcileSkill
- ref-refreshSkill
- refresh-indexSkill
- ref-supersedeSkill
- scheduled-runSkill
- scope-mountSkill
- search-vaultSkill
- self-diagnosticSkill
- start-hereSkill
- synthesize-insightsSkill
- talkSkill
- test-memory-systemSkill
- think-about-itSkill
- update-changelogSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Run the wrapper script with the URL or video ID the user provided:
- Distinctive: line 39
If the script fails:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Get YouTube Transcript
Extract a full transcript from any YouTube video using the local youtube-transcript-api (no rate limits, no API key required).
State Dependencies
| Source | Location | Read | Write |
| Script | scripts/utilities/yt-transcript.sh | ✓ | - |
| Venv | scripts/utilities/yt_transcript_venv/ | ✓ | - |
| YouTube | External (via youtube-transcript-api) | ✓ | - |
Process
Step 1: Extract the transcript
Run the wrapper script with the URL or video ID the user provided:
$PROJECT_ROOT/scripts/utilities/yt-transcript.sh "<url-or-id>"Options:
-l <lang>— language code (default:en). If user specifies a language, pass it.-f text— plain text output (default, best for reading)-f json— structured output with timestamps (use when user needs timestamps)
Step 2: Handle errors
If the script fails:
- Language not found — retry without
-lflag (auto-selects any available language) - Video unavailable — inform user the video may be private, deleted, or region-restricted
- No transcript available — inform user the video has no captions
Step 3: Present the transcript
Return the full transcript text to the user. If it's long (>500 lines), summarize what the video covers first, then provide the full text.
Example
User: "get me the transcript of https://youtu.be/abc123"
$PROJECT_ROOT/scripts/utilities/yt-transcript.sh "https://youtu.be/abc123"Notes
- Uses
youtube-transcript-apiPython package — works locally with no quota - Falls back to any available language if English isn't found
- The MCP youtube-transcript tool hits rate limits; always prefer this script
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.

