Subtitle Optimizer 是一个 Agent skill,用来在保留 SRT 序号和时间戳的前提下优化字幕文本。它会生成候选修正版和可视化 HTML 审查台,让你逐条接受、拒绝或手动修正。
FAQ
subtitle-optimizer is a Claude Code plugin with 1 hand-picked skill for content work, indexed on Flowy. Install it with the command on its page. It includes subtitle-optimizer. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
$ npx -y skills add Rancho-7/subtitle-optimizer --agent claude-code
Repo: Rancho-7/subtitle-optimizer
Subtitle Optimizer 是一个 Agent skill,用来在保留 SRT 序号和时间戳的前提下优化字幕文本。它会生成候选修正版和可视化 HTML 审查台,让你逐条接受、拒绝或手动修正。
assets/corrections.json,可自动处理常见产品名、命令名和 ASR 错词。{文件名}_fixed.srt。npx skills add rancho-7/subtitle-optimizer
mkdir -p ~/.claude/skills
git clone https://github.com/rancho-7/subtitle-optimizer.git ~/.claude/skills/subtitle-optimizer
给你的Agent发送以下内容:
安装这个 skill:https://github.com/rancho-7/subtitle-optimizer
装好之后,在 Agent 里引用 SRT 文件并说明要优化字幕:
优化一下这个视频字幕 @video.srt
assets/corrections.json,先识别词汇表能确定的修正。{文件名}_candidate.srt 和 {文件名}_diff_preview.html。候选文件保留原始序号和时间戳,只修改字幕文本。{文件名}_fixed.srt。处理完成后,原始字幕同目录通常会出现:
{文件名}_candidate.srt:候选修正版,用于审查,不是最终文件。{文件名}_diff_preview.html:可视化审查台,用浏览器打开。{文件名}_fixed.srt:你在审查台中点击导出后得到的最终字幕。审查台里的“追加词汇规则”不会直接修改 assets/corrections.json。如果你在页面中添加了可复用规则,可以在页面中导出 new_corrections.json,然后把它交给 Agent:
请把这个 new_corrections.json 合并到 subtitle-optimizer 的词汇规则里
Agent 会把新增规则合并进 assets/corrections.json。合并后的规则会在下次处理字幕时继续使用。
assets/ corrections.json diff_preview_template.html LICENSE package.json README.md scripts/ generate_diff.js SKILL.md
© 2026 Flowy · Free and open source
Built for Claude Code · Not affiliated with Anthropic