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 xyva-yuangui/XyvaClaw --skill video-subtitlesgit clone --depth 1 https://github.com/xyva-yuangui/XyvaClawWrote 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/xyva-yuangui/xyvaclaw/video-subtitles)<a href="https://agentmods.dev/skills/xyva-yuangui/xyvaclaw/video-subtitles"><img src="https://agentmods.dev/badge/skills/xyva-yuangui/xyvaclaw/video-subtitles/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/xyva-yuangui/xyvaclaw/video-subtitles"><img src="https://agentmods.dev/badge/skills/xyva-yuangui/xyvaclaw/video-subtitles.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.00058 | $0.00868 |
| Opus 5.5 | $0.00023 | $0.00347 |
| Sonnet 5.5 | $0.00012 | $0.00174 |
| Haiku 4.5 | $0.00006 | $0.00087 |
Grade A, and why
video-subtitles 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 1mo 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 — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Video Subtitles
字幕生成助手。触发后必须先询问用户确认,再执行生成。
| 触发场景 | 询问确认内容 |
|---|---|
| 字幕生成 | 确认视频路径、源语言、字幕格式 (SRT/内嵌) |
| 语音转录 | 确认音频/视频路径、输出格式 (文字/SRT) |
| 字幕翻译 | 确认源语言、目标语言、是否烧录 |
| 字幕烧录 | 确认视频路径、字幕文件、输出质量 |
执行流程: 触发 → 询问用户 → 用户确认 → 执行生成 → 返回文件路径
Full docs: read SKILL-REFERENCE.md
Generate movie-style subtitles from video or audio files. Supports transcription, translation, and burning subtitles directly into video.
Features
- Chinese (中文): FunASR (Alibaba, recommended) or Whisper large-v3
- English: OpenAI Whisper large-v3
- Hebrew: ivrit.ai fine-tuned model
- Auto-detect: Automatically detects language and selects best model
- Translation: Translate between zh/en/he
- Burn-in: Hardcode subtitles into video (visible everywhere, including WhatsApp)
- Movie-style: Natural subtitle breaks (42 chars/line, 1-7s duration)
Quick Start
# Plain transcript
./scripts/generate_srt.py video.mp4
# Generate SRT file
./scripts/generate_srt.py video.mp4 --srt
# Burn subtitles into video (always visible)
./scripts/generate_srt.py video.mp4 --srt --burn
# Translate to English + burn in
./scripts/generate_srt.py video.mp4 --srt --burn --translate en
# Force language
./scripts/generate_srt.py video.mp4 --lang zh # Chinese (default)
./scripts/generate_srt.py video.mp4 --lang en # English
./scripts/generate_srt.py video.mp4 --lang he # Hebrew
Options
| Flag | Description |
|---|---|
--srt |
Generate SRT subtitle file |
--burn |
Burn subtitles into video (hardcoded, always visible) |
--embed |
Embed soft subtitles (toggle in player) |
--translate en |
Translate to English |
--lang zh/en/he |
Force input language (default: zh) |
-o FILE |
Custom output path |
Output
- Default: Plain text transcript to stdout
- With
--srt: Createsvideo.srtalongside input - With
--burn: Createsvideo_subtitled.mp4with hardcoded subs
Requirements
- uv: Python package manager (auto-installs dependencies)
- ffmpeg-full: For burning subtitles (
brew install ffmpeg-full) - Models: ~3GB each, auto-downloaded on first use
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 93 lines · 58 tokens per session scan A c733e5867d55
video-subtitles is a skill published in the GitHub repository xyva-yuangui/XyvaClaw (21 stars, last pushed 2mo ago), licensed MIT. It adds 58 tokens to every session and 868 once invoked, about $0.0002 per session on Opus 5.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-30.
Other skills, from other repositories
china-translate
A Chinese-English translation and localisation guide for technical text and product interfaces. Localisation means adapting wording and cultural references so they sound natural to users in the target language.
translator
Translate text between 100+ languages with automatic source detection. Use when: the user asks to translate text, detect a language, or work with multilingual content. NOT for: translating code/documentation in bulk, summarization, or rewriting text in the same language.
seedance-vocab-zh
Look up 550+ Chinese cinematic, photography, and production terms with English equivalents and prompt-ready phrases for Seedance 2.0 across 22 categories, including filter-safe vocabulary for action, weapons, and combat. Use when writing prompts in Mandarin, translating a production concept into Chinese Seedance…
chinese-documentation
A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.
develop-web-game
Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with rendergametotext.
imap-smtp-email
Read and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Works with any IMAP/SMTP server including Gmail, Outlook, 163.com, vip.163.com, 126.com, vip.126.com, 188.com, and vip.188.com.