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.
npx skills add davidtoby/agent-skills --skill precise-bilingual-subtitlegit clone --depth 1 https://github.com/davidtoby/agent-skillsWrote 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.
[](https://agentmods.dev/skills/davidtoby/agent-skills/precise-bilingual-subtitle)<a href="https://agentmods.dev/skills/davidtoby/agent-skills/precise-bilingual-subtitle"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/precise-bilingual-subtitle/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.
<a href="https://agentmods.dev/skills/davidtoby/agent-skills/precise-bilingual-subtitle"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/precise-bilingual-subtitle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00083 | $0.02343 |
| Opus 5 | $0.00042 | $0.01171 |
| Sonnet 5 | $0.00017 | $0.00469 |
| Haiku 4.5 | $0.00008 | $0.00234 |
Grade A, and why
precise-bilingual-subtitle scanned grade A with 0 findings 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 8d ago.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 226 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Precise Bilingual Subtitle Production
Produce hardcoded bilingual (English + Chinese) video subtitles with Whisper word-level timing, not YouTube's unreliable auto-captions. Supports full visual customization: font, size, color, stroke, and bottom margin.
When to use this skill
- YouTube auto-captions have visible timing drift (the most common failure)
- User wants yellow, large, or otherwise custom-colored subtitles
- Subtitle timing must be frame-accurate and match lip movements
- Chinese YouTube subtitles hit HTTP 429 and cannot be downloaded
- User wants English-on-top / Chinese-on-bottom bilingual layout
Core insight: why YouTube auto-captions fail
YouTube auto-generated captions are aligned to the entire video stream at once, not word-by-word. Result: systematic offset, drift over time, and poor sync with speech. Local Whisper transcribes with per-word timestamps from the extracted audio, producing timing that is reliable enough for professional delivery.
Proven workflow
Phase 1: Extract audio and transcribe with Whisper
# 1. Extract mono 16kHz audio from the source video
ffmpeg -y -i source.mp4 -vn -ac 1 -ar 16000 audio.wav
# 2. Run Whisper with word-level timing (turbo model, ~30s for 5-min clip)
whisper audio.wav --model turbo --language en --task transcribe \
--output_format srt --output_dir .
Whisper's SRT output has per-word-level timestamps — each entry is 1-3 words with precise start/end times. This is the foundation of accurate subtitle sync.
Phase 2: Group raw fragments into readable subtitle chunks
Raw Whisper output has hundreds of tiny fragments. Group them into readable subtitle blocks:
import re
def group_whisper_srt(srt_path, min_words=12):
"""Group raw Whisper fragments into readable subtitle chunks."""
# Parse SRT...
grouped = []
buf, start, end = [], None, None
for item in raw_items:
if start is None:
start = item['start']
end = item['end']
buf.append(item['text'])
wc = len(' '.join(buf).split())
# Group by word count OR sentence-ending punctuation
if wc >= min_words or item['text'].strip().endswith(('.', '?', '!', ':', '."')):
merged = ' '.join(buf)
merged = re.sub(r'\s+([,.;?!])', r'\1', merged)
grouped.append({'start': start, 'end': end, 'en': merged})
buf, start, end = [], None, None
# Don't forget remaining
if buf:
grouped.append({'start': start, 'end': end, 'en': ' '.join(buf)})
return grouped
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.
- 8d ago First seen · 226 lines · 83 tokens per session scan A caf29038ebb6
precise-bilingual-subtitle is a skill published in the GitHub repository davidtoby/agent-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 83 tokens to every session and 2,343 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
officecli-pitch-deck
Use this skill when the user is building a fundraising / investor pitch deck — seed, Series A / B / C, convertible note, SAFE round, strategic raise. Trigger on: 'pitch deck', 'investor deck', 'Series A deck', 'Series B deck', 'Series C deck', 'fundraising deck', 'seed pitch', 'VC deck', 'raising capital', 'term sheet…
morph-ppt
Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style continuous motion, shapes that grow / move / rotate as the slide advances. Trigger on: 'morph', 'morph transition', 'smooth transition', 'continuous animation across slides', 'Keynote-style…
morph-ppt-3d
3D Morph PPT — extends morph-ppt with GLB model insertion, cinematographic camera, model-content layout, and enriched visual design system.
iflytek-video-translate
A tool that translates a video’s speech into another language and creates dubbed audio. Video localization means adapting video content for viewers who speak a different language.
subtitle-craft
Create, translate, repair, and burn subtitles through the Subtitle Craft plugin.
draw
Draw - command-line tool for everyday use.