Answer questions about a local video file by sampling frames with ffmpeg and sending them to qwen/qwen3-vl-8b on Novita. Use when the user asks what happens in a video, or to find a moment in a screen recording.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Video Understanding?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/maimorylab-video-understanding)
---
name: bootagent-video-understanding
description: "Answer questions about a local video file by sampling frames with ffmpeg and sending them to qwen/qwen3-vl-8b on Novita. Use when the user asks what happens in a video, or to find a moment in a screen recording."
---
# Video understanding
Generated by BootAgent. It calls `qwen/qwen3-vl-8b` on the user's Novita account. BootAgent rewrites this Skill when the model or Provider changes, so do not edit it.
## When to use
When the user asks about the contents of a local video file: what happens in a screen recording, where an error appears, what a clip shows. It samples still frames, so it sees what is on screen but not the audio.
## Requirements
`ffmpeg` must be on `PATH` where you run commands. If it is missing the script exits with code 3; tell the user to install ffmpeg (for example `brew install ffmpeg` on macOS) and try again.
## Command
Run the script from the user's working directory, using the absolute path to this Skill:
```bash
node <this Skill's directory>/scripts/run.mjs describe-video --video <path> [--prompt "<question>"] [--frames <1-16>] [--max-tokens <n>]
```
- `--video`: a local video file ffmpeg can read (mp4, mov, webm and similar).
- `--prompt`: what to ask about the video. Put the user's actual question here. Default: "Describe what happens in this video."
- `--frames`: how many frames to sample, spread evenly over the video. Default 8. More frames see more but cost more.
- `--max-tokens`: the longest answer to allow. Default 1024.
- `--timeout`: seconds to wait. Default 300.
The answer is printed to stdout as plain text. The frames are written to a temporary directory and removed afterwards.
## Rules
- Each run is a billed request carrying every sampled frame as an image, so it costs about as much as that many image questions. Run it when the user asks about a specific video; ask before raising --frames or running it over many files.
- Never print, echo or log environment variables, `~/.bootagent/skill-env/novita.env`, or anything that could reveal the API key. The script reads the key itself; you never need it.
- Only send files the user asked about. They go to the user's own Provider and nowhere else.
## Exit codes
| Code | Meaning | What to tell the user |
| --- | --- | --- |
| 0 | Success | Report the result. |
| 2 | Bad arguments or input file | Fix the command, or ask the user for the right file. |
| 3 | Setup problem: Node.js older than 18, or no API key found | Ask the user to restart the Agent so it picks up `BOOTAGENT_NOVITA_API_KEY`, or to reinstall this Skill from BootAgent. |
| 4 | The Provider refused the request | Show the Provider's message. The model may not support this input; the user can choose another model in BootAgent. |
| 5 | The Provider rejected the API key | Ask the user to check the Novita key in BootAgent. |
| 6 | The Provider was unreachable, busy or timed out | Suggest trying again later. |
`node <this Skill's directory>/scripts/run.mjs check` confirms the key is available without sending a request.