token-level-caption-timestamps
Use token-level ASR timestamps as the caption timing source so word highlights, tight subtitle chunks, and narration-linked edits are based on real spoken…
от 45ck★ 21 звезда на GitHub
Установить token-level-caption-timestamps в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Token-Level Caption Timestamps
Use When
- The short needs active-word highlighting or tight word-group caption timing.
- Segment-level transcript timestamps are too coarse for the caption style.
- Edit timing, motion beats, or subtitle emphasis depend on real spoken word timing.
Core Rule
- If the caption treatment depends on individual words, capture token-level timing.
- Do not fake word timing by evenly splitting long transcript segments.
Inputs
- narration audio
- ASR tool that can emit token or word timestamps
- caption grouping rules: max words per chunk, max duration, punctuation handling
Outputs
- token-level or word-level timestamp stream
- caption-ready word groups
- timing notes for highlight or edit systems
Workflow
- Transcribe with token-level timestamps enabled.
- Drop empty or artifact tokens before display grouping.
- Merge tokens carefully when the ASR emits split punctuation or spacing artifacts.
- Build higher-level caption chunks from the cleaned token stream.
- Feed those timings into caption render, karaoke logic, or timing verification rather than falling back to segment timestamps.
Good Pattern
- token timings come from the real audio pass
- cleanup happens before styling
- chunking preserves readability on a phone screen
- downstream caption systems can still choose standard, karaoke, or emphasis-heavy rendering
Bad Pattern
- estimating each word as
segment_duration / word_count - styling captions before removing bogus ASR tokens
- relying on sentence-level timestamps for active-word highlighting
- pretending segment timestamps are accurate enough for tight beat cuts
Pair With
- Use before
short-form-captionswhen the caption design needs precise timing. - Use with
karaoke-ass-captionsfor fixed-position active-word captions.
Aggregated From
gyoridavid/short-video-makerWhisper.ts@remotion/install-whisper-cpptoken-level timestamp workflow
Validation Checklist
- Word timings come from ASR output, not inferred splits.
- Empty or control tokens are removed before caption grouping.
- Resulting chunks read cleanly at phone size.
- Highlight timing matches spoken words closely enough to notice if it slips.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл token-level-caption-timestamps?
Use token-level ASR timestamps as the caption timing source so word highlights, tight subtitle chunks, and narration-linked edits are based on real spoken timing instead of coarse segment estimates.
Как установить скилл token-level-caption-timestamps?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл token-level-caption-timestamps запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…