Generate and proofread video subtitles automatically with Claude Code
Add subtitles to videos locally, generate SRT/VTT files, and handle translations using the Auto Captions Skill. Use AI to intelligently proofread names, brands, and numbers to prevent speech recognition errors, with support for multi-platform social media rendering.
DEV.to #claudecode
Claude Codefaster-whisperPillowffmpegAuto Captions SkillCodexCursorOpenClaw
Added 2026-11-12 · originally published Wed, 11 Nov 2026 17:09:13 +0000
Steps
- 1Ensure Python 3.9+, ffmpeg, and Pillow are installed on your computer, along with a speech-to-text tool (e.g., pip install faster-whisper).
- 2Install the skill via command: run npx skills add social-media-skills/auto-captions-skill -g -a claude-code -y (or use the installation command corresponding to the agent you are using).
- 3Provide the AI with the video path, proper nouns that need correct spelling, and target language requirements.
- 4Run transcribe.py to get the raw transcription results with word-level timestamps.
- 5Have the AI run fix.py to proofread uncertain words and proper nouns, correcting punctuation, missing words, and errors.
- 6Use captions.py to generate SRT and VTT subtitle files along with plain text transcripts, and use styles.py and render.py for previewing and multi-size rendering.
Ideas for Chinese platforms
This skill can be directly applied to short-form video operations to quickly auto-generate, proofread, and render subtitles and multi-language versions meeting various dimension requirements across platforms.
Copy-ready prompt
Please add subtitles for [clips/intro.mp4] and [clips/speed.mp4], tailored for [TikTok, Reels, and Shorts], and create [a 16:9 version for YouTube], [a 4:5 version for LinkedIn], and [a Spanish version]. The character name is [Nichole Ayers].
#AI Agent#Video Subtitles#Claude Code#Automated Workflow
Related use cases
Summarized by AI from the original source - refer to the original post for details. Copyright belongs to the original author.