---
slug: "pi-yt-summarizer"
source_type: "readme"
source_url: "https://cdn.jsdelivr.net/gh/x0d7x/pi-yt-summarizer@main/README.md"
repo: "https://github.com/x0d7x/pi-yt-summarizer"
source_file: "README.md"
branch: "main"
---
# pi-yt-summarizer

A Pi coding agent extension that fetches YouTube video info, descriptions, and transcripts for summarization. Also generates video ideas on any topic.

## Features

- **`summarize_youtube` tool** — LLM can automatically fetch video info when you share a YouTube link
- **`/yt <url>`** — Command to pre-fill editor with a summarization prompt
- **`/yt-ideas <topic>`** — Generate 5–10 YouTube video ideas on any topic

## Requirements

- [yt-dlp](https://github.com/yt-dlp/yt-dlp) installed and in PATH

## Install

```bash
pi install npm:pi-yt-summarizer
# or
pi install git:github.com/x0d7x/pi-yt-summarizer
```

## Usage

```
# Ask the LLM directly:
Summarize https://www.youtube.com/watch?v=oL9neMViXAI

# Or use commands:
/yt https://www.youtube.com/watch?v=oL9neMViXAI
/yt-ideas linux distro review
```

## License

MIT
