# 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 `.md` to 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](https://skills.varg.ai/guides.md) · [Captions & subtitles](https://skills.varg.ai/browse/skills/captions.md)
- **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](https://skills.varg.ai/use-cases/captions.md): TikTok-style subtitles burned into an existing video: word highlight, pop words, or designed editorial captions.
- [Translate and dub a video](https://skills.varg.ai/use-cases/dubbing.md): Your video in another language with your own voice, optionally lip-synced and subtitled.

## More captions & subtitles skills

- [3D Camera Captions](https://skills.varg.ai/skills/hyperframes-camera-3d-captions.md): Captions that live in 3D around a talking head: the camera flies through the words, heroes pass behind the speaker.
- [Remotion Captions](https://skills.varg.ai/skills/remotion-captions.md): Transcribe speech and burn in animated captions with Remotion, or import an existing SRT file.
- [ElevenLabs Speech to Text](https://skills.varg.ai/skills/elevenlabs-speech-to-text.md): Transcribe audio and video with word timestamps, speaker labels and keyterms, ready for subtitles.
- [ElevenLabs Speech to Text (inference.sh)](https://skills.varg.ai/skills/inference-sh-elevenlabs-stt.md): Transcribe audio with ElevenLabs Scribe, speaker diarization and forced alignment, via inference.sh.
- [Speech to Text](https://skills.varg.ai/skills/inference-sh-speech-to-text.md): Transcribe audio with ElevenLabs Scribe v2 or Whisper V3 Large, with timestamps and speaker labels.
- [Pretext Text Metrics](https://skills.varg.ai/skills/pretext-yaniv-golan.md): Measure and fit text without the DOM using pretext: auto-fit sizes, know line breaks before render, canvas/WebGL text.
