youtube-transcript

Extract plain text or timestamped captions from YouTube videos.

2.3k|277|Updated Apr 5, 2026
One-click install
npx skills add https://github.com/sdyckjq-lab/llm-wiki-skill --skill youtube-transcript-sdyckjq-lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-transcript
Source: https://github.com/sdyckjq-lab/llm-wiki-skill/tree/main/deps/youtube-transcript
Command: npx skills add https://github.com/sdyckjq-lab/llm-wiki-skill --skill youtube-transcript-sdyckjq-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the process of extracting transcripts from YouTube videos, providing either plain text or text with timestamps, catering to users who need to convert video content into readable text formats.

Core Features & Use Cases

  • Transcript Extraction: Extracts text from YouTube video captions or subtitles.
  • Timestamped Output: Offers the option to include timestamps in the output.
  • Use Case: Ideal for users who need to transcribe YouTube content for accessibility, reference, or educational purposes.

Quick Start

Extract the transcript from a YouTube video by providing the video URL or ID:

uv run scripts/get_transcript.py "VIDEO_URL_OR_ID"

Frequently Asked Questions about youtube-transcript

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

FAQPage Schema
How do I extract transcripts from a YouTube video?

You can extract YouTube video transcripts by running the provided script with the video URL or ID. The Skill fetches available captions and returns the text content directly in your terminal environment.

Can I get YouTube subtitles with timestamps included?

Yes, you can get YouTube subtitles with timestamps. The Skill supports both plain text and timestamped output formats, allowing you to include time markers alongside the extracted video caption text.

Does this YouTube transcript extraction work for videos without captions?

No, YouTube transcript extraction requires the target video to have captions or subtitles enabled. The Skill uses the YouTubeTranscriptApi to fetch existing caption data, so videos without this feature are not supported.

What is the best way to convert YouTube video content to text for accessibility?

The best way to convert YouTube video content to text for accessibility is using a script that fetches captions via the YouTubeTranscriptApi. This Skill directly extracts existing subtitles into readable plain text or timestamped formats.

Do I need a video URL or just the ID to extract YouTube subtitles?

You can use either a full video URL or just the video ID to extract YouTube subtitles. The script accepts both formats as input to locate the correct video and fetch its caption data.