Install
openclaw skills install tube-summarySearch YouTube videos on any topic, extract English subtitles, and generate detailed summaries with key topics, quotes, and timestamps.
openclaw skills install tube-summarySearch YouTube for videos on any topic, then extract and summarize their content using subtitles.
When asked about a topic, search YouTube and list the top 10 results:
python3 scripts/youtube-search.py "your search query"
This returns a numbered list of videos with titles, channels, and view counts.
The user selects one video by number (e.g., "3" for the third video).
Extract English subtitles from the selected video using yt-dlp:
yt-dlp --write-subs --sub-langs en --skip-download "VIDEO_URL"
This creates a .en.vtt subtitle file without downloading the video.
Use the subtitle processor to analyze and summarize:
python3 scripts/process-subtitles.py "path/to/subtitle-file.vtt"
This generates:
youtube-search.py "<topic>" → Display top 10 videosyt-dlp --write-subs --sub-langs en --skip-download "URL"process-subtitles.py "subtitle.vtt"yt-dlp (install: pip install yt-dlp)requests (for YouTube search fallback)User: "Tell me about Rust programming language"
→ Search returns 10 videos about Rust
User: "Summarize video 3"
→ Downloads subtitles from video 3
→ Processes and returns detailed summary