Generates production subtitle artifacts (SRT/VTT) from final audio using Volcengine Doubao ASR word timestamps. Includes quality gate and phrase segmentation for accurate timing.
Ships in novel-distill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use the final audio stream as the only timing source. Never estimate final subtitle timing from character count, scene duration, TTS segment duration, or fixed delays.
scripts/generate_subtitles.py against the final media and the exact
narration script.比如说,
但是, and 只是 with the phrase they introduce.captions.json; export captions.srt for Bilibili,
YouTube, editing software, and archive.caption-qc.json to report status: pass before final render or
delivery. The gate includes alignment, overlap, fragments, connector splits,
caption duration, and reading speed.Project with narration_segments.json:
python3 .claude/skills/ra-audio-to-subtitles/scripts/generate_subtitles.py \
<project>/media/final-voiceover.mp3 \
--script <project>/narration_segments.json \
--out-dir <project>/media/captions
Recorded or merged video with a Markdown handoff containing - 口播: lines:
python3 .claude/skills/ra-audio-to-subtitles/scripts/generate_subtitles.py \
<project>/merged.mp4 \
--script <project>/handoff.md \
--out-dir <project>/media/captions
Health check:
python3 .claude/skills/ra-audio-to-subtitles/scripts/generate_subtitles.py --doctor
Offline regression test with an existing Volcengine response:
python3 .claude/skills/ra-audio-to-subtitles/scripts/generate_subtitles.py \
<audio> --script <script> --asr-result <volcengine-result.json> \
--out-dir <output>
The output directory must contain:
asr-result.json: raw Volcengine responsecaptions_words.json: word/character timestamps and detected gapscaptions.json: phrase captions consumed by HyperFrames or Remotioncaptions.srt and captions.vtt: portable subtitle filescaption-qc.json: alignment coverage and timing validationRead references/artifact-contract.md before integrating another renderer or delivery checker.
Claude Max; never
split an ASCII product/model token across captions.VOLCENGINE_API_KEY comes from the workspace root .env or the environment.
Never print or copy it into an artifact.volc.seedasr.auc; override only with
VOLCENGINE_RESOURCE_ID when the account uses a different enabled resource.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
subtitles, asr, caption-generation, srt, vtt, subtitle-timing
/pluviobyte-rn-bw-text-opener:ra-audio-to-subtitlesfrom novel-distill
Claude Code refuses to install this plugin
Claude Code refuses to add this marketplace: owner: Invalid input: expected object, received string
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
63 skills in this plugin
/AI剪口播口播视频转录和口误识别。生成审查稿和删除任务清单。触发词:剪口播、处理视频、识别口误/avatar-keyframe-video将法天象地、同源巨大法相或角色力量显现的视觉参考制作成连续关键帧,再使用用户选择或可用的图生视频工具分段生成、检查和合成动作视频,不绑定成片平台。适用于本体与法相同框、领域展开、凝实与同步出招;不负责整部小说改编或普通图片轮播。/dbsdontbesilent 商业工具箱主入口。双模式:任务前路由(你的问题该用哪个 skill)+ 任务后导航(刚做完诊断,下一步该干什么)。
触发方式:/dbs、/商业、「帮我看看」、「下一步怎么走」
Main entry point for dontbesilent business toolkit. Dual mode: pre-task routing + post-task navigation.
Trigger: /dbs, "help me with my business", "what's next"
/dbs-actiondontbesilent 执行力诊断。用阿德勒心理学框架诊断你「知道该做什么但就是不做」的真正原因。
触发方式:/dbs-action、/action、「我知道该怎么做但就是不做」「为什么我总是拖延」
Execution block diagnosis using Adlerian psychology framework.
Trigger: /dbs-action, "I know what to do but can't do it", "why do I procrastinate"
Other plugins' skills for the same job