π¦ ClawHub
Kai YouTube
by @ogdegenblaze
Download and transcribe YouTube videos using yt-dlp and Whisper CLI, saving audio and transcripts for playback and summary from any YouTube URL.
TERMINAL
clawhub install kai-youtubeπ About This Skill
name: kai-youtube description: Watch and transcribe YouTube videos using yt-dlp and Whisper CLI. Use when Blaze or Kai wants to watch a YouTube video together, get a video transcript, or summarize video content. Downloads audio with yt-dlp, transcribes with Whisper (OpenAI CLI), and saves everything to the workspace organized folder. Supports any YouTube URL. Trigger phrases: "watch this video", "transcribe this", "youtube", "what does this video say", "watch together". metadata: {"openclaw": {"emoji": "πΊ", "requires": {"bins": ["yt-dlp", "whisper"]}}}
Kai YouTube Skill
Watch YouTube videos by downloading audio and transcribing with Whisper.
Organization
/home/kai/.openclaw/workspace/kai-yt-videos/kai-yt-videos/kai_yt_${VIDEO_ID}.mp3kai-yt-videos/kai_yt_${VIDEO_ID}.txtWorkflow
1. Download audio using yt-dlp:
yt-dlp --extract-audio --audio-format mp3 --output "{WORKSPACE}/kai_yt_${VIDEO_ID}.mp3" ""
2. Transcribe using Whisper CLI:
whisper "{WORKSPACE}/kai_yt_${VIDEO_ID}.mp3" --model base --output_format txt --output_dir "{WORKSPACE}"
3. Read transcript from {WORKSPACE}/kai_yt_${VIDEO_ID}.txt
Requirements
yt-dlp - YouTube audio downloader (brew install yt-dlp)whisper - OpenAI Whisper CLI (brew install openai-whisper)Usage
bash {baseDir}/scripts/youtube.sh "" [--language ]
Tips
--language for specific language (e.g., --language Spanish)kai-yt-videos/ folderVideo ID Extraction
Handles both URL formats:
https://www.youtube.com/watch?v=VIDEO_IDhttps://youtu.be/VIDEO_IDπ‘ Examples
bash {baseDir}/scripts/youtube.sh "" [--language ]
π Tips & Best Practices
--language for specific language (e.g., --language Spanish)kai-yt-videos/ folder