Subtitle Translator — guide skill for captions & subtitles
For AI agents: find the right skill in one call —
curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add.mdto its path. Before generating anything, show the person the options on the use-case page.
Agent-translated SRT/ASS subtitles in resumable batches that keep cue count, timing and ASS styling tags intact.
- Type: Guide · Captions & subtitles
- Slug:
gemini-srt-translator - Status: live
- Publisher: Matheus Castro (community)
- License: MIT
- Source: https://github.com/MaKTaiL/gemini-srt-translator/tree/main/skills/subtitle-translator
- Works in: Claude Code, Codex, Cursor
- Requires: Python 3.10+ with the gemini-srt-translator package, ffmpeg for subtitles embedded in video files
- Cost: Free — the agent translates in its own context; standalone Gemini mode bills your Gemini key
- Adoption: 363 GitHub stars (GitHub, 2026-10-26)
What it does
The agent does the translating itself: gst agent start from the gemini-srt-translator Python package parses an .srt, an .ass or a video's embedded subtitle stream with pysubs2 and hands the agent numbered batches, and gst agent commit checks item parity and saves progress, so long files resume cleanly and keep timing, line breaks and ASS override tags. No API key is needed in this agent mode; the same package can also translate on its own with a Gemini key. Text only: no transcription or burn-in, and quality depends on the agent's model and batch size.
Use when
- Translate an .srt or .ass subtitle file into another language
- Translate the subtitles embedded in an .mkv or .mp4
- Long multi-character dialogue that needs consistent tone across batches
Not for
- Creating subtitles from audio (transcribe first: transcribe-anything, agent-caption)
- Burning subtitles into video (ffmpeg-captions-subtitles)
Install
- Claude Code:
pip install gemini-srt-translator && gst skill install --target claude - Codex:
pip install gemini-srt-translator && gst skill install --global
Used for
- Animated captions on your video: TikTok-style subtitles burned into an existing video: word highlight, pop words, or designed editorial captions.
- Translate and dub a video: Your video in another language with your own voice, optionally lip-synced and subtitled.
More captions & subtitles skills
- 3D Camera Captions: Captions that live in 3D around a talking head: the camera flies through the words, heroes pass behind the speaker.
- Remotion Captions: Transcribe speech and burn in animated captions with Remotion, or import an existing SRT file.
- ElevenLabs Speech to Text: Transcribe audio and video with word timestamps, speaker labels and keyterms, ready for subtitles.
- ElevenLabs Speech to Text (inference.sh): Transcribe audio with ElevenLabs Scribe, speaker diarization and forced alignment, via inference.sh.
- Speech to Text: Transcribe audio with ElevenLabs Scribe v2 or Whisper V3 Large, with timestamps and speaker labels.
- Pretext Text Metrics: Measure and fit text without the DOM using pretext: auto-fit sizes, know line breaks before render, canvas/WebGL text.