unflick-subtitles

unflick-subtitles is a skill for Claude Code, Codex from zhitongblog/unflick. It costs 68 tokens per session (791 once invoked), scanned A, original, MIT.

A video tool that turns spoken audio into subtitle files, can translate those files, and can load them in the unflick player. It can transcribe locally with whisper.cpp, which runs on your computer, or use the OpenAI API.

In plain words
What is it for?
Use it to transcribe videos into .srt subtitle files, translate subtitles into another language, and display the resulting subtitle track while playing a video.
Why use it?
It removes the need to create captions by hand and can keep speech processing offline when a local model is available.

Skill for Claude CodeCodex

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

Good fit Use it to transcribe videos into .srt subtitle files, translate subtitles into another language, and display the resulting subtitle track while playing a video.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhitongblog/unflick/unflick-subtitles
Install

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.

Any agent
npx skills add zhitongblog/unflick --skill unflick-subtitles
Clone the repo
git clone --depth 1 https://github.com/zhitongblog/unflick

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhitongblog/unflick/unflick-subtitles"><img src="https://agentmods.dev/badge/skills/zhitongblog/unflick/unflick-subtitles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 791 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.00068 $0.00791
Opus 5 $0.00034 $0.00396
Sonnet 5 $0.00014 $0.00158
Haiku 4.5 $0.00007 $0.00079

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

Security

Grade A, and why

unflick-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 3d 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.

marketplace/skills/unflick-subtitles/SKILL.md · 76 lines

How it starts

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

unflick: generate & translate subtitles

unflick transcribes speech to .srt locally with whisper.cpp (private, no upload) or via the OpenAI API, and can translate an .srt to another language.

Tools

  • generate_subtitles(video, mode?, whisper?, model?, api_key?, output_dir?)
    • mode="local" (default when a model is available) uses bundled/supplied whisper.cpp — fully offline. mode="api" uses OpenAI (needs api_key).
    • Returns the path of the generated .srt.
  • translate_subtitles(srt, target_lang, api_key, output_dir?) — translate an .srt (e.g. target_lang="Chinese"). Returns the translated .srt path.
  • load_subtitle(file) + subtitle_select(id) — display a subtitle track (subtitle_select(0) disables subtitles). subtitle_list shows tracks.

Flows

  • "Subtitle this video"generate_subtitles(video=…)load_subtitle(file=<returned .srt>) so it shows immediately.
  • "…and translate to Spanish" → take the generated .srttranslate_subtitles(srt=…, target_lang="Spanish", api_key=…)load_subtitle the result.
unflick subtitle generate movie.mkv            # local whisper -> movie.srt
unflick subtitle translate movie.srt "Chinese" # needs OpenAI key in settings/env

Look for one online first

Transcribing takes minutes; a published subtitle takes seconds. Try OpenSubtitles before whisper when the file is something that exists in the world (a film, an episode) rather than the user's own recording.

  • get_subtitles(query?, languages?, file?, load?) — search and load the best match in one step.
  • find_subtitles(…) / download_subtitle(file_id) — when the user should pick from the candidates.
unflick subtitle auto --lang zh-CN,en     # derives the query from what's playing
unflick subtitle search "the matrix" --lang en

This needs an OpenSubtitles API key — downloads come out of a personal daily allowance, so unflick ships no shared key. With none configured the tools say so and where to get one; pass that on instead of retrying.

Read the full file on GitHub · 76 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. 3d ago First seen · 76 lines · 68 tokens per session scan A c9cb381e858d

Subscribe to this mod's changes

unflick-subtitles is a skill published in the GitHub repository zhitongblog/unflick (0 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 791 once invoked, about $0.0003 per session on Opus 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-09.

Related

Other skills, from other repositories

chinese-documentation

A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.

jnMetaCode/superpowers-zh · 62 tokens

azure-ai-translation-text-py

Azure AI Text Translation SDK for real-time text translation, transliteration, language detection, and dictionary lookup. Use for translating text content in applications. Triggers: "text translation", "translator", "translate text", "transliterate", "TextTranslationClient".

microsoft/skills · 60 tokens

harden

Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready. Use when the user asks to harden, make production-ready, handle edge cases, add error states, or fix overflow and i18n issues.

fengshao1227/ccg-workflow · 62 tokens

seedance-vocab-ja

This skill should be used when the user asks for Japanese Seedance 2.0 prompt wording, Japanese cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms into Japanese.

Emily2040/seedance-2.0 · 50 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

i18n-helper

A helper for adding internationalization, which lets software show different languages and regional text. It finds user-visible text written directly in code and moves it into language files.

laolaoshiren/claude-code-skills-zh · 33 tokens