AI SummaryCaption-clip automates downloading YouTube videos and adding styled captions using yt-dlp and Deepgram transcription, enabling content creators and developers to quickly generate captioned clips with timestamps.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "caption-clip" skill in my project. Please run this command in my terminal: # Install skill into the correct directory (2 files) mkdir -p .claude/skills/caption-clip && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/caption-clip/SKILL.md "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/tools/caption-clip/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/caption-clip/metadata.json "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/tools/caption-clip/metadata.json" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Download and caption YouTube clips. Use when the user asks to "caption a YouTube video", "download and add subtitles", "create captioned clips", "transcribe and caption a video", or mentions yt-dlp captioning workflows.
Prerequisites
• yt-dlp installed • ffmpeg installed • DEEPGRAM_API_KEY in .env file (or environment variable) • Avenir Next font (falls back to Arial if unavailable)
Caption YouTube Clips
Download YouTube video clips with timestamps, transcribe with Deepgram, and burn styled captions.
Step 1: Download Clip
Download a specific section of a YouTube video using yt-dlp: `bash yt-dlp --download-sections "*START-END" -o "clip_name.%(ext)s" "YOUTUBE_URL" ` Example with timestamps 02:53-04:15: `bash yt-dlp --download-sections "*02:53-04:15" -o "clip_intro.%(ext)s" "https://www.youtube.com/watch?v=VIDEO_ID" `
Step 2: Convert to MP4
Ensure consistent encoding with ffmpeg defaults: `bash ffmpeg -i clip_name.webm -y clip_name.mp4 `
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster