# Youtube Transcript

Fetch transcripts from YouTube videos for summarization and analysis.

- Repository: https://github.com/badlogic/pi-skills (2648 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-06-06
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add badlogic/pi-skills --skill youtube-transcript -g -a claude-code -y`
Codex: `npx skills add badlogic/pi-skills --skill youtube-transcript -g -a codex -y`
Cursor: `npx skills add badlogic/pi-skills --skill youtube-transcript -g -a cursor -y`
Gemini CLI: `npx skills add badlogic/pi-skills --skill youtube-transcript -g -a gemini-cli -y`

## Description

Fetch transcripts from YouTube videos for summarization and analysis.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# YouTube Transcript

Fetch transcripts from YouTube videos.

## Setup

```bash
cd {baseDir}
npm install
```

## Usage

```bash
{baseDir}/transcript.js <video-id-or-url>
```

Accepts video ID or full URL:
- `EBw7gsDPAYQ`
- `https://www.youtube.com/watch?v=EBw7gsDPAYQ`
- `https://youtu.be/EBw7gsDPAYQ`

## Output

Timestamped transcript entries:

```
[0:00] All right. So, I got this UniFi Theta
[0:15] I took the camera out, painted it
[1:23] And here's the final result
```

## Notes

- Requires the video to have captions/transcripts available
- Works with auto-generated and manual transcripts

