youtube-transcript

Retrieve YouTube transcripts and captions from video URLs.

103|30|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/CommandCodeAI/agent-skills --skill youtube-transcript-commandcodeai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-transcript
Source: https://github.com/CommandCodeAI/agent-skills/tree/main/skills/youtube-transcript
Command: npx skills add https://github.com/CommandCodeAI/agent-skills --skill youtube-transcript-commandcodeai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the retrieval of transcripts and captions for YouTube videos, saving time when extracting spoken content for reviews, summaries, or accessibility.

Core Features & Use Cases

  • Subtitles & Captions: Download manual or auto-generated subtitles for a given YouTube URL.
  • Transcript & Text Extraction: Produce clean, plain-text transcripts suitable for indexing or analysis.
  • Use Case: Imagine you need to generate a meeting transcript from a set of training videos; this Skill fetches captions or transcriptions and outputs ready-to-use text.

Quick Start

Provide a YouTube URL and request the transcript or captions. The skill will detect available subtitles and download them; if subtitles are not available, it will perform Whisper transcription and return a plain-text transcript.

Frequently Asked Questions about youtube-transcript

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

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

You can extract a YouTube transcript by providing the video URL to fetch manual or auto-generated captions, producing clean plain text suitable for indexing and analysis.

What happens if a YouTube video has no subtitles or captions available?

When YouTube subtitles are unavailable, the tool falls back to Whisper-based transcription to process the audio and return a plain-text transcript of the spoken content.

Do I need yt-dlp installed to download YouTube captions?

Yes, yt-dlp is a required external dependency for automating the retrieval of YouTube transcripts and captions, requiring installation and setup on your operating system.

Can I generate text transcripts from training videos for meeting notes?

Yes, you can fetch captions or transcriptions from training videos to output ready-to-use text, ideal for generating meeting transcripts, reviews, or accessibility summaries.

What is the best way to get plain-text subtitles for a YouTube video?

The best way to get plain-text subtitles is using an automated retrieval workflow that detects available captions and downloads them directly, bypassing manual copying and formatting.