设计与多媒体

watch

bradautomates/c…de-video

Watch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or local WhisperX / cloud Whisper fallback), and hands the result to the agent so it can answer questions about what's in the video. With a Gemini API key, Google's agentic video model watches the full video instead.

  • 1.8万 次安装
  • 2万 星标
  • 收录于

安装命令

npx skills add https://github.com/bradautomates/claude-video --skill watch

SKILL.md

/watch

Run the bundled Python script. With the gemini engine (a GEMINI_API_KEY is configured) Google's video model watches the video and the report carries its timestamped answer for you to relay. With the local engine the script produces timestamped frames and a transcript; view the frames and answer from that evidence. Native captions come first; the chosen local or cloud backend is only a fallback. Transcript-only evidence cannot establish visual facts.

Resolve the skill and interpreter

SKILL_DIR is the absolute directory containing this SKILL.md; scripts/ sits beside it.

Commands below use python3 for macOS/Linux. On Windows, verify a working Python 3.10+ with python --version or py -3 --version and use that interpreter. python3 is not always a Store alias; inspect the actual result. In PowerShell use $SKILL_DIR rather than Bash variable syntax, for example:

python "$SKILL_DIR/scripts/setup.py" --json

Use the host's available shell, image viewer, and question tool. AskUserQuestion and Bash are examples, not requirements for every host.

First run and setup

On the first invocation in a session: