video-reels
Make short kinetic-type video reels (30 s to 3 min hype, explainer, pitch or event videos) from an HTML canvas project: brief, sourced facts, script, AI…
от thecolab-ai★ 41 звезда на GitHub
Установить video-reels в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Video reels
Build polished short videos where type is the hero: a canvas engine draws every frame as a pure
function of time, so preview and export share one code path and any frame renders identically on any
worker. Python helpers in scripts/ do stills, render, QA, audio and delivery. Deep detail lives in
references/.
Before you start: ask one question
Phone (9:16, 1080×1920) or screen (16:9, 1920×1080)? Build only that one. A phone video is designed vertical from the start (stacked layouts, body type ≥ 64 px, ~220 px clear at the top and ~300 px at the bottom for platform UI, nothing important in the bottom 15%), never a crop of a 16:9 cut.
Also confirm: audience, the one thing they should feel or do, length, voiceover or music-only, and what brand assets you are permitted to use.
Workflow
- Project.
python3 scripts/cli.py init my-reel --aspect 9x16copies the starter template (engine.js,reel.js,index.html), aprogress.mdchecklist and aPROVENANCE.mdlog. Keepprogress.mdticked as you go: it is the handoff if a session dies. - Facts from real sources only. Write
findings.md: each fact with its source link. Label anything illustrative. Never invent numbers, quotes or results. See references/sourcing.md. - Script (
script.md): a story arc, one idea per line, short on-screen lines and long holds (viewers must be able to read every line twice). Give each VO line an id (l01,l02, …). - Voiceover. Generate lines, respell names that TTS mangles, then Whisper-check every line and keep the word timings. See references/audio.md.
- Music. Generate or license several candidates, score them, find bpm and bar phase, and make a bar-aligned edit so bars land on even video seconds.
- Beat-grid sync. Key scenes to
bar(n)inreel.jsand on-screen words to VO word times. Cuts land on bars; hits land on beats. - Review stills before any full render. Contact sheets every 0.5–1 s, fix, repeat. Budget 2–3 passes. Share stills or a low-res preview for feedback before polishing.
- QA. Determinism check, then render, then flicker check.
- Chunked render → mix → deliver.
Commands
All commands take --json. Times accept 12.5, comma lists or start:end:step ranges.
# project + review
python3 scripts/cli.py init my-reel --aspect 9x16
python3 scripts/cli.py shots my-reel my-reel/shots/v1 0:30:1 --sheet my-reel/shots/v1.png --scale 0.5
python3 scripts/cli.py determinism my-reel --t 2.1 14.0 --pages 4
# render (parallel headless Chromium → near-lossless x264, 1,800-frame chunks, resumable)
python3 scripts/cli.py render my-reel my-reel/out/master.mkv --fps 30 --workers 8 --resume
python3 scripts/cli.py render my-reel my-reel/out/preview.mkv --scale 0.333 --workers 4 # 360p draft
python3 scripts/cli.py flicker my-reel/out/master.mkv
python3 scripts/cli.py vdiff my-reel/out/a.mkv my-reel/out/b.mkv
# audio
python3 scripts/cli.py voice script.json my-reel/vo --voice-id <voice-id>
python3 scripts/cli.py whisper my-reel/vo/l01.mp3 my-reel/vo/l02.mp3 --expect script.json
python3 scripts/cli.py beats my-reel/audio/candidate3.wav
python3 scripts/cli.py music-edit my-reel/audio/candidate3.wav my-reel/audio/bed.wav --bpm 120 --phase 0.035 --segments 0:4:6,12:16:7 --duration 30
python3 scripts/cli.py mix my-reel/mix.json my-reel/audio/mix.wav
# deliver: CRF 15 master, 2-pass social copy under 60 MB, stills
python3 scripts/cli.py deliver my-reel/out/master.mkv --audio my-reel/audio/mix.wav --outdir my-reel/deliver --name my-reel --stills 3 14 28
Install: pip install numpy playwright && python -m playwright install chromium (or set REELS_CHROMIUM
to an existing Chrome/Chromium). Optional: pip install faster-whisper. Put TMPDIR on a local POSIX
filesystem; Chromium cannot create its profile on NTFS/exFAT/SMB.
Quality bar
Full list with reasons: references/quality-bar.md. The non-negotiables:
- One idea per line, and one visual metaphor per idea. Never just information on screen.
- One accent colour plus near-black, with subtle grain and vignette. Ban every other colour.
- Three typefaces with fixed jobs: heavy grotesk for impact, mono for the "machine voice", serif for emotion. Never swap their roles mid-video.
- Everything lands on the audio: cuts on bars, hits on beats, words on VO word timestamps.
- Long holds and contrast in pacing: dense set pieces, then near-empty frames before the drops.
- End on an idea or image, not a logo slate. A tiny sign-off is enough.
- 30 fps by default. 60 only when motion truly needs it; it doubles render time.
- Every VO line passes Whisper. Drop or rewrite a line rather than ship a mangled word.
- Accent flashes ease in over ~3 frames and peak on the beat; a 1-frame hard flash reads as flicker.
Engine contract (template)
reel.js
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- assets/template/engine.js
- assets/template/index.html
- assets/template/reel.js
- references/audio.md
- references/quality-bar.md
- references/render-and-qa.md
- references/sourcing.md
- requirements.txt
- scripts/cli.py
- scripts/reels_audio.py
- scripts/reels_browser.py
- scripts/reels_common.py
- scripts/reels_video.py
- scripts/reels_voice.py
- scripts/smoke_test.py
- scripts/test_contract.py
FAQ
Что делает скилл video-reels?
Make short kinetic-type video reels (30 s to 3 min hype, explainer, pitch or event videos) from an HTML canvas project: brief, sourced facts, script, AI voiceover, music, beat-grid sync, stills review, chunked headless-Chromium render, -14 LUFS mix and social delivery. Use when asked to make, edit, render or QA a reel, promo, showreel, lyric/kinetic-type video or vertical phone video. Not for editing existing camera footage timelines in an NLE.
Как установить скилл video-reels?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл video-reels запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…