add-subtitles

add-subtitles is a skill for Claude Code from DidierRLopes/get-y2b-clips. It costs 60 tokens per session (1,695 once invoked), scanned B, original, MIT.

A tool for adding visible subtitles directly onto a video file. It transcribes the video's speech with Whisper, a speech-to-text system, and creates a new video with styled captions.

In plain words
What is it for?
Use it with a local MP4, MOV, or similar video when you need a captioned version for social media or other playback.
Why use it?
It removes the need to prepare a transcript or add captions manually. The text is part of the video image, so it stays visible when the file is shared.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ls -la ./videos/ 2>/dev/null.

Good fit Use it with a local MP4, MOV, or similar video when you need a captioned version for social media or other playback.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/DidierRLopes/get-y2b-clips
agentmods
npx agentmods add skills/didierrlopes/get-y2b-clips/add-subtitles

Made for: Claude Code.

Its marketplace also offers this one on its own, as the plugin add-subtitles/plugin install add-subtitles after adding the marketplace above.

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 add-subtitles

README.md
[![agentmods](https://agentmods.dev/badge/skills/didierrlopes/get-y2b-clips/add-subtitles/github.svg)](https://agentmods.dev/skills/didierrlopes/get-y2b-clips/add-subtitles)
Your own site
<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.

agentmods 80×15 button for add-subtitles

Your own site · 80×15
<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>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,695 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00060 $0.01695
Opus 5 $0.00030 $0.00847
Sonnet 5 $0.00012 $0.00339
Haiku 4.5 $0.00006 $0.00169

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

Security

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.

The scan reads SKILL.md. This mod also ships 2 executable files (burn_subtitles.py, utils.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.

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
.claude/skills/add-subtitles/SKILL.md · 189 lines

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). Suggest small or medium for higher accuracy on longer or harder audio.
    • Output path (default: same folder, <name> Subtitled.mp4)
    • Whether to keep the generated .srt file (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

Read the full file on GitHub · 189 lines

Files

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.

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. 10d ago First seen · 189 lines · 60 tokens per session scan B fa11806fc476

Subscribe to this mod's changes

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.

Related

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.

IdoCohen560/claude-unity-game-studio · 54 tokens

team-audio

Orchestrate audio team: audio-director + sound-designer + technical-artist + gameplay-programmer for full audio pipeline from direction to implementation.

IdoCohen560/claude-unity-game-studio · 34 tokens

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"…

IdoCohen560/claude-unity-game-studio · 150 tokens

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.

IdoCohen560/claude-unity-game-studio · 41 tokens

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.

bovinphang/frontend-craft · 76 tokens

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…

massimodeluisa/recursive-decomposition-skill · 151 tokens