video-subtitles

video-subtitles is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 92 tokens per session (1,178 once invoked), scanned A, original, Apache-2.0.

A subtitle-file generator that turns timed dialogue into SRT captions and platform-specific titles. SRT is a common text file format containing caption text and its start and end times.

In plain words
What is it for?
Use it to create subtitles from a scene-list JSON file or from one sentence with start and end times, for Douyin, Bilibili, TikTok, or YouTube.
Why use it?
It removes the need to write caption numbers and timecodes by hand. It keeps captions aligned to scene durations and produces the subtitle file separately from the video.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/subtitles.py --script script.json --output subtitles.srt --platform douyin.

Good fit Use it to create subtitles from a scene-list JSON file or from one sentence with start and end times, for Douyin, Bilibili, TikTok, or YouTube.

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/Morningstar202604/awesome-skillkit
agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/video-subtitles

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/video-subtitles/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/video-subtitles)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/video-subtitles"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/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.

agentmods 80×15 button for video-subtitles

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/video-subtitles"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/video-subtitles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,178 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00092 $0.01178
Opus 5.5 $0.00037 $0.00471
Sonnet 5.5 $0.00018 $0.00236
Haiku 4.5 $0.00009 $0.00118

Measured 2mo ago against content hash ee9bfd13aeb5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 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.

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.

site/skills/video/video-subtitles/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Video Subtitles & Captions

Generate time-aligned SRT subtitles and platform-compliant titles from the script's scene list. Default uses scripts/subtitles.py for deterministic output; it only produces subtitle files, doesn't burn them in (burn-in is video-editor's job).

Input Checklist

Input Required Notes
script yes (batch) or text+start+end (single) Scene-list JSON, with dialogue + duration_sec
platform no douyin / bilibili / tiktok / youtube, default douyin
output no SRT output path, default /tmp/subtitles.srt

When any required input is missing, ask everything at once:

Please provide: ① the script scene list (JSON, with each item's dialogue and duration_sec), or ② a single line of text + start/end times. Optional: ③ platform (default douyin), ④ SRT output path.

Pre-flight Checks

  • python3 available.
  • Input parseable: batch JSON has scenes[].dialogue and duration_sec; single line gives text / start / end.
  • Total subtitle duration matches the video duration (within <= 0.5s); otherwise prompt to calibrate the script timing first.

Workflow

Step 1: Generate SRT (Batch)

Action:

python3 scripts/subtitles.py --script script.json --output subtitles.srt --platform douyin

Expected: exit code 0; subtitles.srt exists, each cue = sequence number + timecode HH:MM:SS,mmm --> ... + text, timecodes continuous with no overlap. If it fails: JSON missing duration_sec -> fill it in and rerun; scenes with no dialogue are skipped for that cue.

Step 2: Single-Line Subtitle (Optional)

Action:

python3 scripts/subtitles.py --text "Guess how much I spent?" --start 0 --end 3 --output line.srt

Expected: output is just 1 cue, timecode 00:00:00,000 --> 00:00:03,000. If it fails: end <= start -> report an invalid time range, fix and rerun.

Step 3: Generate the Platform Title

Action: cut a compliant title + tags from the script's caption field per the "platform title rules" below. Expected: within the platform's character / tag limits (douyin <=50 chars + 3 tags). If it fails: over the limit -> trim the title or merge tags.

Read the full file on GitHub · 115 lines

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. 2mo ago Changed · -2 tokens per session ee9bfd13aeb5
  2. 2mo ago First seen · 115 lines · 94 tokens per session scan A 5fcc3e28fe90

Subscribe to this mod's changes

video-subtitles is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 92 tokens to every session and 1,178 once invoked, about $0.0004 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-09-19.

Related

video-subtitles compared with skills from other repositories

video-subtitles next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
video-subtitlesMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A92Claude Code, Codex
safe-refactorJuliusBrussee/cavemanSkill124ktodayApache-2.0A29Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k3d agoApache-2.0A217Claude Code, Codex
auditing-subgroup-fairnessmaziyarpanahi/openmedSkill5.9kyesterdayApache-2.0A148Claude Code
memoryopensquilla/opensquillaSkill7.2k4d agoApache-2.0A44Claude Code, Codex
infographic-template-updaterantvis/InfographicSkill7.2k1mo agoMITA43Claude Code
pulse-configureSnowflake-Labs/cocoplusSkill72923d agoMITA12Claude Code, Codex