youtube-summarize

Summarize YouTube videos by extracting and analyzing their transcripts. Use when a user shares a YouTube URL and asks to summarize, explain, analyze, or extract information from the video. Triggers on YouTube links (youtube.com, youtu.be) with requests like "summarize this video", "what's this video about", "give me the key points", or "explain this video".

16 stars

Best use case

youtube-summarize is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Summarize YouTube videos by extracting and analyzing their transcripts. Use when a user shares a YouTube URL and asks to summarize, explain, analyze, or extract information from the video. Triggers on YouTube links (youtube.com, youtu.be) with requests like "summarize this video", "what's this video about", "give me the key points", or "explain this video".

Teams using youtube-summarize should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/youtube-summarize/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/youtube-summarize/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/youtube-summarize/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How youtube-summarize Compares

Feature / Agentyoutube-summarizeStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Summarize YouTube videos by extracting and analyzing their transcripts. Use when a user shares a YouTube URL and asks to summarize, explain, analyze, or extract information from the video. Triggers on YouTube links (youtube.com, youtu.be) with requests like "summarize this video", "what's this video about", "give me the key points", or "explain this video".

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# YouTube Video Summarizer

Summarize YouTube videos by extracting transcripts and providing intelligent summaries. Saves summaries to an Obsidian vault and opens a styled preview in the browser.

## Prerequisites

The venv is already set up at `~/.claude/skills/youtube-summarize/venv` with `youtube-transcript-api` installed.

## Workflow

1. **Extract video ID** from the URL (supports youtube.com/watch, youtu.be, shorts)
2. **Fetch transcript** using `scripts/get_transcript.py`
3. **Summarize** the transcript based on user request
4. **Save & Preview** using `scripts/save_summary.py` - saves to Obsidian vault and opens styled HTML in browser

## Scripts

### Get Transcript

```bash
# Activate venv and get plain text transcript
source ~/.claude/skills/youtube-summarize/venv/bin/activate && python ~/.claude/skills/youtube-summarize/scripts/get_transcript.py "https://www.youtube.com/watch?v=VIDEO_ID"

# Get timestamped transcript
source ~/.claude/skills/youtube-summarize/venv/bin/activate && python ~/.claude/skills/youtube-summarize/scripts/get_transcript.py "URL" --format timestamped

# Specify language
source ~/.claude/skills/youtube-summarize/venv/bin/activate && python ~/.claude/skills/youtube-summarize/scripts/get_transcript.py "URL" --lang es
```

### Save Summary & Open Preview

After generating the summary, save it and open the preview:

```bash
source ~/.claude/skills/youtube-summarize/venv/bin/activate && python ~/.claude/skills/youtube-summarize/scripts/save_summary.py \
  --title "Video Title Here" \
  --url "https://youtube.com/watch?v=VIDEO_ID" \
  --summary "Your markdown summary here"
```

Options:
- `--no-preview`: Skip opening browser preview
- `--no-save`: Skip saving to Obsidian vault
- `--stdin`: Read summary from stdin instead of --summary flag

## Output Locations

- **Obsidian Vault**: `~/Documents/YouTube-Summaries/` (customize in `save_summary.py`)
- **Browser Preview**: Opens automatically in default browser (temp HTML file)

## Summarization Guidelines

After extracting the transcript, provide summaries based on user needs:

| Request Type | Output |
|-------------|--------|
| "Summarize" | 3-5 paragraph overview of main points |
| "Key points" | Bullet list of 5-10 main takeaways |
| "TLDR" | 2-3 sentence ultra-brief summary |
| "Explain" | Detailed explanation with context |
| "Timestamps" | Key moments with timestamps |

## Error Handling

| Error | Cause | Solution |
|-------|-------|----------|
| `TranscriptsDisabled` | Video has no captions | Inform user; cannot extract |
| `NoTranscriptFound` | No transcript in requested language | Try without `--lang` flag |
| `VideoUnavailable` | Private/deleted video | Inform user |

## Notes

- Works with auto-generated and manual captions
- Supports 100+ languages (use ISO 639-1 codes)
- Shorts and regular videos both supported
- Summaries are saved with frontmatter for Obsidian compatibility

Related Skills

youtube-music-openclaw

16
from diegosouzapw/awesome-omni-skill

Control YouTube Music with natural language - search, play, pause, skip, volume, shuffle

youtube-downloader

16
from diegosouzapw/awesome-omni-skill

Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.

summarize-session

16
from diegosouzapw/awesome-omni-skill

Summarize the current session and generate reusable Claude rules, skills, or commands.

fetching-youtube-transcripts

16
from diegosouzapw/awesome-omni-skill

Fetch transcripts and subtitles from YouTube videos using youtube-transcript-api. Use when extracting video transcripts, listing available languages, translating captions, or processing YouTube content for summarization or analysis.

youtube-ai-digest

16
from diegosouzapw/awesome-omni-skill

Browses AI-related YouTube videos from subscribed channels, fetches transcripts, generates summaries, and creates Markdown reports. Use when the user mentions YouTube AI videos, video summaries, channel subscriptions, or asks about recent AI content from YouTube creators.

summarize

16
from diegosouzapw/awesome-omni-skill

Summarize or extract text/transcripts from URLs, podcasts, and local files.

youtube-summarizer

16
from diegosouzapw/awesome-omni-skill

Extract transcripts from YouTube videos and generate comprehensive, detailed summaries using intelligent analysis frameworks

youtube-shorts-automation

16
from diegosouzapw/awesome-omni-skill

YouTube Shorts 자동 생성 및 업로드 파이프라인. Deevid AI Agent로 이미지→영상(BGM+음성 포함) 생성 후 YouTube에 업로드. 크론잡으로 매일 자동 실행 가능. Use when generating short-form vertical videos, creating AI-generated video content, uploading to YouTube Shorts, or automating daily video content pipelines.

youtube-automation

16
from diegosouzapw/awesome-omni-skill

Automate YouTube tasks via Rube MCP (Composio): upload videos, manage playlists, search content, get analytics, and handle comments. Always search tools first for current schemas.

Automate YouTube Top-Ten Video Creation with OpenAI and Safe Image Search

16
from diegosouzapw/awesome-omni-skill

Integrates OpenAI API for content generation, Bing Image Search API for safe image retrieval, and Pexels API for video footage. Handles authentication via Bearer token, enforces safe search, formats ChatGPT responses into a top-ten list, and includes error handling for API failures.

youtube-to-ebook

16
from diegosouzapw/awesome-omni-skill

Transform YouTube videos into beautifully formatted ebook articles with transcripts

summarize_text_with_key_details

16
from diegosouzapw/awesome-omni-skill

Summarizes articles or text, presenting key information in a concise format. Adapts to prioritize completeness over brevity when requested, ensuring no critical details are lost.