/nz-skills:video-reelsfrom nz-skills
Builds kinetic-type video reels (30s-3min) from HTML canvas: script, AI voiceover, music, beat-grid sync, headless Chromium render, -14 LUFS mix, and social delivery. For hype, explainer, pitch, or event videos.
Ships in nz-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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/.
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.
python3 scripts/cli.py init my-reel --aspect 9x16 copies the starter template
(engine.js, reel.js, index.html), a progress.md checklist and a PROVENANCE.md log. Keep
progress.md ticked as you go: it is the handoff if a session dies.findings.md: each fact with its source link. Label anything
illustrative. Never invent numbers, quotes or results. See references/sourcing.md.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, …).bar(n) in reel.js and on-screen words to VO word times. Cuts
land on bars; hits land on beats.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.
Full list with reasons: references/quality-bar.md. The non-negotiables:
reel.js exports FF_REEL = { DURATION, TIMING, composite(ctx, t), load() }. composite paints the
whole frame from nothing. No Math.random(), no wall-clock time, no state carried between frames:
use FF.hash/FF.noise and pure functions of t.index.html?capture=1&aspect=9x16&scale=1 exposes window.__ready, async window.renderAt(t) and
window.REEL_INFO. The CLI drives exactly these.font-display:block. WebGL scenes, footage frames and determinism fixes:
references/render-and-qa.md.ElevenLabs is the recommended voice provider: natural delivery and a /with-timestamps endpoint that
returns character timings for frame-tight sync. Sign up via TheColab's referral link:
https://try.elevenlabs.io/5530n70zsofy
ELEVENLABS_API_KEY in your environment. Never write it into a project file,
script, log or commit.voice writes <id>.mp3, <id>.alignment.json, <id>.words.json and flags lines over 3 words/s.Open models if you have a GPU (Stable Audio Open family, ACE-Step), or a licensed library track. Never
use commercial songs without a licence. Generate 8+ candidates, score them (aesthetic score + energy
curve vs the script), then beats → music-edit to fit bars. Details: references/audio.md.
Licence first, then pick. Log every external asset in PROVENANCE.md (URL, owner, licence, what you
used). Brand logos and people's likenesses only with permission. See references/sourcing.md.
<name>_master.mp4: CRF 15, AAC 320k<name>_social.mp4: 2-pass H.264, under the size cap (default 60 MB), true peak re-measured after AACfindings.md with sources, and PROVENANCE.md--chunk-frames, --resume) so a crash costs minutes, not the whole render.mix limits the WAV to true_peak - aac_headroom (default -2.8).__ready waits for document.fonts.assets/template/engine.js (opens in a new tab)assets/template/index.html (opens in a new tab)assets/template/reel.js (opens in a new tab)references/audio.md (opens in a new tab)references/quality-bar.md (opens in a new tab)references/render-and-qa.md (opens in a new tab)references/sourcing.md (opens in a new tab)requirements.txt (opens in a new tab)scripts/cli.py (opens in a new tab)scripts/reels_audio.py (opens in a new tab)scripts/reels_browser.py (opens in a new tab)scripts/reels_common.py (opens in a new tab)scripts/reels_video.py (opens in a new tab)scripts/reels_voice.py (opens in a new tab)scripts/smoke_test.py (opens in a new tab)scripts/test_contract.py (opens in a new tab)tests/fixtures/contract.json (opens in a new tab)tests/fixtures/elevenlabs_alignment.json (opens in a new tab)tests/fixtures/whisper_check.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub thecolab-ai/.skills --plugin nz-skills186 skills in this plugin
/airnz-flightsSearch public Air New Zealand fare snapshots and timetable fallback data through a lightweight no-login CLI. Use when the task involves Air NZ route/date fare snapshots, fare products, flight numbers, departure/arrival times, duration, stops, or machine-readable current flight data. Optional --browser mode uses CloakBrowser when installed and returns cloakbrowser_not_installed when unavailable. Read-only; no login, Airpoints, seat holds, booking, payment, manage-booking, or checkout actions./akahu-personalQuery personal transactional bank-account data — account lists, balances, settled/pending transactions, account-specific transaction history, and private JSON/CSV exports — from Akahu, a New Zealand open-banking provider. Use when the task involves personal bank data exports, NZ account balances, transaction analysis, cashflow/spending categorisation, or inspecting authenticated Personal App banking data. Requires user-provided AKAHU_APP_TOKEN and AKAHU_USER_TOKEN; never smoke-test against real personal data in CI./akl-housing-capacityQuery Auckland housing supply trends and 2022/23 plan-enabled and feasible housing capacity. Use for monthly housing updates, building consents, HBA, capacity for growth, PC78, local-board growth capacity, social housing delivery and housing demolition source discovery.Other plugins' skills for the same job