video-bilingual-subtitle-delivery

video-bilingual-subtitle-delivery is a skill for Claude Code, Codex from davidtoby/agent-skills. It costs 79 tokens per session (3,531 once invoked), scanned A, original, MIT.

A workflow for creating and checking bilingual video subtitles, with English timing and Chinese text joined in the same subtitle entries.

In plain words
What is it for?
Use it to create, repair, audit, and export English-Chinese subtitles as separate subtitle tracks or burned into an MP4 video.
Why use it?
It helps prevent subtitles from belonging to the wrong video cut, drifting out of sync, or missing Chinese lines. It also separates timing fixes from translation and checks the result before export.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create, repair, audit, and export English-Chinese subtitles as separate subtitle tracks or burned into an MP4 video.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davidtoby/agent-skills/video-bilingual-subtitle-delivery
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add davidtoby/agent-skills --skill video-bilingual-subtitle-delivery
Clone the repo
git clone --depth 1 https://github.com/davidtoby/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for video-bilingual-subtitle-delivery

README.md
[![agentmods](https://agentmods.dev/badge/skills/davidtoby/agent-skills/video-bilingual-subtitle-delivery/github.svg)](https://agentmods.dev/skills/davidtoby/agent-skills/video-bilingual-subtitle-delivery)
Your own site
<a href="https://agentmods.dev/skills/davidtoby/agent-skills/video-bilingual-subtitle-delivery"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/video-bilingual-subtitle-delivery/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for video-bilingual-subtitle-delivery

Your own site · 80×15
<a href="https://agentmods.dev/skills/davidtoby/agent-skills/video-bilingual-subtitle-delivery"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/video-bilingual-subtitle-delivery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,531 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.03531
Opus 5 $0.00039 $0.01766
Sonnet 5 $0.00016 $0.00706
Haiku 4.5 $0.00008 $0.00353

Measured 7d ago against content hash 7210895bb93e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

video-bilingual-subtitle-delivery scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/audit_bilingual_srt.py, scripts/build_bilingual_subtitles.py, scripts/hardcode_bilingual_srt.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

r = requests.get(url, params=params, headers=headers, timeout=30)
skills/.archive/umbrella-curation-2026-04-29/user-imports/video-bilingual-subtitle-delivery/SKILL.md · 276 lines

How it starts

The opening of the file, as written. The whole thing — 276 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Video Bilingual Subtitle Delivery

Produce bilingual subtitle deliverables in a strict order: get the right source cut, lock English timing to speech, attach Chinese to the same subtitle event, audit for missing Chinese, then export softsub and hardcode outputs.

Quick start

  1. Verify the source clip duration with ffprobe.
  2. Confirm whether the current subtitle file belongs to this exact cut.
  3. If timing is bad, rebuild English timing first; do not guess with large global offsets.
  4. After timing is good, attach or refine Chinese on the same time axis.
  5. Audit the SRT for English-only blocks with scripts/audit_bilingual_srt.py.
  6. Export softsub first. Export hardcode last.

Local Whisper pipeline

Use the bundled builder when you want a no-OpenAI baseline pipeline:

python scripts/build_bilingual_subtitles.py \
  --video /path/input.mp4 \
  --output-dir /path/output_dir \
  --basename topic_name \
  --whisper-model turbo \
  --translate-backend argos

What this does:

  • extracts mono 16 kHz audio from the source video
  • runs local whisper CLI to create an English timing baseline
  • groups short ASR lines into more readable subtitle events
  • translates with a pluggable backend
  • applies lightweight Chinese polishing by default for machine-translated output
  • writes a bilingual SRT on the same time axis

Current translation backends:

  • manual — no API key required; writes 【待补中文】... placeholders under each English line so timing/editing can continue locally
  • none — English-only output on the grouped time axis
  • argos — fully local offline translation using Argos Translate (en -> zh)

⚠️ Translation backend reliability: prefer raw Google Translate API over deep_translator

Problem: deep_translator's translate_batch() consistently gets rate-limited on large SRTs (800+ texts), timing out or returning empty results after a few batches. Individual translate() calls are also slow (~2-3s per text). The googletrans library may not be installable in the active Python environment.

Read the full file on GitHub · 276 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 276 lines · 79 tokens per session scan A 7210895bb93e

Subscribe to this mod's changes

video-bilingual-subtitle-delivery is a skill published in the GitHub repository davidtoby/agent-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 79 tokens to every session and 3,531 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.