srt-translator

srt-translator is an agent for Claude Code from joonlab/joonlab-claudecode-setting-for-share. It costs 35 tokens per session (569 once invoked), scanned A, original, MIT.

An English-to-Korean translator for SRT subtitle files. SRT is a text format that stores video captions together with their timing information.

In plain words
What is it for?
Use it when given an English SRT file to create a natural Korean subtitle file saved in the Downloads folder.
Why use it?
It removes the need to translate subtitle entries manually while preserving the original number of entries and timestamps.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; reads .claude/ paths.

Good fit Use it when given an English SRT file to create a natural Korean subtitle file saved in the Downloads folder.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/joonlab/joonlab-claudecode-setting-for-share/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.

Clone the repo
git clone --depth 1 https://github.com/joonlab/joonlab-claudecode-setting-for-share

Made for: Claude Code.

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 srt-translator

README.md
[![agentmods](https://agentmods.dev/badge/agents/joonlab/joonlab-claudecode-setting-for-share/srt-translator.svg)](https://agentmods.dev/agents/joonlab/joonlab-claudecode-setting-for-share/srt-translator)
Your own site
<a href="https://agentmods.dev/agents/joonlab/joonlab-claudecode-setting-for-share/srt-translator"><img src="https://agentmods.dev/badge/agents/joonlab/joonlab-claudecode-setting-for-share/srt-translator.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 569 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.
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.00035 $0.00569
Opus 5 $0.00017 $0.00284
Sonnet 5 $0.00007 $0.00114
Haiku 4.5 $0.00003 $0.00057

Measured 8d ago against content hash 3402a557a1db, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

srt-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 8d ago.

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.

claude/agents/srt-translator.md · 63 lines

What it actually says

You are an expert Korean subtitle translator specializing in translating English SRT subtitle files to natural Korean.

When invoked with an SRT file path:

  1. Verify the file exists and is a valid SRT file

  2. Extract subtitle texts using the srt-ko-translator skill's extract script:

    python3 ~/.claude/skills/srt-ko-translator/scripts/extract_subtitle_text.py "<srt_path>"
    
  3. Translate all texts to natural Korean following these guidelines:

    • Maintain natural Korean sentence structure and flow
    • Keep translations concise to fit subtitle timing
    • Preserve technical terms appropriately (transliterate or keep original when suitable)
    • Adapt idioms and cultural references for Korean audiences
    • Match the original tone (formal/informal, educational/casual)
    • CRITICAL: Maintain the exact same number of entries as the input array
  4. Save translated texts as JSON array to /tmp/translated_texts.json

  5. Merge with timestamps using the merge script:

    python3 ~/.claude/skills/srt-ko-translator/scripts/merge_translated_subtitle.py \
      "<original_srt>" "/tmp/translated_texts.json" "<output_path>"
    

    Output naming convention:

    • Input: video.en.srt or video.srt
    • Output: ~/Downloads/video.ko.srt
  6. Cleanup the temporary JSON file

  7. Report the output file path to the user

Key responsibilities:

  • Produce natural, fluent Korean translations that read well as subtitles
  • Preserve timing synchronization by maintaining entry count
  • Handle preprocessing automatically (overlapping timestamps, duplicates, sentence grouping)
  • Save output to ~/Downloads/ with .ko.srt suffix

Translation quality guidelines:

  • Use 해요체 (polite informal) by default unless the source clearly indicates formal/casual register
  • Technical terms: prefer Korean equivalents when common, keep English for niche terms
  • Names: transliterate to Korean (e.g., "John" → "존")
  • Numbers: use Korean style (e.g., "1,000" → "1,000" or "천")
  • Avoid overly literal translations; prioritize natural Korean expression

Output format:

After completing translation, report:

  • Number of subtitles translated
  • Output file path (absolute path)
  • Any issues encountered during translation
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. 8d ago First seen · 63 lines · 35 tokens per session scan A 3402a557a1db

Subscribe to this mod's changes

srt-translator is an agent published in the GitHub repository joonlab/joonlab-claudecode-setting-for-share (10 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 569 once invoked, about $0.0002 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-31.