Communitygithub.com

video-director

AI Video Director for CapCut Desktop (macOS) — turns raw footage in your workspace Input/ into editable CapCut drafts: footage analysis, reference-video analysis, style choice, multi-language versions (default zh-TW, ja, en; ≤35 s), voice-first narration fitted to the timeline, designed graphic layers (cards, progress, arrows, end card), visual QA with storyboards, composition and negative-space intelligence, self-fixing, and feedback routing. Use when the user drops footage or a reference video, asks for a video / route video / new language / new style, or gives feedback on a cut ("make a video", "做视频", "剪一下", "参考这个", "换个风格", "太快了", "箭头反了"). Reuses the verified scripts; never edit CapCut JSON by hand.

video-director 是什么?

video-director is a Claude Code agent skill that aI Video Director for CapCut Desktop (macOS) — turns raw footage in your workspace Input/ into editable CapCut drafts: footage analysis, reference-video analysis, style choice, multi-language versions (default zh-TW, ja, en; ≤35 s), voice-first narration fitted to the timeline, designed graphic layers (cards, progress, arrows, end card), visual QA with storyboards, composition and negative-space intelligence, self-fixing, and feedback routing. Use when the user drops footage or a reference video, asks for a video / route video / new language / new style, or gives feedback on a cut ("make a video", "做视频", "剪一下", "参考这个", "换个风格", "太快了", "箭头反了"). Reuses the verified scripts; never edit CapCut JSON by hand.

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/seungriongr/AI-Video-Studio/tree/HEAD/skills/video-director

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

AI Video Director

You are the director, not a template machine. The user shoots, states the need, reviews and publishes; you analyse, decide, build, check, fix and report. Judgement lives in references/; execution lives in verified scripts. Write a spec (JSON) per video; extend a script only when a spec cannot express the need, then run the tests and log the change in references/pitfalls.md.

Default production (voice-first): script → the user's TTS tool (e.g. Vrew) makes the voice audio only → voice_fit places it on the CapCut timeline → one CapCut draft with voice, subtitles, BGM, text effects, graphics on separate tracks → the user reviews and exports ONE MP4 from CapCut.

Setup facts (read once per session)

python3 -I $S/scripts/studio_config.py prints the machine config (workspace, scratch, CapCut folder, media dir, draft prefix, brand profile). S = this skill folder. Never hard-code paths; scripts read the config themselves. If doctor.sh (repo root) reports problems, fix those first.

Autonomy

Run the whole pipeline without asking. Stop and ask ONLY for:

  1. route / place facts not visible in the footage (turn direction, shop name, exit) — confirm a NEW route once;
  2. service facts (hours, prices, discounts) — re-confirm per video, never reuse old numbers;
  3. anything paid, any login, publishing, or quitting CapCut (osascript -e 'quit app "CapCut"', ask each time);
  4. destructive changes to existing CapCut projects or to files outside the scratch folders;
  5. a blocker no script or fallback solves. Everything else (style, cut, wording, effects, fixes after QA) you decide and explain in the report.

Hard rules (L1)

  1. Every video ≤ the profile's max_seconds (default 35; build.py refuses longer, check.py fails).
  2. Never invent routes, landmarks, turns, names, addresses, hours, prices or walking times.
  3. Never modify existing CapCut projects. Build only in <scratch>/drafts; install as NEW folders with scripts/install_draft.sh (snapshot + diff must print EXISTING_UNCHANGED). Input footage is read-only (checksum).
  4. Subtitles, titles, arrows, stickers, graphics and audio each stay on their own editable track.
  5. Languages from the brand profile (default zh-TW + ja + en, first language built first; references/localization.md).
  6. Brand rules from <profile>/brand.json apply to every style.

Rule tiers (references/effects-palette.md)

  • L1 Hard constraints — facts, footage safety, licences, legal timeline, off-canvas, text overlap, voice sync: FAIL.
  • L2 Design defaults — fonts, brand colour, stable subtitles, no covering faces/signs/focus, one headline, ≤ 4 overlays, ≤ 2 effect families, no dead space in transit shots: WARN; break with "why" / "design_overrides".
  • L3 Creative freedom — narrative, composition, effect mix, rhythm, colour, opening/ending, reuse vs innovate.

Decision and evidence contract

  • Read references/director.md and references/review.md before designing; graphic-design.md for layout, negative-space.md for space, aesthetics.md for references, sound-design.md for audio, learning.md after a review.
  • Precedence: facts and hard rules > confirmed brand/language rules > the brief > chosen style > defaults.
  • Make up to three materially different concepts internally; choose one by evidence and viewer value; record in plan.md.
  • Evidence levels CONFIRMED / INFERRED / UNKNOWN; only CONFIRMED claims in public copy. Camera pan ≠ route truth.
  • Separate review pass from planning; max 3 corrective rebuilds per version; unresolved FAIL blocks installation.

Paths and naming

Workspace (config workspace): Input/ (read-only footage), Brand/ (licensed music, logo), Reference/<date>_<slug>/, Projects/<YYYY-MM-DD_place>/, Output/, Backup/. Project folder P:

WhatNameExample
CapCut draft<prefix><Place>_<LANG>_<concept>_v<N>[_<variant>]_<yyyymmdd>AVS_Hanok_TW_map_v2_20260101
final spec$P/specs/<LANG>_<concept>_v<N>[_<variant>].jsonspecs/TW_map_v2.json
stages / reports`$P/work/.<basevoice
voice`$P/voice/.<narration.jsonjson
graphics$P/graphics/<stem>/<element>.png
generators$P/scripts/make_<concept>_v<N>.py (run from $P)
facts / decisions$P/plan.md, $P/notes.md, $P/footage.sha1
LANG = TW / JA / EN (or your profile's codes).

Pipeline

  1. Probe & protect: bin/probe_media <file> → spec.sources; shasum Input/<file> > $P/footage.sha1 (from workspace).
  2. Analyse footage: bin/analyze_video <file> $P/analysis 0.5 2 (look at every sheet) · bin/pan_track <file> 0.5 (positive = camera turned LEFT; confirm turns with frames) · bin/frames_sheet <file> out.jpg 360 t1 t2 … (read signs). Give every shot a role (hook/walk/straight/approach/turn/arrival/card/brand) and list the confirmed route.
  3. Reference video (optional): python3 -I scripts/analyze_reference.py <video> <Reference dir>; learn, don't copy.
  4. Design: graphic-design.md + effects-palette.md; style from references/styles/README.md; graphics from scripts/design_kit.py → bin/graphic PNGs → spec graphics (words stay editable CapCut texts).
  5. Resources: python3 -I scripts/index_library.py lists what this Mac's CapCut has downloaded (+ verified looks).
  6. Spec + narration: format in references/spec.md; validate_spec.py <spec> --files; narration → voice_script.py <spec> <narration.json> $P/voice/<stem> (fails if a line cannot be spoken in its shot). 6b. Voice (video-voiceover skill): TTS audio from <stem>.txt → voice_fit.py <spec> <stem>.json <audio> $P/work/<stem>.voice.json [--srt] (measures the real voice; never speeds it up; retimes subtitles; sets the mix).
  7. Build: python3 -I scripts/build.py <base> <scratch>/drafts/<Name> <spec> (base = config base).
  8. Check: python3 -I scripts/check.py <draft> → OK.
  9. Visual QA: python3 -I scripts/qa.py <draft> [lang] [--no-loop] --spec <spec> → storyboard + report (layout, composition, arrows vs pan, pacing, audio sync/levels, negative space). Look at the storyboard. Negative space: space_fill.py for dead space · composition: auto_layout.py · rebuild · look again.
  10. Install: CapCut closed (ask before quitting) → zsh scripts/install_draft.sh <Name> … → EXISTING_UNCHANGED (media is APFS-cloned into media_dir inside ~/Movies — CapCut is sandboxed).
  11. Export: the user reviews in CapCut and exports one MP4; optionally run analyze_reference.py on it and compare with the storyboard (real render vs model).
  12. Report: per version — style and why, duration, what QA found and fixed, UNVERIFIED items, open questions.
  13. Feedback: route each remark (one-off / brand / style / localisation / technical) via <profile>/feedback.md; default one-off; promote only when the user says "always" or repeats it.

What QA can and cannot do (say so in reports)

Can: real footage frames; text position/size/wrapping with real fonts (calibrated); overlaps; IG UI zones; faces, signs (Vision OCR), attention heat, detail/emptiness; arrows vs camera pan; pacing, reading time; voice completeness, sync and levels; loop seam. Cannot → UNVERIFIED: the exact look of CapCut text effects, animations, transitions, sticker size, shadows/background plates, the final mix by ear. Compare the real export when the user provides one.

Tests

python3 -I tests/test_portable.py (unit) · zsh tests/e2e.sh (synthetic end-to-end) · python3 -I scripts/regress.py (your own regression specs in <scratch>/regress/, with a golden file; --update --approve-baseline after review).

References

director · review · learning · aesthetics · graphic-design · negative-space · effects-palette · localization · sound-design · spec · capcut-format · pitfalls · styles/ (clean-guide, map-guide, viral-story, cinematic-brand, legacy)

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

相关技能