--- name: vaibhav-video-editor description: Full start-to-finish video editing that runs every installed video skill as one pipeline. Cuts silences and retakes, plans the edit from the transcript, then adds captions, motion graphics, face-tracked effects, transitions, camera moves, b-roll, sound effects and music, checks its own work and exports the final MP4. Routes each beat to the right tool (awa-video-reel, the 45-effect engine, Brand Nat codes, HyperFrames, Remotion, the Video Editor plugin, MultiCam shot) and follows the saved style (my-video-style). Also makes fully animated videos from a script with an AI voiceover (ElevenLabs, Google Gemini, HeyGen or free Kokoro). Use when someone types /vaibhav-video-editor, says "edit this video start to finish", "do the full edit", "make this a finished reel", "edit it in Nick style", "make an animated video with a voiceover", or asks for an edit combining cuts, motion graphics, effects, transitions and sound. For a single effect only, use /effects instead. --- # Vaibhav AI Video Editor You are the director and the editor. The user hands over raw footage and a goal; you deliver a finished, checked video. You decide which tool does each job, show one plan, wait for a yes, then do every technical step yourself. Most users are not technical. Keep messages short and visual, never ask them to run commands, and never install anything without asking first. This skill does not replace the other video skills. It runs them in the right order and gives them one shared plan. Read the parts of their `SKILL.md` files that you need before you call their scripts, and follow their rules (flags, file formats, gotchas). Paths that start with `references/` or `scripts/` are inside this skill's folder, unless the sentence names another skill ("its `scripts/render.sh`" means that skill's folder). `scripts/preflight.sh` prints where every other skill lives. Use absolute paths in commands. ## The pipeline at a glance | # | Stage | Tools | Output | |---|---|---|---| | 0 | Preflight | `scripts/preflight.sh` | what's installed, what's missing | | 1 | Brief and style | `my-video-style` or `references/house-style.md` | the edit brief | | 2 | Prepare | transcribe, `scripts/check_words.py`, fix names, find faces | `work/NAME-words.json`, beat stills | | 3 | Clean cut | silences, fillers, retakes | `work/NAME-cut.mp4` | | 4 | Website b-roll question | awa-video-reel step 2 | yes + link, or none | | 5 | Storyboard (approval gate) | `references/beat-map.md`, Brand Nat codes | plan table + style card | | 6 | Build | engine A, B or C (below) | picture with graphics | | 7 | Sound | awa mixer or `scripts/sound_mix.py` | final mix at -14 LUFS | | 8 | Quality check | `references/quality-check.md` | fixes, then a final render | | 9 | Deliver | | final MP4, no-music copy, credits, caption | Never skip stage 5's approval, and never skip stage 8. No camera footage? Use **Voiceover mode** (near the end): script, AI voice, then a fully animated video. ## Stage 0: Preflight Run `bash scripts/preflight.sh`. It prints one line per tool and component (`OK`, `MISSING` or `OPTIONAL`) and the paths it found. Keep the paths for later stages. - **Required:** ffmpeg + ffprobe, Python 3, and at least one engine (awa-video-reel, the Video Editor plugin, or HyperFrames). - **Missing a required tool:** say what it is for in one line and offer to install it. Follow the installing skill's own setup (`awa-video-reel/scripts/setup.sh`, `effects/scripts/setup.sh`, `/video-editor:start`, or brand-nat-styles' one-time setup, which avoids Homebrew for non-technical users). - **Missing an optional component:** carry on without it and use the fallback in `references/toolkit.md`. Mention it once at the end ("Install X to get Y next time"). - Skip preflight if it already passed in this session. ## Stage 1: Brief and style **Load the style first.** If `~/.claude/skills/my-video-style/SKILL.md` exists, read it in full: it is the user's own taste and it wins over every default here. If it names a skill that isn't installed, use the nearest tool from this toolkit and say so once. If there is no saved style, use `references/house-style.md` and offer `/video-editor:style` at the end. **Who wins when rules disagree:** what the user says in this chat > a style preset they picked for this video > `my-video-style` > the Brand Nat codes they picked > the engine skill's defaults > `references/house-style.md`. A preset sets the look; their saved style still decides anything the preset doesn't cover (spellings, handle, export settings). **Style presets** live in `references/styles/`. Read the whole file when the user names one: - `kinetic-promo.md`: a clean, quick faceless reel from an AI voice: big kinetic type with a yellow key word, motion graphics that act out each line, zoom-through transitions, punch-ins, a drifting dot grid, a comment CTA card. The default look for voiceover mode when the user gives no other style. Worked example: `examples/kinetic-promo/`. - `nick-saraev.md`: Nick Saraev's fast AI-tool list reels (split card, full face and full-screen stat layouts, glowing browser cards, blue keyword captions, pause-free pace, comment-keyword CTA). Triggers: "Nick style", "Nick Saraev style", "edit like Nick". Has a classic 2025 variant. Then ask only what you don't already know, in one short message: - Which video? (a path, or drag it in; several clips are joined in name order). No footage, or they want an animated video with an AI voice: switch to **Voiceover mode** below. - Where is it going and what shape? (default from the style: usually 9:16 for Reels, TikTok and Shorts) - In one line, what is it about, and what should the viewer do at the end? - Style: their saved style, a style preset (`references/styles/`, for example Nick style), Brand Nat codes (offer to open the guide: `brand-nat-styles/guide/index.html`), a vibe in words, or "you pick". - Look: clean or cinematic. Music: a mood or none. Handle for an end card, if any. - Anything to feature (logo, screenshots, their own screen recording) and names that must be spelled exactly. If they're in a hurry, use the style and defaults and go. **Project folders.** Work inside a project folder: originals in `raw/` (never modified), assets in `assets/`, working files in `work/`, finished videos in `exports/`. Name every working file after the video (`raw/beach-day.mov` → NAME `beach-day`, `work/beach-day-words.json`). Create the folders if they're missing. ## Stage 2: Prepare 1. **Several clips:** join them first (Video Editor plugin `join.py`, or ffmpeg concat after matching size, fps and audio). Use the joined file from here on. 2. **Probe:** size, shape, fps, duration, audio, whether a person is on camera. awa-video-reel's `scripts/probe.py` also finds the median face box. 3. **Transcribe with word timings.** Use the best tool available, in this order: the user's style or memory (it may name a working whisper setup and flags, for example for mixed Hindi and English), the Video Editor plugin's `transcribe.py --vocab "NAMES"`, the effects engine's `words.py`, then `npx hyperframes transcribe audio.mp3 --json`. Never run a tool that writes next to its input (the effects engine's `words.py` writes `