π¦ ClawHub
YouTube Watcher
by @naliehu
Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.
TERMINAL
clawhub install youtube-watcherkxπ About This Skill
name: youtube-watcher description: Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it. author: michael gathara version: 1.0.0 triggers: - "watch youtube" - "summarize video" - "video transcript" - "youtube summary" - "analyze video" metadata: {"clawdbot":{"emoji":"πΊ","requires":{"bins":["yt-dlp"]},"install":[{"id":"brew","kind":"brew","formula":"yt-dlp","bins":["yt-dlp"],"label":"Install yt-dlp (brew)"},{"id":"pip","kind":"pip","package":"yt-dlp","bins":["yt-dlp"],"label":"Install yt-dlp (pip)"}]}}
YouTube Watcher
Usage
Get Transcript
Retrieve the text transcript of a video.
python3 {baseDir}/scripts/get_transcript.py "https://www.youtube.com/watch?v=VIDEO_ID"
Examples
Summarize a video:
1. Get the transcript:
python3 {baseDir}/scripts/get_transcript.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
2. Read the output and summarize it for the user.Find specific information:
1. Get the transcript. 2. Search the text for keywords or answer the user's question based on the content.
Notes
yt-dlp to be installed and available in the PATH.π‘ Examples
Summarize a video:
1. Get the transcript:
python3 {baseDir}/scripts/get_transcript.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
2. Read the output and summarize it for the user.Find specific information:
1. Get the transcript. 2. Search the text for keywords or answer the user's question based on the content.
π Tips & Best Practices
yt-dlp to be installed and available in the PATH.