vwatch
Let your agent watch local videos the way a person does: skim, notice what's off, look closer, cite the time.
vwatch gives your agent eyes and ears for video files on your machine: timestamped frame grids, dense seeks, crops, a transcript, a loudness meter and model-free hints about where something looks wrong. A skill teaches it how to use them without burning tokens on frames where nothing happens.
Three glitches planted in a 42 s lecture clip; the waiting is sped up 4×. Footage: William Fisher, CopyrightX Lecture 3.2, BerkmanCenter, CC BY 3.0.
Tested on 48 videos no tool had seen before: it finds glitches as well as plain Claude Code (a tie, not a win), at 36% lower cost and 29% less time. Results.
Install in Claude Code
/plugin marketplace add kashaf12/vwatch
/plugin install vwatch@vwatch
That's it on macOS and Linux. On first start the plugin fetches uv, Python, vwatch and a static ffmpeg by itself (one-time download: about 170 MB on Apple Silicon, 350 MB on Linux; a system ffmpeg is used instead if you have one). Windows: see the Windows notes.
Use it with other agents
The tools are a standard MCP server, so any agent that supports MCP and image results can use them:
| Agent | Setup |
|---|---|
| Codex | add [mcp_servers.vwatch] to ~/.codex/config.toml, plus the skill (checked: it finds the same glitches as Claude Code) |
| Gemini CLI | gemini extensions install https://github.com/kashaf12/vwatch |
| Cursor, VS Code, opencode, Windsurf, Claude Desktop | one JSON block in the agent's MCP config |
Copy-paste setups for each: docs/agents.md. vwatch is also on PyPI and in the official MCP Registry as io.github.kashaf12/vwatch; uvx --python 3.12 vwatch starts the server.
Usage
/vwatch:watch ~/renders/promo-v3.mp4 Any flash frames, freezes, jump cuts or audio dropouts?
/vwatch:watch talk.mp4 What is on screen when the speaker says "quarterly revenue"?
/vwatch:watch lecture.mp4 Summarize this with a timestamp for each section
/vwatch:watch bug-report.mov Read the error message that appears near the end
Leave out the question and you get a description of what happens, with times.
Or just ask about a video in plain words; the watch-video skill loads on its own:
"Check ~/Desktop/final-cut.mp4 for glitches before I upload it."
"When does the presenter first show the pricing slide in demo.mp4?"
What you get
| What it does | |
|---|---|
video_info |
Duration, fps, size, audio and speech, and what an overview or seek will cost. Call it first. |
video_transcript |
Timestamped speech from a local whisper model, optionally word by word or for one window. |
video_signals |
Free hints from every frame and the audio: flash, freeze, cut, jump cut, silence in speech, local change. |
video_overview |
The whole video as tiled frame grids with times burned in; short clips come back whole. |
video_seek |
Up to 16 consecutive frames in a window, up to 30 fps, for a close look at one moment. |
video_crop |
One frame cropped to a region at full resolution, for small text, faces and logos. |
video_listen |
Loudness every 0.1 s and the words heard in a window, for audio glitches. |
watch-video skill |
The method below, with a cheat sheet of which signal to check for which problem and a token budget. |
/vwatch:watch |
/vwatch:watch <path> [question] runs the method on one file. |
The tools make no model calls and need no API key: your agent does the looking, so the only cost is its own usage. Every response starts with a line saying which times it shows and roughly how many tokens it costs, so your agent can budget. For example, video_signals on a 50 s clip:
SIGNALS: 31 of 31 candidate moments (top 40 by score, in time order). Model-free hints ...
- 00:13.30–00:13.70 local_change (score 0.30): change confined to one region
- 00:13.43–00:13.53 flash (score 1.00): 3 frame(s) differ from both neighbours
- 00:15.73–00:15.73 cut_in_speech (score 0.75): picture changes abruptly while sound is on
Hints are not verdicts (a sentence pause looks like an audio dropout); the skill has your agent confirm each one by looking or listening. Full reference: docs/mcp.md.
How it works
An AI model can't watch a video. It only sees the pictures it is handed, and every picture costs money. A one-minute video has 1,800 frames, so agents usually look at about one frame per second. A glitch that lasts one frame (1/30 of a second) is then almost never seen.
vwatch works like a security guard with motion sensors:
- Sensors first, free. Before the AI sees anything, vwatch measures every frame and the whole soundtrack on your machine, in seconds and without any AI. It measures how much each frame differs from the one before, which part of the picture changed, and how loud the sound is every 1/50 of a second. Simple rules turn those numbers into alarms:
- flash: the picture jumps away and comes straight back within 1–4 frames;
- freeze: the picture stays exactly the same while the sound continues;
- jump cut: the picture jumps and the audio clicks on the same frame;
- audio dropout: the sound drops to dead silence mid-sentence.
- One glance at everything. The agent sees one grid of small thumbnails across the whole video, to understand what it is about.
- Rewind only at the alarms. At each alarm, or wherever the question points, the agent looks at every frame of that half-second, zooms into a region, or listens. Everywhere else it never looks closely, which is where the savings come from.
- Answer with times. Each finding comes with its timestamp and the tool that showed it, so you can check it yourself.
Alarms are hints, not verdicts: a natural pause can look like a dropout. The watch-video skill tells the agent to confirm or dismiss each one by looking or listening before it reports anything.
Results
Fresh, pre-registered benchmark (2026-11-24). 48 videos none of the tools had seen: 40 short clips plus 8 long videos (12–29 min), from Wikimedia Commons, each with one planted glitch or none. The long videos also had a hidden on-screen code word. The rules were committed before any video was chosen. Each tool ran once on the same model, and everything is scored exactly as labeled.
| Glitch score (F1) | Glitches found | Code word | Cost per video | Time per video | |
|---|---|---|---|---|---|
| Claude Code + vwatch plugin | 0.62 | 78% | 8/8 | $0.20 | 58 s |
| Plain Claude Code | 0.68 | 81% | 8/8 | $0.31 | 81 s |
| claude-video-vision | 0.64 | 72% | 8/8 | $0.35 | 116 s |
How to read this.
- Glitch score (F1): one number from 0 to 1. It is high only when a tool finds most glitches and rarely reports a glitch that isn't there.
- Glitches found: the share of planted glitches each tool caught.
What it says.
- Accuracy is a tie. The gaps between the three tools are too small to tell apart on 48 videos (vwatch minus plain Claude Code: −6 points, uncertainty −18.5 to +4). vwatch is not more accurate. It found the most jump cuts (4 of 8, against 2 and 1), but it missed two flash frames that landed on bright slides.
- It is cheaper and faster, and those gaps are real. vwatch costs 36% less than plain Claude Code and 44% less than claude-video-vision. It takes 29% less time than plain Claude Code and half the time of claude-video-vision.
- Every tool raised false alarms on old archive film. Footage from 1941 and 1961 has real splices and damage that look like glitches. All three tools reported some, and they count against all three.
- Frames alone miss short glitches. On our earlier 40-video set, sampling one frame per second caught 1 of 7 flash frames and 0 of 8 audio dropouts.
Full tables, the uncertainty ranges and the limitations are in the results. Earlier results, including TVBench and a 21-minute long-video check, are in docs/benchmark.md.
Standalone CLI
vwatch also runs on its own from a clone, with its own watcher loop (this one calls a model: an ANTHROPIC_API_KEY or a logged-in Claude Code):
uv run vw watch clip.mp4 -q "Is there any moment where the on-screen price contradicts the narration?"
uv run vw signals clip.mp4 # the free signal hints only, no model call
Setup, options and the eval commands: docs/cli.md.
FAQ
What does the first run download? uv, Python, vwatch and a static ffmpeg: about 170 MB (~35 s) on Apple Silicon, about 350 MB on Linux x86_64. The whisper model (~480 MB for the default small) is fetched only when your agent first asks for a transcript, never in the background, so frame-only use never downloads it. Later starts take about a second. Details.
How long can videos be? Long recordings work. Seeks and crops jump straight to the moment (about 0.1 s on a 21-minute file), and when you open a video the server starts its signal scan, and its transcript if the speech model is already on disk, in the background, so they are ready by the time your agent asks.
Is my video uploaded anywhere? vwatch reads local files only, refuses URLs, and runs ffmpeg and whisper on your machine. The frames and text it returns become part of your agent's conversation, so they go wherever your agent's model runs, like any image you paste.
Can I use my own ffmpeg? Yes. If ffmpeg and ffprobe are on PATH, or VWATCH_FFMPEG / VWATCH_FFPROBE point at them, nothing is downloaded.
Windows? The plugin's launcher is a shell script and is untested on native Windows. Install uv (winget install astral-sh.uv) and add the server with claude mcp add; see docs/mcp.md. WSL works like Linux.
/mcp shows vwatch as failed after install. On a slow connection the first download can outlast Claude Code's MCP startup timeout. Reconnect once it finishes, or start Claude Code with MCP_TIMEOUT=120000.
Which videos work? Any local file ffmpeg can read (.mp4, .mov, .mkv, .webm, ...). Pass absolute paths when you can.
Learn more
Other agents · Benchmark · Fresh benchmark protocol · Eval harness · Datasets · MCP reference · CLI · Roadmap · Changelog · Contributing
License
Code: MIT. Datasets keep their own licenses and are not redistributed here; see docs/DATA.md. To cite vwatch, use CITATION.cff (GitHub's "Cite this repository" button).
Acknowledgements
FFmpeg and faster-whisper do the media work; static-ffmpeg and uv make the zero-setup install possible. The benchmark uses TVBench (Cores et al., BMVC 2025) and openly licensed videos from Wikimedia Commons (full list), and compares against claude-video-vision (with whisper.cpp) and popcorn.
Metadata
Release files for vwatch 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vwatch-0.2.6.tar.gz | 1.6 MB | With provenance | Details for vwatch-0.2.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vwatch-0.2.6-py3-none-any.whl | Python 3 | none | any | Details for vwatch-0.2.6-py3-none-any.whl |
Total release size: 1.8 MB
Release files / vwatch-0.2.6.tar.gz
| Download URL | vwatch-0.2.6.tar.gz |
|---|---|
| Size | 1.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01220471b9d1ef518680914787d2a5b5a88da13b3dc5c2d2e309f6468504ded5
|
|
BLAKE2b-256 checksum How to use checksums |
ac82e02277b3debeecb5dd1276b54bfa7252e6d5ffbd8fe899593e6efad783b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logRelease files / vwatch-0.2.6-py3-none-any.whl
| Download URL | vwatch-0.2.6-py3-none-any.whl |
|---|---|
| Size | 166.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8dd7cdbc3ef3fa5ea98604123da2e722b6df9ee52014a479e7ae4087db8a1def
|
|
BLAKE2b-256 checksum How to use checksums |
635aae777414e204dc3addb3841b8e3c9b829efdae85b4c6755f6ef215e4bb40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logSecurity for vwatch 0.2.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for vwatch-0.2.6.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.