A Claude AI plugin that downloads YouTube video transcripts and generates well-structured markdown summaries with key insights, timestamps, and references.
- Downloads transcripts using
yt-dlpwith automatic fallback strategies - Extracts video metadata (title, channel, duration, upload date)
- Parses video descriptions for referenced links and resources
- Generates comprehensive markdown summaries with:
- TL;DR executive summary
- Key takeaways
- Detailed section-by-section breakdown
- Notable quotes with timestamps
- Categorized references and resources
- Collapsible full transcript
Required:
- yt-dlp - YouTube video/audio downloader
Optional:
- openai-whisper - For audio transcription when subtitles are unavailable
# macOS
brew install yt-dlp
# All platforms
pip3 install yt-dlp
# Optional: Whisper for audio transcription
pip3 install openai-whisperAdd this plugin to your Claude Code configuration. The plugin will be available from the GitHub repository jpoley/yt-summary.
/youtube:transcript https://www.youtube.com/watch?v=VIDEO_ID
Output: ./yt-transcripts/VIDEO_TITLE.txt
/yt-summarize https://www.youtube.com/watch?v=VIDEO_ID
Output: ./yt-transcripts/VIDEO_TITLE.summary.md
Both commands support standard YouTube URLs:
https://www.youtube.com/watch?v=VIDEO_IDhttps://youtu.be/VIDEO_ID
The transcript command attempts to fetch subtitles in priority order:
- Manual subtitles - Highest quality, human-created
- Auto-generated subtitles - YouTube's automatic captions
- Whisper transcription - Last resort, requires user confirmation
Downloaded VTT files are processed to remove duplicates, clean HTML entities, and convert to plain text.
The summarizer extracts metadata and generates a structured markdown document:
# Video Title
**Channel:** Channel Name | **Date:** YYYY-MM-DD | **Duration:** HH:MM:SS
## TL;DR
Brief 2-3 sentence executive summary.
## Key Takeaways
- Main insight 1
- Main insight 2
- ...
## Summary
Detailed breakdown organized by topic or timestamp.
## Notable Quotes
> "Exact quote from the video" - Speaker (timestamp)
## References & Resources
- [Resource Name](url) - Description
<details>
<summary>Full Transcript</summary>
Complete transcript text...
</details>All output files are saved to ./yt-transcripts/ in the current working directory:
yt-transcripts/
├── Video Title.txt # Raw transcript
└── Video_Title.summary.md # Generated summary
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.