Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/DidierRLopes/get-y2b-clipsnpx agentmods add skills/didierrlopes/get-y2b-clips/add-subtitlesWrote 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/didierrlopes/get-y2b-clips/add-subtitles)<a href="https://agentmods.dev/skills/didierrlopes/get-y2b-clips/add-subtitles"><img src="https://agentmods.dev/badge/skills/didierrlopes/get-y2b-clips/add-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/didierrlopes/get-y2b-clips/add-subtitles"><img src="https://agentmods.dev/badge/skills/didierrlopes/get-y2b-clips/add-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.00060 | $0.01695 |
| Opus 5 | $0.00030 | $0.00847 |
| Sonnet 5 | $0.00012 | $0.00339 |
| Haiku 4.5 | $0.00006 | $0.00169 |
Grade B, and why
add-subtitles scanned grade B 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 10d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo apt update && sudo apt install -y ffmpeg How it starts
The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add Subtitles to a Video
Take a video the user uploads (or a path to a local file) and produce a new video with styled, burned-in subtitles — ready for social media. Audio is transcribed automatically with Whisper, so no transcript or YouTube source is required.
This skill reuses burn_subtitles.py from the get-y2b-clips skill, but is scoped
to the single task of subtitling an already-provided video file.
When to Use This Skill
Activate when the user:
- Uploads or references a local video file and asks to "add subtitles" / "add captions"
- Wants a subtitled / captioned version of an existing clip for social media
- Has a video (not a YouTube URL) and wants burned-in text
If the user provides a YouTube URL and wants clips extracted, use get-y2b-clips
instead. This skill is for a video the user already has.
Dependencies Check
ALWAYS check dependencies first:
# ffmpeg is required to burn subtitles
command -v ffmpeg || echo "MISSING: ffmpeg"
# stable-ts (Whisper) is required to transcribe the audio
python3 -c "import stable_whisper" 2>/dev/null && echo "stable-ts OK" || echo "MISSING: stable-ts"
Install Missing Dependencies
ffmpeg:
# macOS
brew install ffmpeg
# Linux
sudo apt update && sudo apt install -y ffmpeg
stable-ts (Whisper):
pip3 install stable-ts
Input Requirements
- Required: Path to a local video file (e.g.
./videos/my-clip.mp4) - Optional (ask only if relevant):
- Font size (default: 24)
- Whisper model size —
tiny/base/small/medium/large(default:base). Suggestsmallormediumfor higher accuracy on longer or harder audio. - Output path (default: same folder,
<name> Subtitled.mp4) - Whether to keep the generated
.srtfile (default: no)
Locating the uploaded video
If the user uploaded a file but didn't give a path, look for it:
# Common locations for an uploaded/provided video
ls -la ./videos/ 2>/dev/null
find . -maxdepth 3 -type f \( -iname "*.mp4" -o -iname "*.mov" -o -iname "*.mkv" -o -iname "*.webm" \) -mmin -120 2>/dev/null
What ships with it
2 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.
- 10d ago First seen · 189 lines · 60 tokens per session scan B fa11806fc476
add-subtitles is a skill published in the GitHub repository DidierRLopes/get-y2b-clips (6 stars, last pushed 2mo ago), licensed MIT. It adds 60 tokens to every session and 1,695 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
asset-spec
Generate per-asset visual specifications and AI generation prompts from GDDs, level docs, or character profiles. Produces structured spec files and updates the master asset manifest. Run after art bible and GDD/level design are approved, before production begins.
team-audio
Orchestrate audio team: audio-director + sound-designer + technical-artist + gameplay-programmer for full audio pipeline from direction to implementation.
uw-game-feel-integrator
Inject juice and game feel into gameplay code using the project's chosen middleware. Use when adding screen shake, tweens, particles, audio feedback, haptics, hitstop, or any form of "juice" to gameplay events. Triggers on requests like "add juice", "make this feel better", "add screen shake", "polish this feature"…
team-narrative
Orchestrate the narrative team: coordinates narrative-director, writer, world-builder, and level-designer to create cohesive story content, world lore, and narrative-driven level design.
fec-svg-animation
A workflow for creating or reviewing animated SVG graphics, which are scalable vector images such as icons, logos, illustrations, and diagrams. It covers CSS, SMIL, Framer Motion, GSAP, accessibility, and reduced-motion behavior.
recursive-decomposition
Handle tasks that exceed the context window by decomposing them: size and filter the input, chunk it, run recursive sub-agents on independent parts, verify on small windows, and synthesise programmatically, following the Recursive Language Models (RLM) research by Zhang, Kraska and Khattab (2025). Use when a task…