Video Intelligence
by @nogara
Download videos and get transcripts, summaries, or metadata from YouTube, TikTok, Instagram, and X (Twitter). Use when the user shares a video URL and wants...
clawhub install video-intelπ About This Skill
name: video-intel description: > Download videos and get transcripts, summaries, or metadata from YouTube, TikTok, Instagram, and X (Twitter). Use when the user shares a video URL and wants a transcript, summary, key points, quotes, or to download the video. Triggers on phrases like "transcript this video", "summarize this YouTube video", "what does this video say", "download this TikTok", "get captions from", or any video URL from youtube.com, youtu.be, tiktok.com, instagram.com, x.com, twitter.com. Requires: yt-dlp, python3, curl. Optional: ffmpeg (for TikTok/Instagram/X audio), OPENAI_API_KEY (Whisper fallback β uploads audio to OpenAI).
video-intel
Downloads videos and extracts transcripts using yt-dlp (captions) with OpenAI Whisper fallback.
Required Dependencies
| Dependency | Purpose | Required? |
|---|---|---|
| yt-dlp | Fetch captions and download audio/video | β
Always |
| python3 | Parse VTT/SRT caption files | β
Always |
| curl | Call OpenAI Whisper API | β
For Whisper fallback |
| ffmpeg | Extract audio from TikTok/Instagram/X | β οΈ Non-YouTube only |
| OPENAI_API_KEY | Authenticate with OpenAI Whisper API | β οΈ Only if captions unavailable |
Install binaries:
# yt-dlp
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ~/bin/yt-dlp && chmod +x ~/bin/yt-dlpffmpeg (Debian/Ubuntu)
sudo apt install ffmpeg
β οΈ Privacy Notice β OpenAI Audio Upload
When captions are unavailable (common for TikTok, Instagram, X), the script downloads the audio and uploads it to OpenAI's transcription API (https://api.openai.com/v1/audio/transcriptions). This means:
OPENAI_API_KEY to be setOPENAI_API_KEY, or use a local transcription modelYouTube videos almost always have captions and will not trigger an upload.
Script
~/.openclaw/skills/video-intel/scripts/video-intel.sh
Workflows
Get transcript
~/.openclaw/skills/video-intel/scripts/video-intel.sh transcript
--lang pt for PortugueseGet video info
~/.openclaw/skills/video-intel/scripts/video-intel.sh info
List available caption tracks
~/.openclaw/skills/video-intel/scripts/video-intel.sh captions
Download video
~/.openclaw/skills/video-intel/scripts/video-intel.sh download [--format audio|720p|best]
After getting transcript
Notes
--format audio to get a smaller mp3/tmp/video-intel/ by defaultπ Tips & Best Practices
--format audio to get a smaller mp3/tmp/video-intel/ by default