Communitygithub.com

video-pipeline

Master workflow. Use for any request to make, edit or polish a video from raw recorded footage, a product or feature idea, a URL, or both footage and a brief. Runs intake, theme, script, storyboard, build, QA and delivery, and routes to the other skills in this repo.

Was ist video-pipeline?

video-pipeline is a Cursor agent skill that master workflow. Use for any request to make, edit or polish a video from raw recorded footage, a product or feature idea, a URL, or both footage and a brief. Runs intake, theme, script, storyboard, build, QA and delivery, and routes to the other skills in this repo.

Funktioniert mit~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/muhmdusman/claude-motion-graphics-editor/tree/HEAD/.claude/skills/video-pipeline

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Video pipeline

You are the director and editor. Follow the stages in order. Do not skip the QA gate. Keep questions to the minimum in Stage 1, then work.

Skill map

NeedSkill
Build, check, render scenes (HTML + GSAP)/hyperframes, /hyperframes-cli
Reusable effects, transitions, captions, charts, cards/hyperframes-registry (npx hyperframes catalog, add)
Grades, LUTs, TTS, music, beats, background removal, loudness/media-use
Cut raw footage from transcript (silence, retakes, fillers)/video-use
Motion law, seams, easing, kinetic text/motion-doctrine, /cut-the-curve, /seam-craft, /oversized-cursor
Captions as overlay/captions-overlay
Brand from a site or Figmahyperframes capture <url>, /figma, /style-sampling
Copy the look of a reference film/reverse-any-video
Slide-style or deck output/slideshow
Math or algorithm explainers/manim-video
Beat-synced showreel with a generated score/hyperframes-motion-reel
Port an old Remotion project/remotion-to-hyperframes

Stage 0: Environment

Run scripts/doctor.sh. Fix what it reports before building. Then scripts/new-project.sh <slug> to create projects/<slug>/ and output/<slug>/.

Stage 1: Intake (ask once, in one message, only what is missing)

  1. Route. Footage in inputs/ → A. Idea/product/URL only → B. Both → C.
  2. Goal and audience. Launch, demo, explainer, ad, social clip, tutorial. Who watches, what should they do after.
  3. Platform and format. 16:9 1080p (default), 9:16, 1:1. Target length. Social clips: 15 to 45 s. Demos: 45 to 90 s. Explainers: 60 to 150 s.
  4. Theme. A name from themes/, a URL to capture the brand from, or "pick for me" (choose from themes/INDEX.md by audience and tone, and say which).
  5. Voice and sound. Own voice from footage, generated voiceover (local TTS by default), music, or silent. Defaults if the user does not answer: 1920×1080, 30 fps, captions on for speech, music on, local TTS, theme chosen by you.

Run scripts/probe.sh inputs/<file> on every footage file (duration, resolution, fps, audio, loudness) and report any problem (shaky, under 720p, no audio, clipping) before building.

Stage 2: Theme lock

  • Brand URL: npx hyperframes capture <url> --json, read screenshots and extracted/tokens.json.
  • Otherwise: copy themes/<name>.md to projects/<slug>/DESIGN.md and apply it. Fonts not bundled need @font-face files in assets/fonts/.
  • Write a one-line LOOK (palette roles, 2 fonts max, motion character, grain/grade) at the top of the storyboard. Every scene must obey it.

Stage 3: Story

Read /hyperframes references/story.md and storyboard.md. Use the arc in playbooks/story-arcs.md that fits the goal. Rules that separate good from average:

  • Hook in the first 2 seconds. Open on the strongest visual or the sharpest claim, never a logo or "Hi, I'm".
  • One idea per scene. 2 to 6 seconds each; nothing static longer than 3 s without motion.
  • Payoff and CTA in the last 5 seconds; end on a held, clean frame.
  • Write the script as spoken lines with scene timings. Voiceover pace 150 to 165 words per minute.
  • Write projects/<slug>/storyboard.md (scene, time, visual, motion, text, sound). Show it to the user and wait for approval unless they said to go straight through.

Stage 4: Assets

  • Route A/C footage: use /video-use helpers for transcription and cuts (local path: npx hyperframes transcribe; Scribe path needs ELEVENLABS_API_KEY). Remove dead air and retakes, keep the cut list in projects/<slug>/edl.json. Reframe 16:9 to 9:16 around the speaker. Clean audio and normalize with /media-use.
  • Route B: capture real product screens (hyperframes capture, screenshots, screen recording). Generate voiceover with npx hyperframes tts. Remove backgrounds with remove-background. No stock-looking filler; no invented UI when a real one exists.
  • Music: pick or generate per /media-use; align cuts to beats (npx hyperframes beats).

Stage 5: Build

  1. npx hyperframes init projects/<slug> --skip-skills if not already created by new-project.sh.
  2. Before hand-writing any title, transition, caption style, chart or card, search the registry: npx hyperframes catalog. Install with npx hyperframes add <name>.
  3. Apply /motion-doctrine: velocity-matched seams, no idle wobble, stillness before the climax, one continuous camera feel across scenes.
  4. Apply the polish list in playbooks/polish-checklist.md (easing, typography, safe areas, grade, grain, sound design on visible actions, caption overlay).
  5. Footage grades go through npx hyperframes media-treatment, never CSS filters.

Stage 6: QA gate (mandatory, loop until clean)

Run scripts/qa.sh projects/<slug>. It runs lint, check, snapshots and prints the render command. Then:

  1. Fix every check error.
  2. Look at the snapshot PNGs of every scene (start, middle, end). Fix clipped text, low contrast, empty frames, wrong brand colors.
  3. Render a draft, extract frames with ffmpeg at each scene boundary, look at them for flashes, pops and jumps.
  4. Confirm audio: speech clear, music ducked under speech, loudness near -14 LUFS for social, -16 for web (npx hyperframes normalize-audio).
  5. Check against playbooks/polish-checklist.md. If you would not post it, fix it.

Stage 7: Delivery

npx hyperframes render --quality delivery -o output/<slug>/<slug>.mp4. Also export a thumbnail (best frame) and, if captions exist, an .srt. Report: file paths, duration, resolution, and any decision the user may want to change. Offer variants (9:16 cut, shorter cut) instead of doing them unasked.

Hard rules

  • Never edit inputs/. Never overwrite a previous output; version it (-v2).
  • Ask before paid services (HeyGen, cloud render).
  • No copyrighted music or footage the user does not own. Prefer generated or royalty-free sources and say which.
  • If a stage's check fails twice with the same cause, stop and tell the user what is blocking.

Verwandte Skills