YouTube Summary - Auto Video Summarizer
by @potatosolo
Automatically fetch YouTube video subtitles and generate concise summaries. Use when you need to summarize a YouTube video, get key points from a talk, or ex...
clawhub install youtube-video-summaryπ About This Skill
name: youtube-summary description: Automatically fetch YouTube video subtitles and generate concise summaries. Use when you need to summarize a YouTube video, get key points from a talk, or extract main ideas from long videos without watching. Supports different summary lengths and multiple languages.
YouTube Summary
Automatically get subtitles from any public YouTube video and generate a clean, structured summary with key points. Saves hours of watching long videos when you just need the main ideas.
Core Capabilities
1. Get full subtitles from any public YouTube video
2. Generate concise summaries
3. Export results
Quick Start
Given a YouTube URL:
1. Extract video ID from the URL
- https://www.youtube.com/watch?v=dQw4w9WgXcQ β ID: dQw4w9WgXcQ
- https://youtu.be/dQw4w9WgXcQ β ID: dQw4w9WgXcQ
2. Fetch subtitles using the Python script:
from scripts.youtube_subtitles import get_youtube_subtitles
subtitles = get_youtube_subtitles(video_id)
3. Generate summary with the AI model using the subtitle text
4. Format and present the result with: - Video title and link - Executive summary (1-paragraph overview) - Key points (bulleted list) - Detailed notes (optional)
Usage Examples
Example request: "Summarize this YouTube video: https://www.youtube.com/watch?v=xyz"
Expected output:
# Video Summary: [Title]
Source: https://www.youtube.com/watch?v=xyzExecutive Summary
One paragraph overview of the entire video's main message.Key Points
Point 1: Main argument or finding
Point 2: Second important topic
Point 3: Key takeaway
... Detailed Notes (optional for longer videos)
More detailed breakdown...
Language Support
Scripts
scripts/youtube_subtitles.py
Python utility to fetch subtitles from YouTube using youtube-transcript-api.Usage:
python scripts/youtube_subtitles.py [language-code]
Requirements:
pip install youtube-transcript-api
scripts/summarize.py
Helper script to format subtitles for summarization.When to use this skill
β Use when:
β Don't use when:
π‘ Examples
Given a YouTube URL:
1. Extract video ID from the URL
- https://www.youtube.com/watch?v=dQw4w9WgXcQ β ID: dQw4w9WgXcQ
- https://youtu.be/dQw4w9WgXcQ β ID: dQw4w9WgXcQ
2. Fetch subtitles using the Python script:
from scripts.youtube_subtitles import get_youtube_subtitles
subtitles = get_youtube_subtitles(video_id)
3. Generate summary with the AI model using the subtitle text
4. Format and present the result with: - Video title and link - Executive summary (1-paragraph overview) - Key points (bulleted list) - Detailed notes (optional)