Skip to content
Skill

caption-clip

by kwindla

AI Summary

caption-clip enables users to download YouTube videos, transcribe them using Deepgram, and automatically add styled captions—streamlining video accessibility and content creation workflows for developers and content creators.

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
mkdir -p .claude/skills/skill-caption-clip && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/skill-caption-clip/SKILL.md "https://raw.githubusercontent.com/kwindla/skill-caption-clip/main/SKILL.md"

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

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2mo ago
Active
AdoptionUnder 100 stars
2 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Stars2
Issues0
Updated2mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code