youtube-transcript

Extract YouTube transcripts by URL or ID with optional timestamps.

321|26|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/mkurman/tamux --skill youtube-transcript-mkurman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-transcript
Source: https://github.com/mkurman/tamux/tree/main/skills/productivity/agent-skills/youtube-transcript
Command: npx skills add https://github.com/mkurman/tamux --skill youtube-transcript-mkurman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires youtube-transcript-api, and includes scripts (resource) components.

What problem does it solve?

Extract transcripts from YouTube videos quickly and reliably to enable reading, analysis, or content repurposing without manual transcription.

Core Features & Use Cases

  • Extract transcripts from YouTube videos using the youtube-transcript-api.
  • Supports output with or without timestamps; handles multiple URL formats including watch?v=, youtu.be/, and embed URLs.
  • Preserves transcript integrity; when no explicit output file is requested, defaults to a video-ID-transcript.txt.

Quick Start

Run the transcript script on a YouTube URL or video ID to fetch the transcript, optionally including timestamps.

Frequently Asked Questions about youtube-transcript

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract a YouTube transcript from a video URL?

To extract a YouTube transcript, provide the video URL or ID to the script. It uses the youtube-transcript-api to fetch and return a clean, unmodified text transcript, saving to a video-ID-transcript.txt file by default.

Can I get YouTube transcripts with timestamps included?

Yes, you can get YouTube transcripts with timestamps. The script supports an optional timestamps parameter to retrieve time-aligned transcripts alongside the original text from the video.

Does the youtube-transcript-api work with youtu.be and embed URLs?

Yes, the youtube-transcript-api works with youtu.be and embed URLs. The script automatically detects and handles multiple URL formats, including watch?v=, youtu.be/, and embed links, to retrieve the transcript.

What is the best way to get captions from YouTube videos that lack manual subtitles?

The best way to get captions from YouTube videos without manual subtitles is using an automated transcript extractor. This script applies to videos with or without captions to retrieve available text.

Are there limitations when extracting transcripts from private YouTube videos?

Yes, there are limitations when extracting transcripts from private YouTube videos. The youtube-transcript-api relies on public accessibility to retrieve caption data, meaning private or restricted videos will fail.