subtitle-translator

subtitle-translator is a skill for Claude Code, Codex from MaKTaiL/gemini-srt-translator. It costs 60 tokens per session (1,317 once invoked), scanned A, original, MIT.

A tool for translating subtitle files or videos with embedded subtitles while preserving timestamps, formatting, and dialogue context.

In plain words
What is it for?
Use it to translate SRT or ASS subtitles, or subtitles embedded in media files, into a chosen target language.
Why use it?
It reduces timing and formatting errors and helps keep translations consistent across multi-part dialogue.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to translate SRT or ASS subtitles, or subtitles embedded in media files, into a chosen target language.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/maktail/gemini-srt-translator/gemini_srt_translator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MaKTaiL/gemini-srt-translator --skill gemini_srt_translator
Clone the repo
git clone --depth 1 https://github.com/MaKTaiL/gemini-srt-translator

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for subtitle-translator

README.md
[![agentmods](https://agentmods.dev/badge/skills/maktail/gemini-srt-translator/gemini_srt_translator/github.svg)](https://agentmods.dev/skills/maktail/gemini-srt-translator/gemini_srt_translator)
Your own site
<a href="https://agentmods.dev/skills/maktail/gemini-srt-translator/gemini_srt_translator"><img src="https://agentmods.dev/badge/skills/maktail/gemini-srt-translator/gemini_srt_translator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for subtitle-translator

Your own site · 80×15
<a href="https://agentmods.dev/skills/maktail/gemini-srt-translator/gemini_srt_translator"><img src="https://agentmods.dev/badge/skills/maktail/gemini-srt-translator/gemini_srt_translator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,317 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.01317
Opus 5 $0.00030 $0.00659
Sonnet 5 $0.00012 $0.00263
Haiku 4.5 $0.00006 $0.00132

Measured 12d ago against content hash 63e28bb4ec9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

subtitle-translator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 10 executable files (__init__.py, agent_cli.py, cli.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

gemini_srt_translator/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Subtitle Translator Skill

🎯 Role & Agent Protocol (CRITICAL)

When this skill is invoked:

  1. YOU ARE THE TRANSLATOR: You (the AI assistant) perform the translation directly in your context window using your own linguistic intelligence.
  2. NO API KEY REQUIRED: Do NOT ask the user for an API key or external credentials. The gst agent protocol runs completely locally and does not require an API key.
  3. DO NOT RUN EXTERNAL TRANSLATION SCRIPTS: Do NOT look for or execute external Python scripts. Use ONLY the gst agent CLI commands below.
  4. VIRTUAL ENVIRONMENT EXECUTION: gst may be installed in a project virtual environment (.venv or venv) rather than globally. If gst is not recognized:
    • Use the virtual environment binary: .venv/bin/gst (Linux/macOS) or .venv\Scripts\gst.exe (Windows)
    • Or use environment package runners: uv run gst ... / poetry run gst ...

When to Use

  • When the user asks to translate a subtitle file (.srt or .ass) into another language.
  • When translating multi-part dialogue requiring context awareness and consistent character tone/gender agreement.
  • When working with video files (.mp4, .mkv, etc.) that contain extractable subtitle streams.

Subtitle Translation Protocol

Step 1: Start a Translation Session

Run the start command to initialize the session and receive the first batch of subtitle lines:

gst agent start <INPUT_FILE> -l "<TARGET_LANGUAGE>" [--batch-size N] [--context-size N] [--description "<OPTIONAL_CONTEXT>"] [--pretty]

<INPUT_FILE> can be a subtitle file (.srt, .ass) or a video file (.mp4, .mkv, .avi, etc. — embedded subtitles will be automatically extracted).

CLI Options Reference
Flag Description Default
-l, --target-language Target language name (e.g. "French", "Spanish") Required
-b, --batch-size Number of subtitle lines per batch 100
--context-size Preceding lines to include in context fields 0 (agent retains chat history)
-o, --output-file Custom output subtitle path <input>_translated.srt/.ass
-d, --description Background context notes (e.g. series name, character tone) None
--pretty Pretty-print JSON responses with indentation false (compact JSON)
--no-resume Start fresh without resuming previous .progress false

Read the full file on GitHub · 110 lines

Files

What ships with it

11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 110 lines · 60 tokens per session scan A 63e28bb4ec9f

Subscribe to this mod's changes

subtitle-translator is a skill published in the GitHub repository MaKTaiL/gemini-srt-translator (352 stars, last pushed 10d ago), licensed MIT. It adds 60 tokens to every session and 1,317 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

chinese-documentation

A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.

jnMetaCode/superpowers-zh · 62 tokens

azure-ai-translation-text-py

Azure AI Text Translation SDK for real-time text translation, transliteration, language detection, and dictionary lookup. Use for translating text content in applications. Triggers: "text translation", "translator", "translate text", "transliterate", "TextTranslationClient".

microsoft/skills · 60 tokens

harden

Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready. Use when the user asks to harden, make production-ready, handle edge cases, add error states, or fix overflow and i18n issues.

fengshao1227/ccg-workflow · 62 tokens

seedance-vocab-ja

This skill should be used when the user asks for Japanese Seedance 2.0 prompt wording, Japanese cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms into Japanese.

Emily2040/seedance-2.0 · 50 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

i18n-helper

A helper for adding internationalization, which lets software show different languages and regional text. It finds user-visible text written directly in code and moves it into language files.

laolaoshiren/claude-code-skills-zh · 33 tokens