youtube-transcript

Extract YouTube video transcripts with optional timestamps from URLs.

2|Updated May 25, 2026
One-click install
npx skills add https://github.com/XiaSanw/LLM-WIKI-Xiasanw --skill youtube-transcript-xiasanw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-transcript
Source: https://github.com/XiaSanw/LLM-WIKI-Xiasanw/tree/main/skill/deps/youtube-transcript
Command: npx skills add https://github.com/XiaSanw/LLM-WIKI-Xiasanw --skill youtube-transcript-xiasanw

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables you to obtain transcripts from YouTube videos, turning spoken content into readable, searchable text for analysis, indexing, and accessibility.

Core Features & Use Cases

  • Fetch auto-generated or manually provided captions from YouTube videos.
  • Output transcripts with or without timestamps to suit downstream workflows.
  • Use Case: convert a video lecture into a searchable text document for study notes and highlights.

Quick Start

Run the script with a YouTube URL to obtain the transcript, with optional timestamps.

Frequently Asked Questions about youtube-transcript

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

FAQPage Schema
How do I extract a YouTube transcript from a standard video URL?

To extract a YouTube transcript, provide a standard video URL to the script. It fetches manually provided or auto-generated captions, producing clean text with optional timestamps for analysis or archiving.

Can I get timestamps with my YouTube video text extraction?

Yes, text extraction supports optional timestamps. You can configure the output to include timestamps alongside the transcript text to suit your downstream workflows and indexing requirements.

Does this tool work with auto-generated captions or only manual transcripts?

The tool works with both auto-generated and manually provided captions. It fetches available captions from YouTube videos, handling input validation to output a clean, searchable text document.

Do I need the youtube-transcript-api package to extract video text?

Yes, you need the youtube-transcript-api dependency installed to extract video text. The script relies on this package to fetch captions and handle the transcript retrieval process.

What is the best way to convert a video lecture into searchable text for study notes?

The best way to convert a video lecture into searchable text is using a transcript extraction script. It fetches video captions and outputs readable text, enabling you to create study notes and highlights.