Subtitle Refine
Precise, mechanical Chinese-subtitle cleanup and validation skill that keeps timing synced to the original audio.
- CCM score
- 52 of 100
- skills.sh installs
- 329
- GitHub stars
- 839
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full ASR subtitle cleanup flow: fixing recognition errors, removing filler words, adding pause spaces, and splitting overlong lines
- Enforces a 14-character limit per subtitle, with split pieces kept inside the original time span and no overlaps
- Runs
scripts/check_clean_srt.pyagainst the raw and clean SRT files, with an allowlist for intentional deletions and an optional Latin-word counting mode - Designed for documentaries, interviews, talking-head videos, and screen recordings that need publish-ready subtitles without rewriting the speech
Install
$ npx -y skills add wdkns/wdkns-skills --skill subtitle-refine -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
字幕精修
任务目标
把用户提供的原始 srt 清洗成一份可交付的完整 clean.srt。
- 不要覆盖原始字幕文件。
- 只做字幕级纠错,不做润色、总结或扩写。
- 最终校验:直接对原始
srt和完整clean.srt运行scripts/check_clean_srt.py。
原始要求
文本清洗要求
- 修正识别错误,包括正确的“的地得”、合理的“他她它”。
- 删除“嗯、啊、呃、哈”之类的无意义语气词;清洗后的字幕不要带标点。
- 子句间需要有必要的空格停顿。
例:
来那你就先开始->来 那你就先开始例:你是第二个是吧->你是第二个 是吧 - 删除明显重复字眼,不要书面化改写,不要总结,不要扩写,只做字幕级清洗和纠错。
- 每条字幕最长不超过 14 字(英文单词默认视为一个字),单条字幕内不要换行。
- 如果原字幕超过 14 字,要做准确断句拆分。
例:
还得谢谢各位母亲对家里的付出->还得谢谢各位母亲+对家里的付出 - 不得因文本纠错、删语气词、删重复字眼或拆分字幕,造成后续字幕整体提前或滞后。所有调整都应限于当前字幕条目及其局部范围内。
时间轴要求
- 处理后字幕必须与原音频严格同步,不得出现全局时间漂移。
- 若仅进行字幕级清洗与纠错,且未改变原句语义边界,则默认保持该条原始起止时间不变。
- 若因断句或单条超过 14 字而拆分,则拆分后的所有子条目必须完全落在原字幕时间范围内;各子条目之间不得重叠,优先首尾衔接,总覆盖时长必须与原条目一致。
- 拆分后的时间分配应优先依据语义停顿和说话节奏;无法精确判断时,再按各子句有效字符数比例分配,不得机械平均切分。
- 删除句中语气词或明显重复字眼时,通常不调整原条目起止时间;若某条本身只是独立且无意义的语气词,则可直接删除,但不得无依据拉伸前后字幕覆盖。
- 每条字幕应尽量贴合语音片段,不得明显早挂或滞留;如需微调,单条字幕起止时间相对语音边界的偏差应尽量控制在 ±100 到 150 毫秒内。
- 拆分和删改后仍须保证可读性,避免过短闪现、明显漏挂、无意义空窗或破坏自然语义边界的切分。
额外要求
- 不要误删有意义的字幕条目。
- 时间轴必须 double check。
- 如果字幕文件过长,只有在用户明确要求并行或允许并行子代理时才并行;即便并行,也只把并行当作编辑辅助,主代理最后仍需直接整理出一份完整的
clean.srt。 - 脚本不应假设字幕一定发生了拆分;无拆分和有拆分都必须兼容。
工作原则
Details
- Repository
- github.com/wdkns/wdkns-skills
- Categories
- Video & Audio Editing, Writing & Content
- First seen
- Jun 3, 2026
Questions
What does the subtitle-refine skill do?
subtitle-refine cleans and proofreads raw Chinese SRT subtitles produced by ASR into a release-ready version. It fixes recognition errors, removes filler words, adds pause spaces and limits each subtitle to 14 characters, without rewriting or summarizing the speech.
Who is subtitle-refine for?
subtitle-refine is aimed at documentary, interview, spoken-word and screen-recording subtitle work where recognition errors and filler words need fixing. It keeps subtitles in sync with the original audio and never overwrites the source subtitle file.
How do I install subtitle-refine?
Run npx -y skills add wdkns/wdkns-skills --skill subtitle-refine -y in your project to install it. After that, the agent can produce a complete clean.srt and check it against the original SRT with its bundled check_clean_srt.py script.
Where does subtitle-refine sit in its category?
subtitle-refine is listed under Video & Audio Editing on Claude Marketplaces, alongside hyperframes-cli, hyperframes, hyperframes-audio, remotion-captions and reverse-any-video. Its focus is narrow: Chinese SRT line-level correction and timing checks rather than video rendering.
More from wdkns/wdkns-skills
All 3Similar to Subtitle Refine
More Video & Audio Editingsubtitle-correctionsugarforever/01coder-agent-skills550 installsCorrects speech recognition errors in .srt subtitles for technical content while leaving every timestamp untouched.
videocut-subtitlezrt-ai-lab/opencode-skills539 installsSubtitle generation and burn-in workflow that transcribes with Whisper, corrects terms, and renders SRT and video.
cut-videolouisedesadeleer/cut-video140 installsTightens long recordings by aligning transcript words to audio and cutting silences, fillers, and retakes automatically.
subtitle-generationeachlabs/skills839 installsGenerate subtitles, captions, and translations for videos using each::sense with SRT, VTT, and burned-in output.