youtube-transcribe-skill

Extract YouTube video subtitles to a timestamped text file.

1.6k|244|Updated Jul 18, 2025
One-click install
npx skills add https://github.com/feiskyer/claude-code-settings --skill youtube-transcribe-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-transcribe-skill
Source: https://github.com/feiskyer/claude-code-settings/tree/main/plugins/youtube-transcribe-skill/skills/youtube-transcribe-skill
Command: npx skills add https://github.com/feiskyer/claude-code-settings --skill youtube-transcribe-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yt-dlp, chrome-devtools-mcp.

What problem does it solve?

This Skill automates the extraction of subtitles and transcripts from YouTube videos, saving you significant time on manual transcription or searching for external tools.

Core Features & Use Cases

  • Dual Extraction Methods: Leverages yt-dlp CLI for fast extraction or browser automation as a robust fallback when CLI tools are unavailable.
  • Automatic Language Selection: Prioritizes common subtitle languages (zh-Hans, zh-Hant, en) for efficient content retrieval.
  • Local File Saving: Saves extracted transcripts to a local text file (<Video Title>.txt) for easy access, analysis, or translation.
  • Use Case: Extract the English transcript from a YouTube tutorial video and save it as a text file for quick reference or translation.

Quick Start

Use the youtube-transcribe-skill to extract subtitles from the YouTube video at https://www.youtube.com/watch?v=dQw4w9WgXcQ.

Frequently Asked Questions about youtube-transcribe-skill

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

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

Subtitle extraction from YouTube videos uses yt-dlp to automatically download transcripts in your preferred language, saving them as a timestamped text file. The Skill applies to standard YouTube URLs (watch?v= or youtu.be/ formats) and falls back to browser automation if CLI extraction fails.

Can I extract YouTube transcripts without manual tools or external services?

Yes. This Skill automates transcript extraction using yt-dlp CLI for speed, with browser automation as a fallback. It requires yt-dlp availability and browser cookies, then outputs a local text file named after the video, eliminating manual copying or third-party transcript sites.

What languages does YouTube subtitle extraction support?

The Skill prioritizes common subtitle languages—Simplified Chinese, Traditional Chinese, and English—selecting the first available match on the video. If your preferred language isn't available, it retrieves whatever captions the video offers.

What happens if yt-dlp can't extract the transcript?

The Skill automatically switches to browser automation via chrome-devtools-mcp to retrieve transcripts when CLI methods fail, ensuring extraction works even when yt-dlp encounters restrictions or unsupported video configurations.

Do I need special setup before extracting YouTube subtitles?

You need yt-dlp installed and browser cookies available for fallback extraction. The Skill handles the rest—it detects YouTube URLs, retrieves subtitles, and writes a formatted text file with timestamps and content to your local directory.

What format does the extracted subtitle file use?

Extracted transcripts save as a text file named <Video Title>.txt with lines formatted as Timestamp Text, making the output ready for reference, analysis, translation, or import into other workflows without additional parsing.