November 14, 2026 · 38 min read
Analyzing an iOS bug video with an AI agent
Bug reports often arrive as screen recordings, and it is tempting to hand the investigation to an agent. I wanted to understand how an agent actually analyzes video. Which tools it runs, which frames it selects, and whether its answer can be checked against the original recording. I built a small SwiftUI app with deliberate bugs and compared Claude Code with and without my video analysis skill.
With the source code, the agent would probably have worked out what to fix much faster. That is why I withheld it. I wanted to investigate the recording itself. This is a personal experiment with a few scenarios, with no claim that the results apply everywhere.
What the model gets from a video
Different AI systems handle video differently. Gemini accepts a video file and selects frames for analysis. Through their APIs, Claude and GPT-6.1 Sol receive individual images. Agents such as Claude Code and Codex can prepare those images themselves by running FFmpeg.
For a brief flicker, this distinction matters. Suppose text breaks at 3.603 seconds and returns to normal at 3.778 seconds. If we only inspect frames at whole seconds, both the 3-second and 4-second frames will look fine. The defect falls between them.
For this article dated November 14, 2026, I compared the capabilities described in the official documentation.
| Option | Accepted input | How frames are selected |
|---|---|---|
| Gemini API, static | Video file | One frame per second by default. The fps parameter in the processing configuration changes the sampling rate |
| Gemini API, agentic | Video file, on supported models | An opt-in mode. The model explores the timeline and adjusts frame rate and resolution as it goes |
| Claude API | Text and images. Direct video input is not listed for the models described | The calling application prepares the frames. There is no default video sampling rate here |
| OpenAI API, GPT-6.1 Sol | Text and images. Video input is listed as unsupported | Frames must also be prepared externally. The extraction code determines the FPS |
With Gemini, you can increase the static sampling rate or enable agentic processing. That gives you more options for finding brief events, but it does not guarantee that a particular flicker will be found. Google explicitly warns that sampling once per second can miss details in fast scenes. I did not run these recordings through Gemini.
Claude Code and Codex support images, as described in the Anthropic and OpenAI documentation. With access to the video file and FFmpeg, an agent can prepare images for the model itself. That is what Claude Code did in this experiment. The number of frames depended on the commands it chose, rather than a single built-in video viewing mode.
An animated GIF does not automatically solve this problem either. The Claude documentation says that only its first frame is used.
Tools that already extract frames
Plain FFmpeg can extract frames from a video. Its fps filter produces a specified frame rate by dropping or duplicating frames. fps=1 is useful for an overview, but a briefly disappearing element can easily fall between the selected moments.
Another filter, mpdecimate, drops frames that differ little from the previous one. That helps with a mostly static interface, although a small change can also fall below the selection threshold. Extracting every frame is another option. A short recording may contain surprisingly few of them.
My screen-recording-triage uses the same FFmpeg. It is a folder containing instructions for the agent and two Python scripts. They select frames, assemble a contact sheet, and save events with timestamps. Below is how that approach compared with letting the agent work on its own.
Three scenarios
The first example is tiny. A lesson card contains the Thai phrase น้ำไม่ไหล, meaning “the water isn’t running.” Once, for 150 ms, the text is given too little height.
Text(verbatim: "น้ำไม่ไหล")
.font(.system(size: 42, weight: .semibold))
.frame(height: 32, alignment: .bottom)
.clipped()
.frame limits the height to 32 points, and .clipped() cuts off anything outside it. Bottom alignment causes the tops of the letters and the marks above them to disappear. In the normal state, .fixedSize(horizontal: false, vertical: true) lets the text take the height it needs.

Thai is just the example here. Romanian Ă, Â, Î or Vietnamese Ễ could expose a similar problem. A height that works for an English string may be too small for another localization.
The second example resembles an ordinary data loading bug. Above the lesson list, the app displays 7 of 30 lessons done. Marking one more lesson as complete should increase the count to eight. Instead, the code resets it to zero before reading the value asynchronously.
private func markDone(_ n: Int) async {
store.markDone(n)
doneLessons = store.done
doneCount = 0
doneCount = await store.loadDoneCount()
}
While loadDoneCount() waits for the result, the interface has time to display 0 of 30. The correct value appears afterward. The test store uses Task.sleep to add a 100 ms delay, reproducing this behavior without a database or server. The complete sequence is 7 → 0 → 8.

At normal speed, the zero is easy to miss. It appears in the counter card at the top for about a tenth of a second. Below is the same part of the recording slowed down ten times, so the 7 → 0 → 8 sequence is visible without stepping through individual frames.
The third scenario lasts about a minute. The app scrolls a list of 30 lessons, opens different cards, and goes back. In lesson 12, the Thai phrase is clipped once. The bug works the same way, but this time the relevant moment is buried among navigation transitions and scrolling.
All three clips were recorded from the running app in an iPhone 17 Simulator with iOS 26.1. Code drives the actions, and the videos come from the Simulator’s built-in recorder.
| Recording | Duration | Frames in original file | Defect interval |
|---|---|---|---|
| Thai phrase | 6.5 s | 6 | 3.603–3.778 s |
| Counter | 6.9 s | 135 | 6.347–6.443 s |
| Lesson session | 59 s | 1147 | 31.272–31.418 s |
The table describes the original Simulator recordings. The archive also contains the app code. The videos embedded in this article were transcoded for browser playback.
The complete app code is included in the three expandable sections below. To reproduce it, create a SwiftUI iOS project with a deployment target of 17.0 or later. These three files replace the app file and ContentView.swift generated by Xcode.
Source ThaiVideoLabApp.swift
import SwiftUI
@main
struct ThaiVideoLabApp: App {
var body: some Scene {
WindowGroup {
let args = ProcessInfo.processInfo.arguments
if args.contains("--scenario=session") {
SessionView()
} else if args.contains("--scenario=progress") {
ProgressCaseView()
} else {
ContentView()
}
}
}
}
/// `--start-delay=N`: wait N seconds before the scripted scenario starts,
/// so the recording can begin after the app is already on screen.
func startDelay() -> Double {
for arg in ProcessInfo.processInfo.arguments where arg.hasPrefix("--start-delay=") {
return Double(arg.dropFirst("--start-delay=".count)) ?? 0
}
return 0
}
struct ContentView: View {
@State private var thaiClipped = false
@State private var running = false
var body: some View {
NavigationStack {
VStack(spacing: 22) {
ThaiLessonView(clipped: thaiClipped)
Button(running ? "Replaying…" : "Replay issue") {
Task { await replay() }
}
.buttonStyle(.borderedProminent)
.disabled(running)
.accessibilityIdentifier("replayIssue")
Spacer(minLength: 0)
}
.padding(20)
.background(Color(uiColor: .systemGroupedBackground))
.navigationTitle("Thai Notes")
.navigationBarTitleDisplayMode(.inline)
}
.task {
if ProcessInfo.processInfo.arguments.contains("--autoplay") {
try? await Task.sleep(for: .seconds(startDelay()))
await replay()
}
}
}
@MainActor
private func replay() async {
guard !running else { return }
running = true
thaiClipped = false
defer {
running = false
thaiClipped = false
}
// Visible baseline before the glitch.
try? await Task.sleep(for: .seconds(2.5))
guard !Task.isCancelled else { return }
// One brief 150 ms clip of the upper Thai marks, then normal again.
thaiClipped = true
try? await Task.sleep(for: .milliseconds(150))
thaiClipped = false
try? await Task.sleep(for: .seconds(1))
}
}
struct ThaiLessonView: View {
let clipped: Bool
var body: some View {
VStack(alignment: .leading, spacing: 14) {
Text("Lesson 12").font(.headline)
Text("Translate into English").foregroundStyle(.secondary)
Group {
if clipped {
// INTENTIONAL BUG: height smaller than Thai text line box.
// Bottom alignment + clipping cuts upper Thai marks.
Text(verbatim: "น้ำไม่ไหล")
.font(.system(size: 42, weight: .semibold))
.frame(height: 32, alignment: .bottom)
.clipped()
} else {
Text(verbatim: "น้ำไม่ไหล")
.font(.system(size: 42, weight: .semibold))
.fixedSize(horizontal: false, vertical: true)
.padding(.vertical, 6)
}
}
.accessibilityIdentifier("thaiPhrase")
Text("The water isn't running")
.foregroundStyle(.secondary)
}
.frame(maxWidth: .infinity, alignment: .leading)
.padding(22)
.background(.background, in: RoundedRectangle(cornerRadius: 16))
}
}
Source ProgressCaseView.swift
import SwiftUI
/// Progress is "stored" somewhere slow (disk, database); reading it takes ~100 ms.
@MainActor
final class ProgressStore {
private(set) var done: Set<Int> = Set(1...7)
func markDone(_ n: Int) { done.insert(n) }
func loadDoneCount() async -> Int {
try? await Task.sleep(for: .milliseconds(100))
return done.count
}
}
/// Lesson list with a progress card. When a lesson is marked as done, the counter
/// shows "0 of 30" for a moment, then the real value.
struct ProgressCaseView: View {
@State private var path: [Int] = []
@State private var doneCount = 7
@State private var doneLessons: Set<Int> = Set(1...7)
@State private var store = ProgressStore()
@State private var started = false
var body: some View {
NavigationStack(path: $path) {
List {
Section {
VStack(alignment: .leading, spacing: 10) {
Text("\(doneCount) of 30 lessons done")
.font(.title3.weight(.semibold))
ProgressView(value: Double(doneCount), total: 30)
}
.padding(.vertical, 6)
.accessibilityIdentifier("progressCard")
}
Section("Lessons") {
ForEach(1...12, id: \.self) { n in
NavigationLink(value: n) {
HStack(spacing: 12) {
Image(systemName: doneLessons.contains(n) ? "checkmark.circle.fill" : "circle")
.foregroundStyle(doneLessons.contains(n) ? .green : .secondary)
VStack(alignment: .leading, spacing: 4) {
Text("Lesson \(n)").font(.headline)
Text(verbatim: SessionView.phrase(n).0).foregroundStyle(.secondary)
}
}
.padding(.vertical, 4)
}
}
}
}
.navigationTitle("Lessons")
.navigationDestination(for: Int.self) { n in
LessonDetailView(n: n, clipped: false)
}
.onAppear {
guard !started, ProcessInfo.processInfo.arguments.contains("--autoplay") else { return }
started = true
Task { await play() }
}
}
}
private func markDone(_ n: Int) async {
store.markDone(n)
doneLessons = store.done
// INTENTIONAL BUG: the counter is reset before the async reload,
// so for ~100 ms it shows "0 of 30 lessons done".
doneCount = 0
doneCount = await store.loadDoneCount()
}
@MainActor
private func play() async {
try? await Task.sleep(for: .seconds(startDelay() + 1.5))
path = [3]
try? await Task.sleep(for: .seconds(2))
path = []
try? await Task.sleep(for: .seconds(1.5))
await markDone(8)
try? await Task.sleep(for: .seconds(3))
}
}
Source SessionView.swift
import SwiftUI
/// A one-minute scripted "QA session": scroll the lesson list, open lessons, go back.
/// Lesson 12 has the same bug as ThaiLessonView: once, for 150 ms, its phrase gets
/// a too-small height and loses the upper Thai marks.
struct SessionView: View {
@State private var path: [Int] = []
@State private var blink = false
@State private var started = false
private static let phrases: [(String, String)] = [
("สวัสดีครับ", "Hello"),
("ขอบคุณมาก", "Thank you very much"),
("ไม่เป็นไร", "Never mind"),
("ห้องน้ำอยู่ที่ไหน", "Where is the bathroom?"),
("เท่าไหร่", "How much is it?"),
("ไม่เผ็ด", "Not spicy"),
("อร่อยมาก", "Very tasty"),
("ฉันไม่เข้าใจ", "I don't understand"),
("พูดช้าๆ หน่อย", "Please speak slowly"),
("ไปสนามบิน", "To the airport"),
("น้ำแข็ง", "Ice"),
("น้ำไม่ไหล", "The water isn't running"),
("ไฟดับ", "The power is out"),
("ลดได้ไหม", "Can you lower the price?"),
("เช็คบิล", "Check, please"),
]
static func phrase(_ n: Int) -> (String, String) { phrases[(n - 1) % phrases.count] }
var body: some View {
NavigationStack(path: $path) {
ScrollViewReader { proxy in
List(1...30, id: \.self) { n in
NavigationLink(value: n) {
VStack(alignment: .leading, spacing: 4) {
Text("Lesson \(n)").font(.headline)
Text(verbatim: Self.phrase(n).0).foregroundStyle(.secondary)
}
.padding(.vertical, 4)
}
.id(n)
}
.navigationTitle("Lessons")
.navigationDestination(for: Int.self) { n in
LessonDetailView(n: n, clipped: n == 12 && blink)
}
// Not .task: it is cancelled when the list disappears behind a pushed lesson.
.onAppear {
guard !started else { return }
started = true
Task { await play(proxy) }
}
}
}
}
@MainActor
private func play(_ proxy: ScrollViewProxy) async {
func wait(_ s: Double) async { try? await Task.sleep(for: .seconds(s)) }
func scroll(_ n: Int) async {
withAnimation(.easeInOut(duration: 0.8)) { proxy.scrollTo(n, anchor: .top) }
await wait(1.6)
}
func open(_ n: Int, for s: Double) async {
path = [n]
await wait(s)
path = []
await wait(1.4)
}
await wait(startDelay() + 2)
await scroll(10)
await scroll(25)
await scroll(1)
await open(3, for: 3.5)
await open(5, for: 3)
await scroll(8)
await open(9, for: 3)
await open(11, for: 3)
// Lesson 12: the only lesson with the bug.
path = [12]
await wait(3)
blink = true
try? await Task.sleep(for: .milliseconds(150))
blink = false
await wait(3.5)
path = []
await wait(1.4)
await open(14, for: 3)
await scroll(22)
await open(24, for: 3)
await scroll(30)
await open(28, for: 3)
await scroll(1)
await open(2, for: 3)
await wait(2)
}
}
struct LessonDetailView: View {
let n: Int
let clipped: Bool
var body: some View {
let (phrase, translation) = SessionView.phrase(n)
ScrollView {
VStack(alignment: .leading, spacing: 14) {
Text("Lesson \(n)").font(.headline)
Text("Translate into English").foregroundStyle(.secondary)
Group {
if clipped {
Text(verbatim: phrase)
.font(.system(size: 42, weight: .semibold))
.frame(height: 32, alignment: .bottom)
.clipped()
} else {
Text(verbatim: phrase)
.font(.system(size: 42, weight: .semibold))
.fixedSize(horizontal: false, vertical: true)
.padding(.vertical, 6)
}
}
Text(translation).foregroundStyle(.secondary)
}
.frame(maxWidth: .infinity, alignment: .leading)
.padding(22)
.background(.background, in: RoundedRectangle(cornerRadius: 16))
.padding(20)
}
.background(Color(uiColor: .systemGroupedBackground))
.navigationTitle("Lesson \(n)")
.navigationBarTitleDisplayMode(.inline)
}
}
The right image at the wrong time
The first thing to check was whether the recording had captured the defect at all. In an early take, the Thai flicker coincided with the launch animation and was absent from the file. No frame analysis method could recover it from that recording.
These Simulator recordings use a variable frame rate, or VFR. During a static section, one frame can remain on screen until the next change. That is why the first recording contains just six frames in six and a half seconds.
Having the right image in the file does not guarantee the right timestamp in the report. Without additional settings, FFmpeg placed the broken phrase at 29.607 seconds in the minute-long recording. It actually appears at 31.272 seconds. The counter had a similar discrepancy, 5.818 seconds instead of 6.347 seconds.
This is an awkward failure. The agent provides a convincing screenshot, describes the defect in detail, and attaches a timestamp that looks precise. The developer opens the video at that time and sees a normal screen.
The times were checked using ffprobe timestamps and frames extracted through AVFoundation. In this environment, the input flag -fflags +igndts resolved the discrepancy in FFmpeg’s processing.
How video stores frames
A video file almost never stores every frame as a separate photo. Otherwise a minute of screen recording would take gigabytes. A full picture is saved only now and then. For the other frames, the file records what changed relative to their neighbors.
It is like the revision history of a shared document. Somewhere there is a full version, followed only by changes such as “a word was replaced in the third paragraph.” To see the document at a given moment, you take the full version and apply the edits in order. For video, rebuilding a frame this way is called decoding.
Some frames are described through two neighbors at once, the previous one and the next one. During smooth scrolling, for example, an intermediate frame is easy to describe as a transition between them. The next frame then has to be built before the current one. Frames are decoded in the order 1 → 3 → 2 and still shown in the order 1 → 2 → 3.
It is similar to making a film. Scenes are not shot in story order. For example, every scene set in one apartment is shot back to back, even if one comes at the start of the film and another at the end. The audience still sees them in story order.
That is why every frame in the file has two timestamps.
PTS (Presentation Time Stamp) is the display time. It is the moment the frame should appear on screen. This is the time you see on the player’s timeline. If the player is at 31.27 s, the screen shows the frame with PTS 31.27 s.
DTS (Decoding Time Stamp) is the decoding time. It is the moment the player should build the frame from the compressed data so that it is ready to be shown. It is an internal mark for the player, and the viewer never sees it.
Usually both timestamps go in the same order. They differ for frames that have to be built in advance. For the same three frames, it might look like this.
| Frame | DTS, decode | PTS, show |
|---|---|---|
| 1 | 0.00 s | 0.03 s |
| 3 | 0.03 s | 0.10 s |
| 2 | 0.07 s | 0.07 s |
Frame 3 is built second, at 0.03 s, and appears on screen last, at 0.10 s. A bug timestamp needs PTS. That is where the developer will look on the player’s timeline.
What +igndts changes
With the Simulator recordings, FFmpeg in its default setup also took DTS into account while reading, and the frame times drifted. The frame with the bug got a time that did not match where it appears in the original video. That is how the agent ended up showing the right frame with the wrong timestamp.
In -fflags +igndts, -fflags configures how the file is read and +igndts enables the rule “ignore DTS if PTS is present.” That is how the FFmpeg documentation describes it. With this flag, the times of the extracted frames in my recordings matched the original video.
ffmpeg -fflags +igndts -i session.mp4 \
-vf "select='between(t,31.1,31.5)'" \
-fps_mode passthrough window-%03d.png
This command saves frames from the 31.1–31.5-second window. With the flag, the expected defect is present in that window in the recording I checked. Without it, FFmpeg returned no frames from the window and assigned the bug image an earlier time.
The timelines below mark the start of the same defect. Without the flag, the timestamp is off by 1.665 seconds in the minute-long recording and by 0.529 seconds for the counter. With +igndts, it matches the original video.
You can inspect the original frame timestamps separately.
ffprobe -v error -select_streams v:0 \
-show_entries frame=pts_time -of csv=p=0 session.mp4
What the skill does
The skill prepares a small set of images to help the agent investigate the recording. FFmpeg decodes the video with +igndts, and the script analyzes it at 15 frames per second of video. For comparison, images are reduced in size and divided into 128 regions. This keeps a change in a small line of text from getting lost in the average difference across the entire screen.
The script saves stable interface states and separately looks for brief flash events. There are two cases to handle here. The Thai text changes and returns to its previous appearance. The counter passes through an incorrect value and settles on a new, correct state, 7 → 0 → 8.
For the second case, checking whether the screen returns to its original state is not enough. The script looks for a brief state that differs from both the preceding and following ones. Limiting the changed area helps reject transitions where almost the whole screen moves.
The selected frames are assembled into sheet.jpg, a labeled contact sheet. timeline.json stores the time and type of each event. The agent first inspects the sheet, then opens a suspicious frame at a larger size. Frames are extracted from the same sequence used for analysis.

The instructions start with ready-to-run commands and an order of operations. This is particularly useful for reuse. The agent immediately knows what to run and which files to open afterward.
Here is what the different extraction methods retained. This table checks whether the defect is visible in the images, separately from the quality of the model’s answer.
| Method | Thai phrase | Counter | Minute-long session |
|---|---|---|---|
| Skill | 3 frames, defect present | 7 frames, defect present | 30 frames, defect present |
fps=1 | Defect missed | Defect missed | Defect repeated in three frames with incorrect times |
mpdecimate | 5 frames, defect present | 12 frames, defect present | 110 frames, defect present |
Here the skill includes both frame selection and +igndts. fps=1 and mpdecimate were run as plain FFmpeg commands without this flag. For mpdecimate, the table only shows whether the defect appears among the saved images. Their timestamps were not checked.
Results across three models
For each run, the agent received a separate folder containing only bug.mp4. It had no app source code or hint about the cause. I used Claude Code 2.1.292 with Opus 5.5, Sonnet 5.5, and Haiku 4.5. FFmpeg, ffprobe, and Python were available in every configuration.
The prompts described a tester’s complaint. Here is the prompt for the minute-long recording, translated from Russian.
A tester sent an iOS Simulator screen recording (bug.mp4) and wrote:
“I spent a minute scrolling through the lesson list and opening lessons.
The text briefly breaks in one lesson, but I couldn't tell which one.”
Use the recording to find what breaks, in which lesson, and at what time.
Save in report.md: the defect, the lesson, the timestamp, and the path
to a frame that shows it. Save that frame in this folder as well.
The skill variant added a request to use screen-recording-triage. Each combination of model, recording, and mode was run twice, for 36 runs in total.
Evaluation checked both the attached frame and the event time. The time had to fall inside the defect interval or be given as a window that contains it. With the skill, all 18 answers were accepted, without it 5 out of 18. Without the skill, the defect itself was found in 17 cases. The main difference was linking the image to the correct time in the original video.
The table shows the number of accepted answers out of two and the approximate cost per run in US dollars.
| Model | Recording | Without skill | With skill |
|---|---|---|---|
| Opus 5.5 | Thai phrase | 2/2, $0.34–0.35 | 2/2, $0.32–0.34 |
| Opus 5.5 | Counter | 1/2, $0.33–0.39 | 2/2, $0.44–0.50 |
| Opus 5.5 | Session | 0/2, $0.53–0.66 | 2/2, $0.36–0.40 |
| Sonnet 5.5 | Thai phrase | 1/2, $0.15–0.23 | 2/2, $0.13–0.21 |
| Sonnet 5.5 | Counter | 0/2, $0.32–0.34 | 2/2, $0.23–0.30 |
| Sonnet 5.5 | Session | 0/2, $0.49–0.66 | 2/2, $0.22–0.26 |
| Haiku 4.5 | Thai phrase | 1/2, $0.11–0.30 | 2/2, $0.10–0.11 |
| Haiku 4.5 | Counter | 0/2, $0.17–0.19 | 2/2, $0.11–0.12 |
| Haiku 4.5 | Session | 0/2, $0.25–0.37 | 2/2, $0.12–0.16 |
| Total | 5/18, $6.18 | 18/18, $4.44 |
One Haiku answer without the skill gave 3.80 seconds, while the defect ends at 3.778 seconds. The frame was correct, but the time falls outside the interval, so the answer was not accepted.
Costs come from the Claude Code run summary and are rounded to cents. The estimated total for 18 runs was about $4.44 with the skill and $6.18 without it. Savings were not universal. For example, Opus spent more on the counter case with the skill.
For Sonnet on the minute-long recording, runtime fell from 126–166 to 50–58 seconds, and estimated cost from $0.49–0.66 to $0.22–0.26. Haiku also identified the event in all six runs with the prepared workflow. Without the skill, one of its six answers was accepted.
Opus made timestamp errors too. In both runs of the minute-long scenario without the skill, it found lesson 12 and saved a frame with clipped text, but reported 29.607 seconds instead of 31.272 seconds. A stronger model received an image with an incorrect time attached and built its answer around that data.
What I would keep
I would keep timestamp handling, the contact sheet, the event log, and a short procedure for the agent. The flash mode is useful for finding flickers, but each detection still needs to be checked against the frame itself.
Text recognition can remain optional. Tesseract misread the Thai phrase even in its normal state, so this OCR is unreliable for locating an exact string in the source code.
The 30-image limit can be changed with --max to suit the recording. When the limit is exceeded, the script discards some states. The bug frame survived in the minute-long clip, but on a longer recording this selection could remove a useful moment.
Installing the skill
The skill is available as an archive containing the scripts and instructions. For local Claude Code, unpack it into the current project’s .claude/skills/ directory. Use ~/.claude/skills/ to make it available across local projects. Both locations are described in the documentation.
mkdir -p .claude/skills
unzip screen-recording-triage.zip -d .claude/skills/
brew install ffmpeg
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install numpy "pillow>=10.1"
From the same terminal, launch Claude Code, put bug.mp4 in the working directory, and ask it to investigate using the skill. You can also prepare the overview independently of the agent with two commands.
python3 .claude/skills/screen-recording-triage/scripts/keyframes.py \
bug.mp4 out/
python3 .claude/skills/screen-recording-triage/scripts/sheet_ocr.py \
out/ --no-ocr
The selected frames, contact sheet, and timeline.json appear in out/. If you need text recognition, install tesseract and the language data as well. Replace --no-ocr with --lang tha+eng.
What I took from this
I wanted to understand what happens between handing an agent a video and receiving a bug report. In these recordings, the model usually spotted the defect. The difficulty arose earlier, while preparing frames and preserving their connection to the original timeline.
The skill was useful as a ready-made workflow for these files. It produced more accepted answers and lower estimated costs in Claude Code. That applied to Haiku and to the stronger models.
This is my personal experiment with three scenarios in one app and two runs per combination. The flicker detection rules were tuned on these same recordings, and another recording still produced false positives during transitions.
For inexpensive models, this kind of skill is useful as a prepared procedure. In my runs, Haiku completed all six tasks with it. Stronger models can use it as a general recording analysis tool too, producing frames, a contact sheet, and timestamps the same way each time. Opus and Sonnet made timestamp errors just as Haiku did.
My criterion for a useful result is simple. The description should come with a frame showing the defect and a timestamp that locates it in the original recording. Once those agree, it is time to look for the cause in the code.
Related posts
- some vs any in Swift: The Difference and When to Use Each
October 17, 2026
- What AI slop is and how to reduce it
November 21, 2026
- ADRs for AI Coding Agents. Preserving the Reasons Behind Architecture Decisions
November 7, 2026