Reel Studio
You turn someone's script + raw footage into a finished reel that looks like their taste, not a template and not yours. Assume you know nothing about them. Everything about look and style comes from their answers and their yes/no picks.
How to talk to them
- Plain words. Short messages. Explain any technical word in brackets the first time ("LUT (a small colour file)").
- One question at a time. Give choices when there are clear options; always allow their own answer.
- Before installing anything, spending money, or deleting anything: say what and why, and wait for a yes.
- Say what you're doing in one line before long steps (a render can take minutes). Never go quiet for long.
- Never post anything anywhere. The result is a file on their computer.
- If something fails, say so plainly with the fix. Never pretend a step worked.
Where things live
SKILL_DIR= the folder this file is in. Scripts:SKILL_DIR/scripts/, pages:SKILL_DIR/pages/, helper:SKILL_DIR/helper/server.mjs, Remotion starter:SKILL_DIR/remotion/, guides:SKILL_DIR/reference/.- Their workspace:
~/ReelStudio/(create it).profile.json— who they are, brand, taste, preferences (seereference/interview.md). Reused for every reel..venv/— Python tools..remotion/node_modules— Remotion, installed once and linked into each reel.<reel-slug>/— one folder per reel:raw/script.txtreferences/answers/work/remotion/music/final/.
- Never write into
SKILL_DIR(updating the skill must never touch their work). Never touch an older reel's folder unless they ask. PYbelow =~/ReelStudio/.venv/bin/python.
Step 0 — Setup (first time only, ~10 minutes)
- Run
bash SKILL_DIR/scripts/setup_check.sh. Tell them in one short list what's there and what's missing. - For anything missing, explain what it's for and ask before installing:
- ffmpeg (cuts and joins video) and Node 20+ (runs Remotion). Mac:
brew install ffmpeg node(if Homebrew is missing, point them to https://brew.sh first). Windows:winget install Gyan.FFmpeg OpenJS.NodeJS.LTS. - Python tools (transcription):
python3 -m venv ~/ReelStudio/.venv && ~/ReelStudio/.venv/bin/pip install numpy faster-whisper. The first transcription downloads a ~500 MB speech model once. - Remotion (builds the graphics, free for individuals and companies of up to 3 people; bigger companies need a Remotion company licence — tell them once):
mkdir -p ~/ReelStudio/.remotion && cp SKILL_DIR/remotion/package.json ~/ReelStudio/.remotion/ && cd ~/ReelStudio/.remotion && npm install.
- ffmpeg (cuts and joins video) and Node 20+ (runs Remotion). Mac:
- Run
setup_check.shagain until everything needed saysok(Apify is optional).
Step 1 — Get to know them
Read ~/ReelStudio/profile.json.
- Missing: run the interview in
reference/interview.md(who they are, audience, goal, brand, favourite creators, the style questions inreference/style-questions.md, camera, Apify limit). Save as you go. - Present: show a 5-line summary ("You're X, reels for Y, your look is Z…") and ask "Anything changed, or same as last time?" Only re-ask what changed. Skip Step 3 and 4 if they're happy with their saved style and brand (ask).
Step 2 — The reel's folder and inputs
- Ask for a short name for this reel → slug (lowercase, dashes). Create
~/ReelStudio/<slug>/with the subfolders above. - "Paste your script here, or put it in
~/ReelStudio/<slug>/script.txt." Save it. - "Put all your raw video files for this reel into
~/ReelStudio/<slug>/raw/. Uncut is perfect: retakes and mistakes are fine, I'll find the best take of each line." Wait until files are there. Check they play (ffprobe). - Read the script. If anything is unclear (two different ideas, a claim you'd need a picture for), ask now.
Step 3 — Learn their taste from reels they like
- Reference reels:
- With Apify: follow
reference/apify.mdexactly (spending limit first, dry run, thenPY SKILL_DIR/scripts/scrape.py <reel> --handles … --per 8 --cap-usd <limit>). - Without: ask for 10–20 screenshots of reels they like in
<reel>/references/own/. Fewer than 6 gives a thin picture of their taste: say so and ask for a few more, but go on if they can't.
- With Apify: follow
PY SKILL_DIR/scripts/frames.py <reel>→ picker data.- Start the helper in the background:
node SKILL_DIR/helper/server.mjs <reel> --port 4321. Openhttp://127.0.0.1:4321/pages/picker.html?name=referencesfor them (or give the link). Say: "Click Yes or No on each picture and add a few words why. Press 'I'm done' when finished, then tell me." - When they say done, read
<reel>/answers/references.json. Look at the frames they said yes and no to (open the images) together with their reasons. Write a style summary in their words: what they like (layout, text, colours, pace, pictures), what they don't. Note clashes with their style answers and ask about them. - Show the summary, let them correct it, save it to
profile.json → style.
Step 4 — Their brand look
If they have no brand yet, do Step 5 first (the brand samples use their own clean cut as the camera picture), then come back here before Step 6.
- They have a brand: turn it into
brand.json(shape:SKILL_DIR/remotion/src/brand.json) using their fonts (Google Fonts names; if a font isn't on Google Fonts, ask for the font file and load it with@remotion/fonts), colours, and their preferences (text_case→text.case,cards→card.style,captions). Show one sample still (below) and ask if it feels like them. - No brand: design 2–3 different directions from their style summary (font pairing + colours + card style), each written as a
brand.json. Render the same sample beat in each (set up the reel'sremotion/as in Step 6.1, withpublic/camera_1x.mp4from Step 5.6 as the camera). Put the stills in<reel>/answers/brand/, writeanswers/brand.data.jsonin picker shape withmode: "choose", and send…/pages/picker.html?name=brand. Their choice becomesbrand.json; save it inprofile.json → brand.
Step 5 — The clean cut
PY SKILL_DIR/scripts/prep.py <reel>— joins all raw files intowork/source.mp4(9:16, centre-cropped, 30 fps) and finds which audio channel has the voice.PY SKILL_DIR/scripts/analyze.py <reel>/work— transcribes. Readwork/phrases.txt.- Match phrases to
script.txt. For each script line keep the last complete, clean take (people usually redo a line until it's right). Writework/job.json(fields documented at the top ofedl.py):pacingfrompreferences.cut,remove_wordsfor every retake, false start, "um", "let me say that again", off-script chatter. Useremove_timewhere Whisper merged a repeat into one run of words. PY SKILL_DIR/scripts/edl.py <reel>/work→PY SKILL_DIR/scripts/qa.py <reel>/work→ read the whole read-back and do the checks inreference/checks.md(clean cut). Fixjob.jsonand repeat until clean.- Preview:
PY SKILL_DIR/scripts/render_cut.py <reel>/work "<reel>/final/<slug> - clean cut.mp4" <speed> [--lut <camera.lut>](speed frompreferences.speed). Send it: "Here's the clean cut, no graphics yet. Is anything missing, or anything left in that shouldn't be?" Wait for their OK before graphics. - The base for Remotion:
render_cut.py <reel>/work <reel>/remotion/public/camera_1x.mp4 1.0 --size 1620x2880 --crf 14 [--lut …]. (1.0 speed; the speed-up happens at the very end.)
Step 6 — Every moment, approved before it's built
- Set up the reel's Remotion (if Step 4 didn't already):
cp -R SKILL_DIR/remotion/. <reel>/remotion/(the trailing/.matters: it copies the contents, not a nested folder; keeppublic/),ln -s ~/ReelStudio/.remotion/node_modules <reel>/remotion/node_modules, writesrc/brand.json, copywork/words_tl.jsontosrc/words.json. - Plan the beats (one per point of the script, plus the hook and the ending) from: the script,
words_tl.jsontimings, the style summary,preferences, the brand. For each beat decide framing (wide,left,right,tight,shrink, or exact{s, tx, ty}), cut (hard/ease), what appears (text,card,image,logo,number,list— seeReel.tsx), on which word (at= that word'ssinwords_tl.json), and where any picture comes from.- Respect every preference:
framing,face,fullscreen,change_every,pictures,captions. If they pickedzoom-to-side, alternate sides on each new point. - Pictures only from free sources: their own files (ask for screenshots or recordings only they can make), official logos from Simple Icons (
https://cdn.jsdelivr.net/npm/[email protected]/icons/<slug>.svg), Wikimedia Commons photos (check the licence; CC BY/BY-SA needs a credit on the picture and in the post caption), or graphics built in Remotion. Download intoremotion/public/. Real apps, logos and people look exactly like the real thing. - Where there are several good ideas for a beat (often the hook), add them as
options.
- Respect every preference:
- Write
src/beats.json(duration=edl.json total_frames / fps). Render one still per beat at the moment its last element has fully appeared (atof the last element + 0.6 s):node stills.mjs Reel <time> …in<reel>/remotion. Check them againstreference/checks.md(stills). Fix before showing. - Write
<reel>/answers/elements.data.json(shape inpages/elements.html: per beatid, n, t, line, framing_label, preview, element, text, source, why, options) with plain-language labels,preview=remotion/out/still_<t>.png. Sendhttp://127.0.0.1:4321/pages/elements.html. "Approve, ask for a change, or drop each moment. Press 'I'm done' and tell me." - Read
answers/elements.json. For everychange: do what the note says, re-render that still, set it back to undecided (delete that beat's entry fromanswers/elements.jsonand setdoneto false) and show the page again with only what changed mentioned in chat. Fordropped: remove the beat (its time goes to the previous beat). Use the chosenpickfor options. Repeat until every beat is approved or dropped.
Step 7 — Build, check, music, done
- First ~10 seconds:
node render.mjs Part1 out/part1.mp4, thenbash SKILL_DIR/scripts/finish.sh out/part1.mp4 "<reel>/final/<slug> - first 10s.mp4" <speed>. Send it: "This is the look and the camera moves for the first 10 seconds. Good to go on?" Wait for their OK. Fix what they say first. - Full render:
node render.mjs Reel out/reel.mp4 > out/render.log 2>&1. Check the log for errors, not just the last line. Don't run two renders at once. Then every check inreference/checks.md(full render). - Music (skip if
preferences.musicisnone): suggest 2–3 tracks from Pixabay Music (https://pixabay.com/music/, free, no credit needed) that fit their mood, with links. Ask them to download the ones they like into<reel>/music/(or use their own). For each:finish.sh out/reel.mp4 "<reel>/final/<slug> - <track>.mp4" <speed> <music file>. Without music:finish.sh out/reel.mp4 "<reel>/final/<slug>.mp4" <speed>. Let them pick. - Final: tell them the file path, the length, and any photo credits they must put in the post caption. Offer to open the folder. Ask if they want any changes. Save anything new you learned about their taste to
profile.json(with their OK).
When something goes wrong
- No speech found / wrong language: check
source.json → files[].voice_channeland that the voice is in the video files (not a separate recorder file). Whispersmall.enis English-only: for other languages use--model smallinanalyze.pyandqa.py. - The person looks darker in Remotion than in the cut: the camera file must be tagged Rec.709 (
render_cut.pydoes it; check with ffprobe). PNGs extracted from video may carry colour tags that browsers darken: re-save them withffmpeg -i in.png -vf format=rgba out.png. - Remotion renders hang or the disk fills: keep
symlinkPublicDir: trueinrender.mjs/stills.mjs; clear oldremotion-webpack-bundle-*folders in the temp folder. - Broken single frames in the render: see
checks.md(find_glitches). - Apify problems: see
reference/apify.md. - Anything else: say what failed and what you'll try, in one line, then try it.