youtube-subs

Extract YouTube subtitles into clean text transcripts for LLM processing.

129|25|Updated Nov 12, 2024
One-click install
npx skills add https://github.com/one-ie/one --skill youtube-subs-one-ie
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-subs
Source: https://github.com/one-ie/one/tree/main/.claude/skills/youtube-subs
Command: npx skills add https://github.com/one-ie/one --skill youtube-subs-one-ie

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yt-dlp, and includes scripts (resource) components.

What problem does it solve?

Downloads clean, plain-text transcripts from YouTube videos, playlists, or channels to enable rapid analysis, summarization, and knowledge extraction for learning, research, or building Claude Code skills from video content.

Core Features & Use Cases

  • Pulls subtitles from YouTube videos, playlists, or channels and converts them into clean transcripts suitable for LLM ingestion.
  • Outputs both raw WebVTT data and clean text transcripts, plus a helpful index for quick lookup.
  • Useful for learning, summarization, or refining skills from lecture or talk content (e.g., Claude Code training data).

Quick Start

Run the fetch script with a YouTube video URL and an output directory to produce clean text transcripts.

Frequently Asked Questions about youtube-subs

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

FAQPage Schema
How do I extract YouTube subtitles into clean text transcripts for LLM processing?

You can extract YouTube subtitles into clean text transcripts by running a fetch script with a video URL and an output directory. The pipeline uses yt-dlp to fetch subtitles and converts WebVTT files into plain text suitable for LLM ingestion.

Can I download transcripts from an entire YouTube playlist or channel at once?

Yes, you can download transcripts from a YouTube playlist or channel. The tool supports batch retrieval, automatically fetching and converting subtitles for multiple videos to produce individual text files and a lookup index.

Do I need yt-dlp to fetch YouTube video transcripts and subtitles?

Yes, yt-dlp is required to fetch YouTube subtitles. The Skill depends on yt-dlp to download WebVTT subtitle tracks from videos, playlists, or channels before converting them into clean text output.

What output files do I get when converting YouTube subtitles to text?

You get per-video clean text transcript files, a raw WebVTT dataset, and a helpful index for quick lookup. These outputs enable downstream learning, summarization, and knowledge extraction from the video content.

What's the best way to convert WebVTT subtitle files to plain text for summarization?

The best way to convert WebVTT to plain text is using a dedicated extraction pipeline that strips subtitle formatting and outputs clean text files. This ensures the transcripts are properly formatted for downstream summarization tasks.

Why are my YouTube transcript extractions missing videos from a playlist?

Missing videos in a playlist extraction usually occur when videos lack subtitle tracks or face access restrictions. The pipeline relies on yt-dlp to fetch available WebVTT subtitles, so videos without captions cannot be converted to text transcripts.