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.5 | $0.00024 | $0.00678 |
| Sonnet 5.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 2mo 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.
- 2mo 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 4mo ago), licensed MIT. It adds 60 tokens to every session and 1,695 once invoked, about $0.0002 per session on Opus 5.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.
add-subtitles compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| add-subtitlesDidierRLopes/get-y2b-clips | Skill | 6 | 4mo ago | MIT | B | 60 | Claude Code |
| slicethoughtbot/rails-consultant | Skill | 29 | yesterday | MIT | A | 14 | Claude Code |
| multi-lens-reviewthoughtbot/rails-consultant | Skill | 29 | yesterday | MIT | A | 39 | Claude Code |
| prthoughtbot/rails-consultant | Skill | 29 | yesterday | MIT | A | 22 | Claude Code |
| ask-claudethoughtbot/rails-consultant | Skill | 29 | yesterday | MIT | A | 97 | Claude Code |
| diff-explainerthoughtbot/rails-consultant | Skill | 29 | yesterday | MIT | A | 27 | Claude Code |
| domain-modelthoughtbot/rails-consultant | Skill | 29 | yesterday | MIT | A | 13 | Claude Code |