analyze-video
Skill16 starsChanged 5 months agoMITView on GitHub
Analyze a reference video (YouTube URL or local file) into a scene-by-scene breakdown — timecodes, shot types, camera moves, on-screen text, spoken lines — plus a recreation blueprint with per-scene video prompts and VO script. Use when the user says "analyze this video", "I want to create something like that", "recreate this video", "break down this YouTube video", or pastes a video link they want to emulate.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- barefootford/buttercuttheir own version, first seen Sep 14, 2026
- novoads/agent-skillstheir own version, first seen Aug 8, 2026
- mrdainami/omni-video-directortheir own version, first seen Jul 9, 2026
- flintfromthebasement/skillstheir own version, first seen Jul 6, 2026
- evillollive/Analyze-Video-Skilltheir own version, first seen Jun 10, 2026
- breethomas/bette-ostheir own version, first seen Mar 8, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- barefootford/buttercut★ 600same name
- novoads/agent-skills★ 20same name
- mrdainami/omni-video-director★ 18same name
- evillollive/Analyze-Video-Skill★ 2same name
- flintfromthebasement/skills★ 1same name
- breethomas/bette-os★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- content-preflightSkill
- content-reviewSkill
- cost-guardSkill
- create-workflowSkill
- generate-brand-assetsSkill
- generate-imageSkill
- generate-musicSkill
- generate-videoSkill
- generate-voiceoverSkill
- localize-contentSkill
- onboard-brandSkill
- package-contentSkill
- plan-contentSkill
- preview-pickSkill
- produce-contentSkill
- qa-reviewSkill
- repurpose-contentSkill
- revise-contentSkill
- write-copySkill
The file
Files
Analyze Reference Video → Recreate
Turn "I want to create something like that + a link" into a structured, reproducible plan. Two halves:
- Analyze — one CLI call produces
breakdown.json(machine),breakdown.md(human, scene-by-scene like a shot list), andrecreation-plan.md(per-scene video prompts + VO script). - Recreate — the blueprint feeds the NORMAL production flow (preflight → asset registry → pipeline → generate). This skill never auto-generates the remake.
CRITICAL: CALL THE WORKFLOW CLI — DO NOT WRITE A SCRIPT
node workflows/cli.cjs analyzeReferenceVideo '<json-args>'STEP 1: Resolve the source
| User gives | Pass |
| YouTube URL | youtubeUrl — Gemini fetches it directly, no download |
| Local file (mp4/webm/mov) | videoPath — ≤19 MB goes inline; larger files auto-upload via the Gemini Files API (48h storage, free) |
Ask if unclear:
- What do they want out of it? Structure only? Style? Full remake with
their product? → pass as
notes(it tailors the recreation blueprint). - Non-English speech? → pass
language(e.g."Burmese") for accurate verbatim dialogue capture.
STEP 2: Estimate cost and confirm
Analysis is a Gemini 3.5 Flash multimodal text call — video input is tokenized at roughly 300 tokens/second of video (~$0.03/min of video, plus output). A 7-minute video ≈ $0.15–0.25. State the estimate; for videos over ~20 minutes, warn and confirm before running.
STEP 3: Run the analysis
node workflows/cli.cjs analyzeReferenceVideo '{
"youtubeUrl": "https://www.youtube.com/watch?v=...",
"outputDir": "projects/{name}/output-contents/{date}/{content-id}",
"notes": "Recreate for my coffee brand, 30s vertical for Reels",
"language": "Burmese"
}'(Or "videoPath": "path/to/video.mp4" instead of youtubeUrl.)
Output lands in outputDir:
| File | What it is |
breakdown.json | Full ReferenceVideoBreakdown — metadata, style, pacing, audio profile, scenes[], recreation{} |
breakdown.md | Human shot list: Scene N · 0:00–0:03 — Opening hook, shot type, camera move, visual, on-screen text, spoken line |
recreation-plan.md | Per-scene ready-to-adapt video prompts + VO lines + suggested CLI command + music brief |
SHOW the user the breakdown summary (scene count, duration, style summary) and where the files are. Log the call in the manifest + prompts.txt as usual.
STEP 4: Recreate (only if the user wants to proceed)
The blueprint's prompts keep subjects GENERIC on purpose. To produce the remake:
□ 1. Run content-preflight — resolve project, brand, characters, products
□ 2. Swap generic subjects in recreation-plan.md prompts for the user's
registered assets (use asset ids / reference images — never re-describe)
□ 3. Adapt format: reference may be 16:9/6min — user probably wants 9:16/30s.
Compress scenes; keep the reference's STRUCTURE (hook → beats → CTA)
□ 4. Review prompts (reviewVideoPrompt / reviewScript) — pennies vs. dollars
□ 5. Author {content-id}.pipeline.json from the blueprint scenes (RULES 7)
and execute with runPipeline
□ 6. Propose camera moves from the preset library per scene — don't improviseRespect RULES.md throughout: budget consent before generating, preset libraries for camera moves/art styles, never fake testimonials heard in the reference video — the user's own social proof only.
Edge cases
- Private/age-gated/region-locked YouTube video → Gemini can't fetch it; ask the user for a local file instead.
- Copyrighted content: analyzing structure/style is fine; warn the user the remake must not clone copyrighted footage, music, or a real person's likeness (RULES: real people need consent).
- JSON parse failure (rare): the raw model output is saved to
breakdown-raw.txt— just retry the command once. - Very long videos: scene lists get huge; suggest analyzing the most relevant segment (extractClip on a local copy) or accept a coarser breakdown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

