video-translator

video-translator is a skill for Claude Code from shang-zhu/violin. It costs 0 tokens per session (1,074 once invoked), scanned C, original, MIT.

A command-line tool for translating a video into another language, adding a new spoken voice track, and creating subtitles. It supports MP4, MKV, and WebM files.

In plain words
What is it for?
Use it to dub individual videos, create translated subtitles, or run translation jobs through its command-line tool or server.
Why use it?
It removes the need to translate speech, generate voice-over audio, and prepare subtitles as separate tasks. It uses Together for translation and Cartesia for speech generation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to dub individual videos, create translated subtitles, or run translation jobs through its command-line tool or server.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shang-zhu/violin/video-translator
About the project

Violin is an open-source video translation tool that transcribes speech, translates it, creates a voice-over in another language, and puts the translated audio back into the video, with optional subtitles. People use it through a CLI, web application, or Claude Code skill to produce dubbed videos and ask questions about their contents. The catalogue contains its video-translation skill.

shang-zhu/violin · 1,058 stars · on GitHub · violin-ai.com

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 shang-zhu/violin --skill video-translator
Clone the repo
git clone --depth 1 https://github.com/shang-zhu/violin

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/shang-zhu/violin/video-translator/github.svg)](https://agentmods.dev/skills/shang-zhu/violin/video-translator)
Your own site
<a href="https://agentmods.dev/skills/shang-zhu/violin/video-translator"><img src="https://agentmods.dev/badge/skills/shang-zhu/violin/video-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 video-translator

Your own site · 80×15
<a href="https://agentmods.dev/skills/shang-zhu/violin/video-translator"><img src="https://agentmods.dev/badge/skills/shang-zhu/violin/video-translator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,074 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Data Exfiltration · line 18
    Code enumerates, copies, or searches environment variables for secrets. Bulk environment access can collect credentials unrelated to the skill's stated purpose.
    Fix: Read only explicitly required environment variables by name. Avoid enumerating or copying the full environment, and never log or transmit credentials to untrusted destinations.
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.00000 $0.01074
Opus 5 $0.00000 $0.00537
Sonnet 5 $0.00000 $0.00215
Haiku 4.5 $0.00000 $0.00107

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

Security

Grade C, and why

video-translator scanned grade C with 1 finding 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 13d 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.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

printenv TOGETHER_API_KEY # 3. Key available
.claude/skills/video-translator/SKILL.md · 68 lines

How it starts

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

Violin — operating skill

Always uses the default config (Together for translation, cartesia/sonic-3 for TTS). If the user asks for OpenAI, ElevenLabs, or custom configs, stop and point them to the Violin repo — those flows aren't supported through the global CLI.

Pre-flight

Run these silently first. Abort if any fails:

command -v violin                 # 1. CLI on PATH
test -f "<input>"                 # 2. Input exists
printenv TOGETHER_API_KEY         # 3. Key available

If violin is missing: tell the user to uv tool install violin, then violin --install-skill to refresh this skill file. Do not auto-install.

If TOGETHER_API_KEY is missing:

  • Inside the Violin repo → populate .env (auto-loaded)
  • Elsewhere → export TOGETHER_API_KEY=... in ~/.zshrc / ~/.bashrc, then source it

Decisions

  • CLI vs API: single run-and-wait file → CLI (violin). Multi-job / HTTP / web UI → API server (violin-api); print the command, don't auto-start it.
  • Style (--style): default standard. Kids content → kids, formal/lecture → academic, casual → casual, dramatic → storyteller, news → news. Run violin --style list if unsure.
  • Voiceover: keep default (mix dubbed audio over a quiet original). Use --no-voiceover only when the user explicitly says "replace audio entirely".

Run

violin <input> <output> --language <Lang> [flags]

Flags

Flag Default When to set
--language / -l required Target language (e.g. Chinese, Spanish, Japanese).
--voice / -v auto (native voice picked by preferences.voice_gender) Only when the user names a specific voice from the catalog (e.g. "warm female narrator"). Otherwise omit and let the default kick in.
--source-language auto-detect Only if Whisper mis-detects the source language.
--style / -s standard See Decisions above.
--no-subtitles off User says "no SRT" / "video only".
--no-voiceover off User says "replace original audio entirely".
--config / -c config/default.yaml Don't use through this skill — repo-only flow.
--timings-out off Only when the user wants a per-step timing JSON for debugging / benchmarking.

Read the full file on GitHub · 68 lines

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. 13d ago First seen · 68 lines · 0 tokens per session scan C 8ddd683c9455

Subscribe to this mod's changes

video-translator is a skill published in the GitHub repository shang-zhu/violin (1,058 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,074 tokens. A static security scan graded it C with 1 finding (harvests environment variables). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.