Skip to content
Back to skills

Video Transcripts

ASecurity

Extract one-frame-per-second stills, contact sheets, and speech audio from a local or linked video, transcribe them with the active agent or subagent (or unmodified headless agy from CLI runtimes), and verify the transcript against the frames.

  • 1,166 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 27, 2026
ai-agentsshellbashdebugginggitapi

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

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

Scanned December 1, 2026

npx -y skills add udecode/ustack --skill video-transcripts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Video Transcripts?

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

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

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: video-transcripts
description: "Extract one-frame-per-second stills, contact sheets, and speech audio from a local or linked video, transcribe them with the active agent or subagent (or unmodified headless agy from CLI runtimes), and verify the transcript against the frames."
---

# Video Transcripts

## Quick Start

Run the helper once per relevant video to download/remux it, cut 1fps frames and contact sheets, extract `speech.wav` when audio exists, and write `<dir>/frames-brief.md`. `<skill>` is this skill's directory:

```bash
bash <skill>/scripts/generate_video_transcript.sh \
  "https://uploads.linear.app/.../screen-recording.mov" \
  --title "PDF preview hyperlinks trigger leave-page modal"
```

Or for a GitHub attachment:

```bash
bash <skill>/scripts/generate_video_transcript.sh \
  "https://github.com/user-attachments/assets/..." \
  --title "Slash menu loses selection after confirm"
```

Or for a Screencastify watch page:

```bash
bash <skill>/scripts/generate_video_transcript.sh \
  "https://app.screencastify.com/watch/..." \
  --title "Bulk send expands filtered recipients"
```

Or for a local file:

```bash
bash <skill>/scripts/generate_video_transcript.sh \
  "/absolute/path/to/video.mov" \
  --title "Preview hyperlink exits workflow"
```

For auth-gated Linear uploads, the helper automatically retries with cookies from the local Linear desktop app on macOS. For private GitHub asset URLs, it retries with `GITHUB_TOKEN`, `GH_TOKEN`, or `gh auth token` when available.

The helper cuts the video into one frame per second and prints `Frames: <dir>` and `Brief: <dir>/frames-brief.md` on stderr and stdout. `<dir>/frames/tSSSS.png` is the frame at second SSSS, so `[01:12]` is `t0072.png`, and each `<dir>/sheet-SSSS-SSSS.png` shows the nine seconds its name spans in one image. Pass `--frames <dir>` to choose the directory. To cut the frames with no brief, run `bash <skill>/scripts/video_frames.sh <video> --output <dir>`.

Inside Antigravity or T3 Code, transcribe directly from `<dir>/frames-brief.md` using the [Transcribe from frames](#transcribe-from-frames) step below instead of shelling out. Outside Antigravity (Claude Code or Codex CLI), unmodified headless `agy --mode plan --model gemini-4-neon --print=...` is also permitted when you want Gemini vision directly.

The transcript is a draft until Workflow step 3 checks it against the frames.

## Use This When

- A GitHub or Linear issue, PR, or comment includes a screen recording.
- An attachment URL points to `uploads.linear.app`.
- An attachment URL points to a GitHub attachment or private GitHub asset host.
- A tracker links to a public Screencastify watch page.
- You need timeline-style transcript lines, not a vague summary.
- You want the result in this exact XML shape:

```xml
<video-transcripts>
<video-transcript title="...">
[00:00] (...)
</video-transcript>
</video-transcripts>
```

## Workflow

A tracker comment or reply that anyone outside the team can read, such as one on
a public repository, needs explicit message authority; one only the team can read
follows the project's message rule. Prepare or return the transcript locally when
publication is not authorized. Cache location and reuse rules below do not grant
permission to post.

1. Run the helper once for each relevant video to produce `<dir>/frames-brief.md`, contact sheets, full frames, and `speech.wav` (when audio is present), then run [Transcribe from frames](#transcribe-from-frames).
2. Give each run a short, bug-focused `--title`.
3. Check the transcript against the frames before using it. A model misreads formatting, mixes up windows and invents repeated steps, and states a wrong line as firmly as a right one. Open every sheet of a clip under a minute; for a longer clip, open the sheet that holds each line a conclusion rests on and the sheets on either side. Open the full frame wherever a sheet is too small to read, such as bold or italic text. Where a frame and a line disagree, rewrite the line from the frame, and delete a line the frames contradict. Mark a line the frames can neither show nor contradict, such as speech, `(unverified)`.
4. For tracked work, the canonical shared cache should live in the tracker next to the evidence it describes.
5. If the video is in the issue or PR body, use a top-level tracker comment.
6. If the video is in a Linear comment, post the transcript cache as a reply to that specific comment.
7. If the video is in a GitHub issue or PR comment, use one dedicated top-level cache comment for that source comment's video set. GitHub has no replies, so keep cache comments separated by source container instead of merging unrelated comment videos together.
8. On GitHub, fold each cache comment into one collapsed block, so the thread
   shows one summary line until a reader opens it. The summary names the
   source container and how many clips the block holds, and ends with
   `, from frames` when the Frames fallback wrote the block. Inside the block,
   put a transcript source link, then the timestamp lines:

````md
<details><summary>Transcripts of the 2 clips in the issue body</summary>

[[Transcript](link to video or comment if not available)]
[00:00] (...)

</details>
````

   A Linear reply holds the same link and timestamp lines without the block.
   Keep each source link on the line directly above its first timestamp line,
   because a check that reads the cache looks for that pair.
9. When caching helper XML, strip the `<video-transcripts>` and
   `<video-transcript ...>` wrapper lines and paste only timestamp lines after
   the source link.
10. If there are multiple videos in the same source container, repeat the
   `[[Transcript](...)]` source link plus timestamp lines for each video,
   inside the one block, with a blank line between videos.
11. Build every cached line from the helper's output, or the Frames fallback's, as corrected against the frames, never from memory or the issue's own text.
12. Link `[[Transcript](...)]` to the video URL when available. If the video URL is not available or is unstable, link to the source comment that contains the video.
13. For signed tracker-hosted URLs like `uploads.linear.app`, strip the query string so a new signature does not invalidate an otherwise valid cache entry. For Screencastify, cache against the stable `https://app.screencastify.com/watch/<id>` URL, not the signed `dash-assets` HLS URLs.
14. Do not add decorative metadata like `title` to cached transcript entries unless a later workflow truly needs it.
15. Before re-transcribing for tracked work, match cache entries by source container first:
    - one cache comment for issue or PR body videos
    - one Linear reply per comment containing video(s)
    - one dedicated GitHub cache comment per issue or PR comment containing video(s)
16. If the matching cache already covers the current normalized video keys for that source container, reuse it. Only transcribe missing or new video evidence.
17. Do not use `docs/` for raw tracker transcript cache. That is durable repo knowledge space, not raw issue evidence.
18. If you invoke this through `codex exec`, prefer `-o <file>` so the final XML is captured without CLI progress chatter.

## Transcribe from frames

- **In Antigravity / T3 Code (Neon lead):** Read `<dir>/frames-brief.md`, the contact sheets (`sheet-*.png`), full frames (`frames/t*.png`), and `speech.wav` (when present) directly with native `read_file` (or delegate to a built-in `invoke_subagent` `TypeName: "research"`, `Model: "inherit"`). Never spawn `agy -p`.
- **In Claude Code or Codex:** Start one subagent per video on Claude Opus at medium effort (in Claude Code: `Agent` with `model: "opus"` and `effort: "medium"`; in Codex: own subagent at medium effort). Pass the path to `<dir>/frames-brief.md`, instruct it to read only that folder and write no files, and return the brief's XML as its final message. Claude cannot play `speech.wav`, so note that speech is omitted when using Claude.

Always verify the draft transcript against the frames in Workflow step 3.

## Output Contract

- Return XML, not Markdown.
- Use one `[MM:SS] (...)` line per observed action or system response.
- Quote visible UI text when legible.
- Describe only visible actions, screen changes, and audible speech if present.
- Do not invent hidden state, motives, or implementation details.
- Prefer concise, high-signal lines over per-keystroke sludge.

## Model Strategy

On-screen facts always come from 1fps frames and contact sheets, never from feeding the raw video file alone (raw video playback misquotes on-screen captions and invents steps). When a clip has a sound track, the helper extracts `speech.wav` beside the frames so an Antigravity Neon session can read it with `read_file` for spoken words while grounding every visual detail in the frames.

## Notes

- The helper accepts a local file path or remote URL.
- For `uploads.linear.app` URLs, it first tries `LINEAR_COOKIE_HEADER`, then `LINEAR_COOKIES_DB`, then falls back to the local Linear desktop cookie store at `~/Library/Application Support/Linear/Cookies`.
- For GitHub asset URLs, it first tries `GITHUB_TOKEN`, then `GH_TOKEN`, then `gh auth token`, then falls back to an unauthenticated download.
- For Screencastify watch URLs, it calls `https://umbrella.svc.screencastify.com/api/umbrellaService/watch/<id>`, resolves the signed HLS manifest, rewrites child playlists so segments keep the signature, and remuxes the recording with `ffmpeg`.
- The helper requires `ffmpeg`, `ffprobe`, `curl`, and `jq`.
- Use `--debug-dir <dir>` to save Screencastify playlist artifacts when debugging downloads.

Files in this skill

  • SKILL.md11 KB
  • scripts/generate_video_transcript.sh17.9 KB
  • scripts/video_frames.sh2.4 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.