youtube-transcript

Retrieve timestamped transcripts from YouTube videos by ID or URL.

2.3k|207|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/badlogic/pi-skills --skill youtube-transcript-badlogic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-transcript
Source: https://github.com/badlogic/pi-skills/tree/main/youtube-transcript
Command: npx skills add https://github.com/badlogic/pi-skills --skill youtube-transcript-badlogic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

People frequently need to extract, search, and analyze spoken content from YouTube videos without manual transcription, enabling faster insights and note-taking.

Core Features & Use Cases

  • Transcript retrieval: Fetch transcripts for a video using its ID or full URL, supporting both auto-generated and human-provided captions.
  • Timestamped output: Produce time-stamped lines suitable for quick reading, indexing, or downstream processing.
  • Use Case: Researching a lecture series by extracting key quotes and timing data to generate summaries and study notes.

Quick Start

Use the transcript.js script to fetch transcripts from YouTube videos. {baseDir}/transcript.js <video-id-or-url> EBw7gsDPAYQ https://www.youtube.com/watch?v=EBw7gsDPAYQ

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 transcript from a YouTube video?

To extract a transcript from a YouTube video, provide the video ID or full URL to retrieve captions. The skill handles both auto-generated and manually created captions, outputting timestamped lines suitable for analysis or downstream processing.

Can I get timestamped output from YouTube captions for indexing?

Yes, you can get timestamped output from YouTube captions for indexing. The retrieval process produces time-stamped lines that enable precise referencing, making it easier to search and analyze spoken content without manual transcription.

Does transcript retrieval work with auto-generated YouTube captions?

Yes, transcript retrieval works with auto-generated YouTube captions. It seamlessly supports both auto-generated and human-provided captions, allowing you to extract and analyze spoken video content regardless of how the original text was created.

What is the best way to pull video transcripts for content auditing?

The best way to pull video transcripts for content auditing is using an automated retrieval script that fetches captions by video ID or URL. This approach quickly extracts time-stamped text, enabling rapid research and content analysis.

How do I use a YouTube URL to fetch a transcript for research notes?

To use a YouTube URL to fetch a transcript for research notes, pass the full video link to the extraction script. It will retrieve the caption data and output timestamped lines, allowing you to easily generate summaries and study materials.