AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Video Debug

skill-vladzima-video-debug-video-debug · by vladzima

Use when the user references a video, screencast, screen recording, or any path ending in .mp4, .mov, .webm, .mkv, or .gif — especially when asking to debug a UI bug, visual glitch, or reproduction recording. Extracts key frames via ffmpeg scene detection so the agent can visually inspect what went wrong.

No reviews yet
0 installs
21 views
0.0% view→install

Install

$ agentstack add skill-vladzima-video-debug-video-debug

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-vladzima-video-debug-video-debug)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Video Debug? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Video Debug Protocol

When the user provides a path to a video file (.mp4, .mov, .webm, .mkv, or .gif), follow this protocol.

Step 1: Extract frames

Run the extractor against the video path the user gave you:

bash scripts/extract.sh 

The script will:

  1. Verify ffmpeg is installed, and if not, offer to install it (you may need to relay a [y/N] prompt to the user).
  2. Probe the video's duration, resolution, and estimated scene-change count.
  3. Decide whether the video is "small enough to process directly" or "large enough to need a strategy."

Step 2: Handle large videos

If extract.sh exits with code 10, the video is large (currently: duration > 60 seconds). The script will have printed a single JSON line to stdout with this shape:

{"large": true, "duration_seconds": 248.5, "resolution": "1920x1080"}

Surface these numbers to the user and present them with these four options:

  • a) Process all frames as-is (may use many tokens).
  • b) Sample down to ~30 evenly-distributed frames.
  • c) Focus on a specific time range — ask the user for start–end in MM:SS or seconds.
  • d) Use a stricter scene threshold (fewer, more distinct frames).

Then re-run with the chosen strategy:

bash scripts/extract.sh  --strategy= [--range=START-END]

For option c, pass --range=MM:SS-MM:SS (or --range=12-30 for raw seconds).

Step 3: Read the timeline

When extract.sh exits with code 0, its last stdout line is the absolute path to a timeline.md file.

  1. Read timeline.md. It lists each extracted frame with its timestamp in the source video.
  2. Read each frame .jpg in order. Your Read tool natively handles images — open them visually.

Step 4: Correlate with the codebase

  • For UI bugs: identify which component is on screen at the moment of the glitch. Use Glob and Grep to locate that component in the user's project. Inspect the relevant CSS, layout, state hooks, or animation logic.
  • For terminal/console errors: read the error text directly off the frame. Search the codebase for the stack-trace symbols.
  • For state bugs: look at what differs between consecutive frames. The change between frame N and frame N+1 is usually the bug.

Step 5: Propose a fix

Always cite the specific frame timestamps that evidenced the problem. For example:

> At 00:04.12 (frame_003.jpg) the sidebar's transform jumps from translateX(0) to translateX(-100%) instantly instead of animating. The issue is the missing transition-transform utility on ` in components/Sidebar.tsx`.

Triggering this skill

Trigger automatically whenever the user references a video file path in the contexts described in the frontmatter. The user can also invoke this skill explicitly with:

/video-debug 

Treat the explicit invocation identically.

What this skill does NOT do

  • No audio transcription. This is a purely visual debugging tool. If the user expects voice-narrated analysis, tell them this skill doesn't transcribe audio.
  • No OCR pre-pass. Read text directly from frames using your multimodal Read capability.
  • No frame editing, annotation, or re-encoding. Frames are read-only.

Failure modes to handle

  • Video file doesn't existextract.sh exits 2. Ask the user to re-check the path.
  • Unsupported containerextract.sh exits 3. Tell the user which extensions are supported.
  • ffmpeg install declined by userextract.sh exits 4. Point the user at https://ffmpeg.org/download.html.
  • No scene changes detectedextract.sh will emit a single representative frame from the middle of the video and note this in timeline.md. Tell the user the video looked static.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.