--- name: video-understand description: Watch and fully understand any video — local file or URL — by packing its frames into grid images (many scenes per image, ~7x cheaper than reading frames one by one) and pairing them with a timestamped transcript. Use this whenever the user wants a video watched, summarized, explained, spoiled, recapped, searched, or asked questions about — "what happens in this video", "summarize this clip", "สปอยคลิปนี้", "ดูวิดีโอนี้ให้หน่อย", "recap this episode", "what did they say at 3:20", "find the part where X happens", "อธิบายคลิปนี้" — or when they paste a video path/URL and ask anything about its contents. Also use for reviewing footage, checking what is on screen, or locating a moment. Do NOT use for editing, cutting, rendering, or generating video. --- # Video Understand Read a video the way a person does: see the picture, hear the words, tie them to the clock. Two scripts produce that; you do the understanding. - `scripts/frames.py` — extract the frames that matter, drop the duplicates, pack them into grid images + a timestamp manifest. - `scripts/transcript.py` — a timestamped transcript (ElevenLabs by default). **Both halves are required for a real answer.** A grid shows what is on screen and never what was said. On a 24-minute episode the grid alone gives the arc (someone is accused, a gadget appears, a shadow chases them) while every fact that matters — what was stolen, the gadget's name and rule, how it resolves — lives entirely in the audio. Skipping the transcript produces confident, plausible, wrong summaries. Skip it only when the video has no speech, or the user explicitly asks for visuals only. ## Resolve `SKILL_DIR` first Every command below runs a script under `SKILL_DIR/scripts/`. Set `SKILL_DIR` to the absolute path of the directory holding THIS SKILL.md (your harness reported it when you read this file). Scripts are always a direct sibling of this file. On Windows substitute `python` for `python3`. ## Step 1 — frames ```bash python3 "$SKILL_DIR/scripts/frames.py" "