/analyze-video

Paste a video link. Get a timestamped Word report with screenshots, captions, and concrete visual analysis.
/analyze-video is a skill for any AI coding agent that can run shell commands (Claude Code, Codex, and others). It turns YouTube, Vimeo, TikTok, X, Twitch, and local videos into polished .docx reports. It uses yt-dlp, ffmpeg, contact sheets, optional Whisper transcription, and a guarded, token-efficient frame-selection workflow. Need only the subtitles? It can also download SRT, VTT, or plain-text captions without the report, or save a verified best-quality copy of the video or just its audio.
Install in 60 seconds in the Claude app, Claude Code, Codex, or any agent that loads skills from a folder.

Why people use it
- Video to report: drop in a URL or local file and get a structured Word document.
- Screenshots included: reports embed selected frames with descriptive captions, one per row or two-up side by side.
- Timestamped analysis: transcript evidence and visuals are organized by time range.
- Best-quality copies: save a verified local copy as MKV or edit-friendly MP4, or just the original audio track, with no re-encoding. Picks YouTube's higher-bitrate Premium stream when one is offered, and checks free space first.
- Saved defaults: remember your usual answers (frame counts, save folder, PDF, appendices, download format) and confirm them in one question.
- Open Filmmaker Toolkit export: optionally package timestamped analysis and frame references as an
.oft.json project.
- Token efficient: contact sheets let the AI scan the whole video before reading only the important frames.
- Long-video ready: runs can resume, reuse extracted frames, reuse cached downloads, and emit progress files.
- Accessible output: embedded frames and contact sheets carry required alt text for screen readers.
- Privacy-aware: video processing is local; audio only leaves the machine if optional Whisper fallback is enabled.
Each document is named after the video plus the word analysis (for example how-to-bake-bread-analysis.docx) and records the exact source link or file path it analyzed. Before building, the skill asks whether you want contact sheets and the full transcript appended inside the document, kept as standalone files next to it, and whether you want a PDF alongside the .docx.
How it works
- Download or resolve the source video with yt-dlp or a local path.
- Fetch captions when available, or optionally transcribe audio with Whisper.
- Extract frames at smart intervals.
- Build contact sheets so the AI can preview many frames cheaply.
- Select representative frames with timestamps and chunk awareness.
- Validate the docx spec so stale frame/contact-sheet paths fail before build.
- Write the analysis from visuals plus transcript evidence.
- Export a
.docx with embedded frames, captions, source metadata, and optional appendices/PDF.
One video or a whole batch works. Long videos are automatically chunked so the workflow stays manageable.
Use it from any MCP client (experimental)
scripts/mcp_server.py exposes the pipeline as MCP tools: prepare (download, frames, transcript, contact sheets), captions, validate (spec paths and alt text) and get_image (return a frame or contact sheet). Building the .docx is not exposed yet.
pip install "mcp<2"
python3 scripts/mcp_server.py # stdio; point your client's MCP config at this command
Just want the captions?
Ask "download the captions for " and the skill skips the report entirely. Or run it directly (only yt-dlp is required):
python3 scripts/captions.py --source "<url>" --out-dir ~/Downloads # English SRT
python3 scripts/captions.py --source "<url>" --langs es,fr --format srt,txt # pick languages and formats
python3 scripts/captions.py --source "<url>" --list # see available languages
python3 scripts/captions.py --source clip.mp4 --format srt,txt # local file: its .srt/.vtt, else Whisper