yt-transcript

Extract and clean YouTube video transcripts from SRT files.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/RonanCodes/llm-wiki --skill yt-transcript-ronancodes
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: yt-transcript
Source: https://github.com/RonanCodes/llm-wiki/tree/main/.claude/skills/yt-transcript
Command: npx skills add https://github.com/RonanCodes/llm-wiki --skill yt-transcript-ronancodes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many YouTube videos lack accessible, readable transcripts; this Skill extracts auto-generated or manual subtitles and converts them into cleaned plain text so users can read, search, or summarize spoken content without watching the video.

Core Features & Use Cases

  • Extract video ID from common YouTube URL formats and fetch subtitles using yt-dlp.
  • Clean SRT files by removing timecodes, sequence numbers, and duplicate lines to produce a readable transcript.
  • Use Case: Convert a long tutorial or lecture into plain text for note-taking, quoting, or feeding into a summarization workflow.

Quick Start

Run the yt-transcript skill with a YouTube URL, for example: /yt-transcript https://www.youtube.com/watch?v=abc123

Frequently Asked Questions about yt-transcript

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

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

To extract a clean text transcript from a YouTube video, provide the video URL to fetch auto-generated or manual subtitles using yt-dlp. The tool removes SRT timecodes and duplicate lines, outputting readable plain text for immediate use.

Can I download YouTube subtitles as plain text without timecodes?▼

Yes, you can download YouTube subtitles as plain text without timecodes. The process fetches SRT subtitle files via yt-dlp and strips sequence numbers, timing data, and duplicate lines to produce a clean text file.

How does yt-dlp process SRT files to remove duplicate lines?▼

yt-dlp fetches the raw SRT subtitle file, and the text cleaning process parses the file to remove sequence numbers, timecodes, and duplicate lines. This leaves a continuous plain text transcript suitable for reading or searching.

Does the YouTube transcript extractor work with both youtu.be and youtube.com links?▼

Yes, the YouTube transcript extractor works with both youtu.be and youtube.com links. It automatically parses common YouTube URL formats to extract the video ID and fetch the corresponding subtitles for text cleaning.

What is the best way to convert a YouTube lecture into text for note-taking?▼

The best way to convert a YouTube lecture into text for note-taking is fetching the video's subtitles and cleaning the SRT file. This removes timing data and duplicates, producing a readable plain text transcript of the spoken content.

Can I use the extracted plain text transcript for downstream summarization?▼

Yes, you can use the extracted plain text transcript for downstream summarization. The cleaning process removes SRT formatting and duplicates, preparing the raw spoken content specifically for reading, searching, or feeding into summarization workflows.