yt-transcript

Fetch YouTube video transcripts with or without timestamps via CLI.

2|1|Updated Nov 30, 2025
One-click install
npx skills add https://github.com/nibzard/skills-kit --skill yt-transcript
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yt-transcript
Source: https://github.com/nibzard/skills-kit/tree/main/skills/yt-transcript
Command: npx skills add https://github.com/nibzard/skills-kit --skill yt-transcript

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Fetch YouTube transcripts for analysis, summarization, or processing. This enables analysts and developers to extract textual content from videos for downstream NLP tasks.

Core Features & Use Cases

  • Retrieve transcripts from a wide range of YouTube URLs (standard, short, embed) and multiple videos.
  • Output transcripts with or without timestamps, and access language metadata.
  • Save transcripts to files or feed directly into AI workflows for summarization or analysis.

Quick Start

Install the required package and run the script to fetch transcripts.

Frequently Asked Questions about yt-transcript

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

FAQPage Schema
How do I fetch YouTube transcripts for analysis using Python?

You can fetch YouTube transcripts for analysis by running the provided Python CLI script, which uses the youtube-transcript-api library to retrieve video text and output it to stdout or a file.

Can I extract transcripts from multiple YouTube URLs at once?

Yes, you can extract transcripts from multiple YouTube URLs at once. The script handles standard, short, and embed URLs, allowing you to process several videos in a single run.

Do YouTube transcripts include timestamps and language metadata?

Yes, YouTube transcripts can include timestamps and language metadata. The script allows you to configure the output to include or exclude timestamps based on your processing needs.

What do I need to install to get YouTube video transcripts via CLI?

To get YouTube video transcripts via CLI, you need to install the youtube-transcript-api library and have a Python runtime available in your environment to execute the script.

How do I feed YouTube transcripts directly into AI workflows for summarization?

You can feed YouTube transcripts directly into AI workflows for summarization by piping the script's stdout output into your NLP models, or by loading the saved text files into your analysis pipeline.

Are there limitations when fetching YouTube transcripts with youtube-transcript-api?

Fetching YouTube transcripts requires that the target videos actually have subtitles or captions available. If a video lacks uploaded or auto-generated transcripts, the library will not be able to retrieve the text.