skills/subtitle-overlay/SKILL.md
Add burned-in subtitles/captions to video clips. Supports SRT/VTT/ASS subtitle files, customizable styling (font, size, color, position), and platform-specific presets for TikTok, YouTube Shorts, and Instagram Reels.
npx skillsauth add akrindev/trimer-clip subtitle-overlayInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill enables AI agents to add burned-in subtitles to video clips, essential for short-form content.
scripts/add_subtitles.pyAdd subtitles to video.
Usage:
python skills/subtitle-overlay/scripts/add_subtitles.py <video_path> --subtitle <subtitle_path> [options]
Options:
--subtitle, -s: Path to subtitle file (SRT/VTT/ASS) - required--output, -o: Output video path--font: Font name (default: Plus Jakarta Sans)--font-size: Font size (default: 24)--font-color: Font color (default: white)--outline-color: Outline color (default: black)--outline-width: Outline width (default: 2)--position: Text position (bottom, top, center) - default: bottom--style: Style preset (tiktok, shorts, reels, default)--no-outline: Disable text outline--use-ass-style: Use styles defined in ASS subtitle fileExamples:
Basic subtitle overlay:
python skills/subtitle-overlay/scripts/add_subtitles.py video.mp4 --subtitle video.srt
Custom styling:
python skills/subtitle-overlay/scripts/add_subtitles.py video.mp4 --subtitle video.srt \
--font Helvetica --font-size 28 --font-color yellow --outline-color black
Platform-specific style:
python skills/subtitle-overlay/scripts/add_subtitles.py video.mp4 --subtitle video.srt --style tiktok
scripts/generate_and_add.pyGenerate subtitles from transcript and add to video.
Usage:
python skills/subtitle-overlay/scripts/generate_and_add.py <video_path> <transcript_path> [options]
Example:
python skills/subtitle-overlay/scripts/generate_and_add.py video.mp4 video.txt --style shorts
{
"success": true,
"input_video": "video.mp4",
"input_subtitle": "video.srt",
"output_video": "video_subtitled.mp4",
"style": {
"font": "Plus Jakarta Sans",
"font_size": 24,
"font_color": "white",
"outline_color": "black",
"outline_width": 2,
"position": "bottom"
},
"subtitle_count": 45,
"duration": 60.5
}
1
00:00:00,000 --> 00:00:05,000
This is the first subtitle.
2
00:00:05,000 --> 00:00:10,000
This is the second subtitle.
WEBVTT
00:00:00.000 --> 00:00:05.000
This is the first subtitle.
00:00:05.000 --> 00:00:10.000
This is the second subtitle.
Use ASS for word-level highlights and custom styling. Pass --use-ass-style to keep the ASS styles intact.
After adding subtitles, the video is ready for:
autocut-shorts workflowtesting
Download videos from YouTube URLs. Use when user wants to download a YouTube video for processing, editing, or transcription. Supports different quality options, audio-only extraction, and playlist downloads.
tools
Trim and cut videos by timestamp with precision. Supports both stream copy (fast) and re-encoding (quality) modes. Use when you need to extract specific segments from videos, create clips from highlights, or cut unwanted portions.
development
Transcribe audio from videos using Whisper (local), OpenAI Whisper API, Google Speech-to-Text, or Gemini API (gemini-flash-lite-latest). Use when you need to convert video/audio to text for further processing, subtitle generation, or content analysis. Supports multiple languages, speaker diarization, and timestamp-accurate transcription. Gemini provides additional features like emotion detection and viral segment analysis.
tools
Advanced speaker diarization using pyannote-audio. Identify who speaks when, detect multiple speakers, handle overlapping speech, and create speaker-specific segments. Use when you need accurate speaker identification, multi-speaker content analysis, or speaker-specific clip extraction. More accurate than Gemini's built-in diarization for complex scenarios.