Install
openclaw skills install seo-keyword-research-toolAutomatically 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.
openclaw skills install seo-keyword-research-toolAutomatically 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.
Given a YouTube URL:
Extract video ID from the URL
https://www.youtube.com/watch?v=dQw4w9WgXcQ → ID: dQw4w9WgXcQhttps://youtu.be/dQw4w9WgXcQ → ID: dQw4w9WgXcQFetch subtitles using the Python script:
from scripts.youtube_subtitles import get_youtube_subtitles
subtitles = get_youtube_subtitles(video_id)
Generate summary with the AI model using the subtitle text
Format and present the result with:
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=xyz
## Executive 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...
scripts/youtube_subtitles.pyPython utility to fetch subtitles from YouTube using youtube-transcript-api.
Usage:
python scripts/youtube_subtitles.py <video-id> [language-code]
Requirements:
pip install youtube-transcript-api
scripts/summarize.pyHelper script to format subtitles for summarization.
✅ Use when:
❌ Don't use when: