youtube-transcript

Extract English YouTube transcripts with transcript.js and yt-dlp fallback.

6|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/junghan0611/agent-config --skill youtube-transcript-junghan0611
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-transcript
Source: https://github.com/junghan0611/agent-config/tree/main/skills/youtube-transcript
Command: npx skills add https://github.com/junghan0611/agent-config --skill youtube-transcript-junghan0611

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires youtube-transcript-plus.

What problem does it solve?

YouTube video transcripts are essential for analysis, translation, accessibility, and indexing, but obtaining accurate, language-targeted transcripts can be tedious without automation.

Core Features & Use Cases

  • Transcript extraction: Retrieve English transcripts (including auto-generated captions) from YouTube videos for downstream analytics, translation, or indexing.
  • Two implementation paths: Use transcript.js (npm, fast) or transcript-ytdlp.sh (cookie-based fallback) for robustness and reliability.
  • Workflow integration: Feed transcripts into NLP pipelines, summarize, translate, or archive video content for search and accessibility.

Quick Start

Run the transcript extraction by providing a YouTube video ID or URL to obtain the English 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 YouTube transcripts for downstream analysis and translation?

To extract YouTube transcripts for analysis, provide a video ID or URL to retrieve English subtitles. The workflow outputs normalized text with formatted timestamps, using a fast npm-based extractor or a cookie-based fallback for robust coverage.

Can I use this to get YouTube auto-generated captions in English?

Yes, you can extract auto-generated English captions. The extraction process targets English subtitles specifically, applying basic text normalization to clean up the auto-generated output for better readability and downstream processing.

What is the best way to retrieve YouTube video transcripts when the fast extraction method fails?

The best way to retrieve YouTube video transcripts when fast extraction fails is using the cookie-supported fallback method. This robust approach leverages yt-dlp to ensure successful transcript retrieval when the primary no-cookie method encounters issues.

Does YouTube transcript extraction work without cookies for NLP pipelines?

Yes, YouTube transcript extraction works without cookies using the fast no-cookie approach via the transcript.js library. This allows seamless workflow integration to feed raw transcripts directly into NLP pipelines without requiring browser authentication.

Why does the transcript extraction include timestamp formatting?

Transcript extraction includes timestamp formatting to provide temporal context for indexing and accessibility workflows. This structured output allows downstream applications to align text with specific video segments for accurate analysis and translation.