Caption translation

From XSpoonAi/spoon-awesome-skill · View interactive version

Caption translation is an AI agent skill from the GitHub repository XSpoonAi/spoon-awesome-skill. Context-aware caption translation skill for SRT/VTT/ASS with bilingual output and optional Gemini CLI fallback.

How to use this skill

Skill file

OmniCaptions Translate Skill

Source attribution: This submission is from ETHPanda.

Chinese attribution: this skill is from ETHPanda (来自 ETHPanda).

Quick Start

# Claude native workflow (no API key required)
# 1) Read subtitle file
# 2) Translate with context
# 3) Save as *_Claude_<lang>.srt

# Gemini CLI workflow (optional)
omnicaptions translate input.srt -l zh --bilingual

Scripts

No scripts are required for the default workflow.

Environment Variables

| Variable | Required | Description |

|----------|----------|-------------|

| GEMINI_API_KEY | No | Optional key for Gemini CLI translation path |

Best Practices

  1. Prefer context-aware chunk translation over strict line-by-line translation.
  2. Use bilingual output for QA and learning use cases.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.