---
name: claude-watch-video
description: Use when you say "turn this YouTube tutorial into a Claude Code agent" or "watch this video"; it installs the /watch plugin so Claude Code gets timestamped frames and a transcript from any video URL or file, or hands the whole video to Gemini.
---
# Let Claude watch a YouTube tutorial
## What it does
Watch (`/watch`) gives an agent video evidence. You give it a video URL or a local file and it returns timestamped frames plus a transcript, so Claude can answer questions about what is on screen and what is said. That evidence is what you then read across to write a spec or a skill for your agent; the reconciling and skill writing is a prompt you give Claude, not part of this repo.
Two engines:
- **gemini**: with a free Google AI Studio key, the whole video (picture and sound) goes to Google's agentic video model and Watch relays its timestamped answer. YouTube links need nothing else installed.
- **local**: Watch downloads with yt-dlp and extracts frames with ffmpeg on your machine. Native captions come first; speech fallback is optional local WhisperX, or cloud Groq or OpenAI Whisper. `local` never contacts Google.
Detail levels for the local engine: `transcript`, `efficient` (cap 50 frames), `balanced` (cap 100), `token-burner` (uncapped). You can focus a range with `--start`/`--end`, pin cue frames with `--timestamps`, and cap frames with `--max-frames`. Watch never switches engines on its own.
Only run it on videos you are allowed to download or send to a provider, and stay within the site's terms.
## What you need
- Claude Code: a **Code** session in Claude Desktop, or Claude Code in VS Code or a terminal. Watch does **not** work in Claude Chat or Cowork. Codex and other Agent Skills hosts work too.
- Python 3.10+, FFmpeg/ffprobe, and the latest yt-dlp release. YouTube also needs a supported JavaScript runtime (Deno) / EJS setup. Installing the skill does not bundle these programs.
- Optional, for the Gemini engine: a free key from https://aistudio.google.com/apikey
- Optional, for speech fallback: a Groq key (https://console.groq.com/keys) or an OpenAI key (https://platform.openai.com/api-keys), or local WhisperX, which needs Watch v0.3.0 or later, at least 3 GB free disk and 8 GB RAM. Apple Silicon macOS is verified; Intel macOS, Linux and Windows installs are untested.
## Setup
Install in Claude Code in a terminal. Start Claude Code with `claude`, then enter these inside the session, one at a time:
```text
/plugin marketplace add bradautomates/claude-video
/plugin install watch@claude-video
```
At an ordinary terminal prompt instead:
```bash
claude plugin marketplace add bradautomates/claude-video
claude plugin install watch@claude-video
```
Start a new Claude Code session, type `/watch` and pick `/watch:watch`.
In Claude Code in VS Code: type `/plugins`, open **Marketplaces**, add `bradautomates/claude-video`, then under **Plugins** find **watch** and choose **Install for you**.
In Claude Desktop: **Customize → Plugins → Add → Add marketplace → Add from a repository**, paste `https://github.com/bradautomates/claude-video`, click **Sync**, then install **Watch** from that marketplace and use a **Code** session.
Media tools, if Claude reports something missing. On macOS, install Homebrew (https://brew.sh), then run:
```bash
brew install python ffmpeg yt-dlp
```
On Ubuntu/Debian run these, and install Deno for YouTube:
```bash
sudo apt install python3 ffmpeg pipx
pipx install "yt-dlp[default,curl-cffi]"
pipx ensurepath
```
On Windows, install Python 3.10+, then run:
```powershell
winget install --id Gyan.FFmpeg --exact
winget install --id yt-dlp.yt-dlp --exact
winget install --id DenoLand.Deno --exact
```
Reopen the terminal and the agent after installing. Settings and keys live in `~/.config/watch/.env`; the first run asks for your engine, detail and fallback. Paste the Gemini key in chat so Claude writes the `GEMINI_API_KEY=` line, or ask Claude to open that file in your text editor so you add it yourself. Keys are never logged and should not be pasted into public issues.
## How to use it with Claude
- "Use the watch skill on this YouTube tutorial and summarize what is on screen with timestamps."
- "Treat the frames as what was seen and the transcript as what was said. Merge them into one timeline of beats (timestamp, what is on screen, what is spoken, what changed), report only what the frames or transcript show, mark anything inferred as inference and anything the sampling could have missed as a gap, and finish with the three highest-signal observations with timestamps."
- "Use watch with `--engine local` on this file; the video is private and must not leave my machine."
- "Run `/watch video.mp4 --start 2:15 --end 2:45 --resolution 1024` and read the commands typed on screen."
- "Run `/watch video.mp4 --detail transcript --timestamps 1:05,2:30` and tell me what happens at those moments."
- "Use the watch skill's bundled setup.py to check dependencies in this session and tell me which tools are missing."
For flags and options not listed here, see the project's README: https://github.com/bradautomates/claude-video
## Credits
Made by bradautomates (/watch, claude-video), packaged by Orbit. Source: https://github.com/bradautomates/claude-video — license: MIT.
The post: https://www.instagram.com/p/Db1USzsMNnZ/