Skip to main content

universal-subtitle-translator

Translate subtitle (.srt) files between any languages using high-speed chunk-bundling and deep-translator. Trigger this skill whenever the user asks to translate subtitle files, .srt files, or video captions to any language — whether it's English to Spanish, Japanese to French, Arabic to Portuguese, or any other combination. Use this skill even if the user just says "translate my subtitles" or "convert these captions."

v1.0.01 install
0

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiCryptographically signed by the skills-hub.ai distributor key at publish time.
Signed

Install this skill

Run this command in your terminal. No account required — it auto-detects your AI tool and installs the skill file.

npx @skills-hub-ai/cli install universal-subtitle-translator
Or download directly:
Browse all CLI commands →

Setup by platform

Claude Code

~/.claude/skills/<skill>/SKILL.md

Setup guide →

Gemini CLI

GEMINI.md (project-level) or ~/.gemini/skills/<skill>/SKILL.md

Setup guide →

Cline

~/.cline/skills/<skill>/SKILL.md, or add to .clinerules in your project

Setup guide →

Roo Code

~/.roo/skills/<skill>/SKILL.md, or add to .roorules in your project

Setup guide →

Codex CLI

~/.codex/skills/<skill>/SKILL.md, or reference via codex.md instructions file

Setup guide →

Install

One-click setup for your editor

Run in your project root

npx @skills-hub-ai/cli install universal-subtitle-translator --target claude-code

Examples

Prompt

Translate my .srt subtitles from English to Spanish for the movie I just downloaded.

Output

Sure! I'll run the subtitle translation from English to Spanish using the `scripts/translate.py` script. Please provide the path to your input file, e.g., `movie_en.srt`, and specify the output filename, such as `movie_es.srt`. If you have any proper nouns or technical terms, consider creating a glossary.json to ensure accurate translation. Once I have these details, I'll process the translation and return the translated subtitle file.

Prompt

Can you convert these captions from Japanese to French? The file is captions_jp.srt.

Output

Absolutely! I'll execute the translation from Japanese to French on `captions_jp.srt`. If there are specific names or terms to preserve, please prepare a glossary.json and share its path. I'll run the `scripts/translate.py` with the appropriate parameters, handle chunking for speed, and provide you with the translated `captions_fr.srt` file once complete. Remember to review the output for accuracy after translation.

Instructions

This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Frequently asked questions about universal-subtitle-translator

What does the universal-subtitle-translator skill do?

Translate subtitle (.srt) files between any languages using high-speed chunk-bundling and deep-translator. Trigger this skill whenever the user asks to translate subtitle files, .srt files, or video captions to any language — whether it's English to Spanish, Japanese to French, Arabic to Portuguese, or any other combination. Use this skill even if the user just says "translate my subtitles" or "convert these captions." It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the universal-subtitle-translator skill?

Run `npx @skills-hub-ai/cli install universal-subtitle-translator` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/universal-subtitle-translator/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does universal-subtitle-translator work with?

universal-subtitle-translator runs in Claude Code, OpenCode, Gemini CLI, Cline, Roo Code, Codex CLI. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the universal-subtitle-translator skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use universal-subtitle-translator after installing it?

In Claude Code, type `/universal-subtitle-translator` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the universal-subtitle-translator skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

universal-subtitle-translator, AI Coding Skill for Claude Code, OpenCode, Gemini CLI, Cline, Roo Code, Codex CLI, skills-hub.ai