Skip to content
Back to skills

X9 Video Transcripts

ASecurity

Use when the user wants offline, timestamped transcripts of their own local video or audio files, from one file to a whole folder, or wants to find where something was said in recordings already transcribed this way — «расшифруй ролики», «сделай субтитры к видео», «где в роликах я говорил про…», "transcribe these videos with timestamps". Do not use for online video links, a quick summary of what a video is about, live dictation, or translation.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
ai-agentspythongobash

Works with

  • cli

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add xonika9/agent-skills --skill x9-video-transcripts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of X9 Video Transcripts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for X9 Video Transcripts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/xonika9-x9-video-transcripts/badge)](https://www.skillsdirectory.com/skills/xonika9-x9-video-transcripts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: x9-video-transcripts
description: Use when the user wants offline, timestamped transcripts of their own local video or audio files, from one file to a whole folder, or wants to find where something was said in recordings already transcribed this way — «расшифруй ролики», «сделай субтитры к видео», «где в роликах я говорил про…», "transcribe these videos with timestamps". Do not use for online video links, a quick summary of what a video is about, live dictation, or translation.
---

# Video transcripts

Turn local recordings into timestamped transcripts with whisper.cpp on the user's machine, and find moments in them later. A script does the recognition, so a batch costs the agent progress lines and a JSON summary, never the transcript text.

The [onboarding declaration](references/onboarding.json) is the machine-readable onboarding contract.

## Storage

Each source `<name>.<ext>` gets two files beside it:

- `<name>.transcript.srt` — standard subtitles for players and video editors;
- `<name>.transcript.txt` — `# source:` and `# language:` headers, then one `[hh:mm:ss] text` line per segment; search reads this file.

The `.transcript` suffix leaves the user's own `<name>.srt` untouched. Nothing central is created: a folder of 50 videos gains 100 small files next to them. `--out DIR` mirrors the same names under `DIR`; use it when the source location is read-only, short on synced space, or the user wants a separate library. After an interrupted run, repeat the same command.

A source listed under `collisions` is left untranscribed. Only renaming that source or giving it a different `--out` folder resolves the collision; a rerun or `--force` does not.

## Transcribe

```bash
python3 <skill-directory>/scripts/transcripts.py run <file-or-folder>... [--lang ru] [--out DIR] [--force] [--model FILE]
```

- Pass `--lang` whenever the spoken language is known; auto-detection misfires on short or music-heavy recordings.
- Folders are scanned recursively for common audio and video extensions, skipping hidden entries and without following folder symlinks; a file named explicitly is passed to ffmpeg whatever its extension.
- Runtime grows with audio length. For long recordings or more than a few files, run the command in the background and wait for it to exit instead of polling; progress goes to stderr, the summary to stdout. If the runtime stops the command before it exits, run the same command again: finished files are skipped. If a rerun stops again while the same file is `transcribing`, stop retrying and report that file's audio length and the runtime's command time limit.
- Use `--force` only when the user asks to redo existing transcripts, for example with another model or language.

Read the summary's `status`:

- `ok` (exit 0) — nothing failed. Files in `no_speech` were transcribed but contain no recognized speech; tell the user which ones.
- `partial` (exit 1) — report each `failed` and `collisions` entry with its reason. Rerunning retries the failed files once their cause is fixed.
- `aborted` (exit 1) — the same `whisper-cli` error hit consecutive files, so `not_attempted` were left for later. Report the error; it usually means a broken model file or a `whisper-cli` build without `--vad`.
- `setup_required`, `no_media`, or a missing path (exit 2) — nothing was transcribed. See [Setup](#setup) or correct the paths.

Never delete, move, or re-encode source media.

## Setup

`transcripts.py check` reports `ffmpeg`, `ffprobe`, `whisper-cli`, and the two model files; `check --download` fetches missing default models, about 875 MB, into `$X9_TRANSCRIPTS_MODELS` or `~/.cache/x9-video-transcripts/models`. A transcription request authorizes that download; state its size when starting it. Installing `ffmpeg` or whisper.cpp changes the system, so give the install command (with Homebrew: `brew install ffmpeg whisper-cpp`) and wait for the user's go-ahead. Set `X9_WHISPER_CLI` when `whisper-cli` is not on `PATH`.

## Find a moment

```bash
python3 <skill-directory>/scripts/transcripts.py search "<words>" <folder-or-file>... [--max 50]
```

Matching ignores case, treats ё as е, and drops the last letters of longer words so inflected forms match; every word must occur in one segment or across two adjacent ones. A file argument is a `.transcript.txt` or a source with its transcript beside it. Each hit prints the source path, or the transcript path when the recorded source has moved, and the timestamp. Exit 2 means a path is missing or has no transcript, which is not evidence that the words were never said. Answer from the hits, and read transcript lines into context only to quote, summarize, or check a hit's surroundings.

Recognition misspells rare names and terms, so when a name finds nothing, search for a distinctive ordinary word from the same passage or a likely alternative spelling.

## Quality limits

- Proper names, brand and game terms, and anglicisms carry most errors.
- Speech over loud music can be dropped, and the surrounding segment stretched, so timestamps near such passages may be off by many seconds.
- For a different accuracy or speed trade-off, read [references/models.md](references/models.md).

## Done

After `run`, every entry in the last summary's `failed`, `collisions`, `no_speech`, and `not_attempted` lists has been reported to the user with its reason. After `search`, the answer cites each relevant hit's file and timestamp, or states how many transcripts were searched without a match.

Files in this skill

  • SKILL.md6.1 KB
  • references/models.md2 KB
  • references/onboarding.json1.4 KB
  • scripts/test_transcripts.py23 KB
  • scripts/transcripts.py20.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.