bramwelldocs

Developers

Commands

Every script, every flag. S is the skill folder, e.g. ~/.claude/skills/bramwell-motion.

setup.mjs

bash
node $S/scripts/setup.mjs              # interactive: toolkit, ElevenLabs key, default voice
node $S/scripts/setup.mjs --check      # read-only report
node $S/scripts/setup.mjs --install    # Playwright + Chromium only
node $S/scripts/setup.mjs --key        # (re)enter the key
node $S/scripts/setup.mjs --voice      # change the default narrator

new.mjs

bash
node $S/scripts/new.mjs reels/my-reel --title "Onboarding emails"

Scaffolds a project from the five-beat template: scene.js, bramwell.config.json, plan/brief.md, audio/script.txt, audio/sfx-plan.json.

direct.mjs

bash
node $S/scripts/direct.mjs reels/my-reel [--script audio/script.txt] [--tone dry] [--json]

Free. Writes plan/direction.json. See Auto-direction.

eleven.mjs

CommandCostDoes
creditsfreeplan and credits left
voices [--search british]freevoices on your account
cast <proj> [--tone] [--gender] [--accent]freewho would narrate, and why
tts <proj> [--voice auto|id] [--model eleven_v4] [--yes]≈1 credit / characternarration + vo.words.json
sfx <proj> --prompt "…" --dur 1.2 --out audio/sfx/x.mp3 [--yes]≈40 credits / sone effect
sfx-batch <proj> --plan audio/sfx-plan.json [--yes]≈40 credits / s eachthe signature set
music <proj> --prompt "…" --ms 24000 [--yes]per plana music bed

Without --yes, paid commands print what they'd send and the estimate, and stop.

render.mjs

bash
node $S/engine/render.mjs <proj> --stills auto --sheet --guides     # 12 stills + contact sheet + safe zones
node $S/engine/render.mjs <proj> --stills 0,1.5,3                   # exact times
node $S/engine/render.mjs <proj> --out renders/x-v1.mp4 --scale 0.5 --audio audio/mix.wav
node $S/engine/render.mjs <proj> --out final/x-v1.mp4 --audio audio/mix.wav
node $S/engine/render.mjs <proj> --out renders/overlay.mov --alpha  # ProRes 4444 with transparency
node $S/engine/render.mjs <proj> --out renders/overlay.webm --alpha # VP9 with alpha
node $S/engine/render.mjs <proj> --cues                             # writes cache/cues.json

Output is always 1080×1920 at 30 fps; --scale only speeds up previews.

sound.mjs

bash
node $S/scripts/sound.mjs <proj> [--out audio/mix.wav] [--no-music] [--lufs -14]

Reads the scene's cues, mixes the voice, effects and ducked music, normalises to −14 LUFS / −1.5 dBTP, and prints the measurement.