用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cbcruk/vtt-subtitle-translator --skill translate-vtt命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | translate-vtt |
| description | Translate an English VTT subtitle file to Korean |
| disable-model-invocation | true |
| argument-hint | [subtitles/filename.en.vtt] |
Translate the given English VTT subtitle file to Korean using translate-vtt.py.
Run:
python3 translate-vtt.py extract "$ARGUMENTS"
Note the batch count and total unique texts from the output.
Launch one Task agent (subagent_type: general-purpose) per batch file. All tasks MUST be launched in a single message (parallel execution).
For each batch_N.json (N = 0 to batch_count - 1), use this prompt:
Read batch_N.json in the subtitles/ directory (same directory as the VTT file).
It contains English subtitle lines that need Korean translation.
For each entry in the "entries" array:
1. Keep all existing fields (id, text) exactly as-is
2. Add a "translation" field with the Korean translation
Write the result to trans_N.json in the same subtitles/ directory.
Keep all metadata fields (source_file, batch_index, total_batches) unchanged.
Translation rules:
- Natural conversational Korean (YouTube tutorial tone)
- Keep technical terms in English: API, GitHub, CLI, MCP, JSON, npm, git,
TypeScript, JavaScript, React, Node.js, VS Code, Docker, SDK, etc.
- Keep proper nouns in English (people names, product names, company names)
- Numbers and units stay as-is
- Each translation is a single line (no line breaks)
- Translate EVERY entry without exception
- Output valid JSON with Korean characters (not unicode escapes)
Wait for ALL agents to complete before proceeding.
python3 translate-vtt.py reconstruct "$ARGUMENTS"
Check:
.ko.vtt file existskoGenerate a self-contained, searchable side-by-side EN/KO comparison:
python3 translate-vtt.py compare "$ARGUMENTS"
Output: <name>.ko.compare.html next to the VTT files. Report the path to
the user so they can review the translation quality in a browser.
python3 translate-vtt.py cleanup subtitles
Cleanup only removes intermediate JSON files; the .ko.vtt and
.compare.html deliverables are kept.
trans_N.json is incomplete