subtitle-translate SKILL.md skillA
subtitle-translate from zju-real/easel is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add zju-real/easel/subtitle-translate@git:20261012.0d53744Pins git:20261012.0d53744 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- zju-real/easel
- Path
skills/builtin/subtitle-translate/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261012.0d53744, committed Oct 12, 2026
- Size
- 5,023 bytes
- Repository stars
- 4,469
- License
- Apache-2.0
字幕翻译 / 双语字幕:把已有字幕(SRT/VTT/ASS)翻译成目标语言,生成双语(原文+译文)或纯译文字幕,并可软挂载 / 硬烧录进视频。当用户说 字幕翻译、翻译字幕、双语字幕、中英字幕、给视频加翻译、SRT 翻译、字幕本地化、把字幕翻成中文/英文、字幕转双语 时使用。翻译由 LLM 完成,时间轴/格式/烧录由 shared/scripts/subtitle_ops.py 确定性处理。与 auto-subtitle 区别:auto-subtitle 是语音识别生成字幕,本 SKILL 是把已有字幕翻译成双语。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 字幕翻译 / 双语字幕 > 把已有字幕翻译成目标语言,产出**双语**(原文+译文)或**纯译文**字幕,可选烧录进视频。 > 翻译交给 LLM(你自己),确定性部分(解析/合并/格式/时间轴/烧录)全交给 > `skills/shared/scripts/subtitle_ops.py`。**不要手拼 ffmpeg,也不要手改时间轴。** > 只做"已有字幕 → 翻译/双语/烧录"。语音识别生成字幕见 **auto-subtitle**; > 通用视频剪辑见 **video-editing**。 ## 输入 | 字段 | 必填 | 说明 | |------|------|------| | 字幕文件 | 是 | `.srt` / `.vtt` / `.ass` 路径(没给就问) | | 目标语言 | 是 | 译成什么语言(如中文 / English / 日本語) | | 输出形态 | 否 | `双语`(默认)/ `纯译文` | | 原译顺序 | 否 | 双语时原文在上(默认)或译文在上 | | 视频文件 | 否 | 给了则可烧录;软挂载(可开关)或硬烧录(烧进画面) | ## 输出(`outputs/主题名/`) - 双语 / 纯译文字幕文件(`.srt` 或 `.ass`) - 若烧录:带字幕的视频(`*-sub.mp4`) - 报告:条数、目标语言、形态、输出路径 ## 执行步骤 脚本路径(相对项目根):`skills/shared/scripts/subtitle_ops.py`(每个子命令支持 `-h`)。 ### 1. 提取待译文本 ```bash python skills/shared/scripts/subtitle_ops.py extract -i <字幕> -o /tmp/st_lines.txt ``` 每条字幕一行、行号与顺序固定。**记住总行数 N。** ### 2. 逐行翻译(你来做) 读 `/tmp/st_lines.txt`,逐行翻译成目标语言,写入 `/tmp/st_trans.txt`: - **行数必须严格等于 N,顺序一一对应,不增删空行、不合并、不拆行**(脚本会校验,不一致直接报错)。 - 一行内如原文有多句,整合成一行译文,不要拆成多行。 - 语气/术语按内容领域走;口语内容译得自然口语,书面内容译得书面。 - 空行原文对应空行译文(保持占位)。 ### 3. 合并成双语 / 纯译文字幕 ```bash # 双语 SRT(原文在上,译文在下) python skills/shared/scripts/subtitle_ops.py merge -i <字幕> --trans /tmp/st_trans.txt \ -o outputs/主题名/<名>-bilingual.srt …
Read the whole file at its exact version.
How to install
mdr add zju-real/easel/subtitle-translate@sha256:9e19d8a44da30a85The line at the top of this page pins the label git:20261012.0d53744, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_lvbju3wy3fcbfluu)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 12, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5023 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
zju-real/easel · 4,469 stars · license Apache-2.0 · pushed 2026-11-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_lvbju3wy3fcbfluu GET https://markdownregistry.com/api/v1/resolve?ref=zju-real/easel/subtitle-translate GET https://markdownregistry.com/api/v1/blob/9e19d8a44da30a858afde13e72109d7b1701f9ddf52b8727ed9711d148bac542
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.