Turn any video URL (YouTube, Instagram Reels/posts, or any yt-dlp-supported site) into a frame-by-frame structured breakdown using the Gemini API.
For each interval the skill emits:
[Timestamp] MM:SS
[Action Description] What is happening in this moment.
[Scene Description] Setting, subjects, lighting, colors, composition, mood.
[Image Generation Prompt] A prompt to recreate this exact frame.
Under the hood: yt-dlp downloads the video → it's uploaded to the Gemini
Files API → the script polls until processing completes → gemini-2.5-flash
streams the breakdown to your console.
Copy the skill folder into your Claude skills directory:
git clone https://github.com/MannJadwani/video-breakdown.git # Global (available in every project): cp -r video-breakdown/.claude/skills/video-breakdown ~/.claude/skills/ # — or — project-local (committed with one project): cp -r video-breakdown/.claude/skills/video-breakdown your-project/.claude/skills/ # Optional: also grab the /analyze-video slash command: cp video-breakdown/.claude/commands/analyze-video.md ~/.claude/commands/
Then in Claude Code, just ask:
break down this video: https://www.youtube.com/watch?v=...
Claude loads the video-breakdown skill, sets up the environment (venv +
dependencies), checks your API key, and runs the analysis.
The skill self-bootstraps on first run via an idempotent setup script:
bash .claude/skills/video-breakdown/scripts/setup.sh
It creates the venv, installs dependencies, scaffolds .env, and updates
.gitignore. Two things it can't do for you (it'll tell you if needed):
- ffmpeg (needs sudo):
sudo apt install -y ffmpeg(Debian/Ubuntu) orbrew install ffmpeg(macOS). Ifpython3 -m venvfails, alsosudo apt install -y python3-venv. - Your Gemini API key — paste it into the scaffolded
.env:Get one at https://aistudio.google.com/apikey.GEMINI_API_KEY=your_key_here.envis gitignored.
python3 -m venv .venv
.venv/bin/pip install -r .claude/skills/video-breakdown/requirements.txt
.venv/bin/python .claude/skills/video-breakdown/scripts/analyze.py "<VIDEO_URL>"Options:
| Flag | Purpose |
|---|---|
--model gemini-2.5-flash |
Choose the Gemini model (default shown). |
--output clip.mp4 |
Set the downloaded filename. |
--cookies-from-browser firefox |
For private / login-walled Instagram posts. Reads cookies from the named browser. |
- Start short. Frame-by-frame analysis of long videos is slow and token-heavy — try a 15–60s clip first.
- Instagram: public Reels/posts work directly; Instagram rate-limits hard,
so space out requests or use
--cookies-from-browserfor private content.