Screens to video
A feature, an app in Revyl, ~30s, 16:9. Three phases, in order, each ending in a check.
The worked example is template/: one finished 30s film with its app, feature, copy and
content replaced by placeholders (BRIEF.md is the shape of its script, film.js its
timeline; it was built in HTML before this skill moved to Stewdio). It shows format and
timing only: never take a subject, a line of copy, a reference or a screen from it.
A launch film, not a walkthrough. It sells one idea: a hook line before any UI, the feature doing its own mechanism two or three times with rising pace, one turn where the feature becomes bigger than the phone, and an end card. Screens are props in that arc; never tour every screen, and never show settings, empty states, errors or system UI.
The camera is half the film. The channel's films never park a whole phone in the
middle of the frame. They cut between a macro on one control, the screen filling the
frame and the whole phone about every two seconds, with the phone laid back and rolled.
So the script carries a shot list, scripts/camera.py turns it into the whole camera rig
(the keyframes, a shaded phone that turns with them, cuts that sit inside one eased move) and
checks it against numbers measured from the references, and a film that fails those
checks is not done.
Before you start: Revyl and Stewdio
Phase 1 needs the Revyl CLI and phase 3 needs Stewdio's MCP server. Check both first, so
an install can be approved while phases 1-2 run; references/setup.md has the install and
sign-in steps for each.
- Revyl:
revyl versionprints a version,revyl auth statusshowsAuthenticated, andrevyl app listshows the app. If the app isn't there, stop and tell the user. - Stewdio: connected means
read_documentation({ topic: "overview" })returns andlist_filesanswers (an empty list is fine). If it isn't, install it, tell the user to approve it and sign in, and carry on; only phase 3 waits. It needs a Stewdio account; the Free plan allows 30 content-changing MCP calls a week and marks exports, so say so when installing. Tool names here are the server's; some agents list them in camelCase (read_xmlistools.stewdio.readXml).
If the user declines Stewdio, ask whether to build in HTML instead (template/film.js +
scripts/render.mjs, the original path). Never switch silently.
1. Screens: Revyl Atlas, laser-focused
Pass --all-branches to every atlas command.
revyl app list # app name + id revyl atlas brief --app <id> --all-branches # areas, anchors revyl atlas search "<feature words>" --app <id> --all-branches # try 2-3 phrasings revyl atlas screen <screen-id> --app <id> --all-branches # summary, actions, in/out edges revyl atlas neighbors <screen-id> --app <id> --all-branches # entry points and exits revyl atlas observations <screen-id> --app <id> --all-branches --screenshots --screenshot-dir atlas/<screen-name>
- Keep the feature's own screens, the one or two entry points that lead into it (the button or row a user taps) and the one outcome it ends on (saved, sent, shared). Drop everything else, even when it is connected.
- Read the edge labels: they name the exact control (
<feature> menu item) and the gestures the feature answers to (swipe, pinch). Those gestures become beats. - Sheet every screen folder (
python3 scripts/sheet.py atlas/<name> .scratch/sheet-<name>.png) and look at all of them, then one full-size screenshot per screen for type, spacing and chrome. Screenshots are 1080x2400 Android: 1dp = 2.625px, screen = 412x914dp. - Real content goes in one-to-one:
python3 scripts/crop_drops.py film/drops atlas/<screen>/*.jpgcuts the image cards off a light canvas (skips status/nav chrome and edge-cut cards). Sheet the crops and keep the sharp unique ones; crop a hero by hand when detection merges two cards. The same card turns up in many screenshots: keep one of each. - Tell the user which screens were found before scripting (one line).
2. Script: a referenced brief from the mobile-motion channel
References come before beats. The source is the are.na channel
mobile-motion-mnpotx847ma (https://www.are.na/blake-shao/mobile-motion-mnpotx847ma):
the look stays inside it and every motion ref comes from it. Go outside it only for a
role it cannot fill, and say so.
-
List and look.
python3 scripts/arena.py channel mobile-motion-mnpotx847ma .context/refs/<topic>lists every block and writes numbered sheets; read all of them.references/channel-notes.mdhas the blocks already vetted and what each is good for; start there, but check for new ones (the channel grows, newest first). -
Vet 10-15 candidates for real.
arena.py get <media> .context/refs/<topic>/cand/cN.mp4, thenarena.py sheet <mp4> <png> 9and read the sheet. A tile is not a reference: keep it only if the move happens on screen as more than a cut or fade. Pick the most striking move that could carry the feature over the one that shows a similar screen. -
Nine references, one job each.
- a1-a5, stills grabbed from the channel's clips (
arena.py still <mp4> <t> a1.jpg), one aesthetic: a1 overall look (the floating phone), a2 palette (backdrop + one accent), a3 material (frosted glass, shadow), a4 composition (title / end card), a5 a detail (a label floating off the ui). - m1-m3, clips, numbered in beat order: the main mechanic, the turn, the titles or the exit. A motion ref gives mechanic and timing only; the subject is always swapped.
- k1, a clip, the camera: how the frame and the phone move. Pick it for its moves, not
its screen, and sheet it densely (
arena.py sheet <mp4> <png> 36) so the cuts show. It sets the grammar of the shot list: how long a shot lasts, which framings alternate, how far the phone is laid back and rolled, and how one shot becomes the next: look at the four frames either side of every cut, because the references never cut between two frames at rest (the camera is travelling on both sides of the cut, or the phone turns to its next pose). Take the travel, not a clip's flash or blur.references/channel-notes.mdhas those numbers for the vetted camera clips; measure a new clip the same way. A 3D tilt in the clip is rebuilt with the Tilt rig (phase 3), never flattened to a small roll. - u-refs: the Atlas screen folders, rebuilt one-to-one. c-refs: the cropped content, used as-is.
- Each ref states the beat it feeds and exactly what is taken, with a time range for
clips (
m2 0-5s: images gathering around one center and scattering, subject swapped for drops). A ref with no beat is cut.
- a1-a5, stills grabbed from the channel's clips (
-
Beats. Numbered, a time anchor on each, each one = subject + action + what it reveals or becomes. A beat is two to four shots, not one; the shots go in the shot list (step 5). Default skeleton (fit the seconds to the feature):
- 0-3 hook line, words blur into focus one at a time (m1), no ui yet
- 3-7 the subject arrives, the phone rises around it, a tap on the entry point
- 7-13 the feature's main mechanic inside the phone, a title on the side
- 13-18 the mechanic again, faster, chained
- 18-24 the turn: the feature outgrows the phone (spills past the bezel, zooms out to the whole, becomes the frame) + one line on frosted glass. The biggest beat; one turn, no second metaphor
- 24-27 the outcome (saved / sent) as a chip floating out of the phone
- 27-30 end card: feature name + the app's accent dot, mono "now in "
-
Shots: the camera, as a list. Write
film/shots.json(the format is at the top ofscripts/camera.py): one entry per shot with the time it starts, how it starts, what it looks at, zoom, roll and the phone's tilt. Zoom 1 is the wide shot, the whole phone at 80% of the frame height. Four framings:framing zoom the phone roll used for wide 0.5-1.1 whole and upright, room for a title 0-4deg the hook, one establishing shot, the pull-back, the end card medium 1.3-1.8 cut off by the frame top and bottom, leaning 5-10deg arriving, seeing what a tap did close 2-2.7 one region of the screen 8-15deg the hero content macro 3.2-5 one control, the bezel crossing the frame as a diagonal, laid back 15-25deg every tap, every detail The default 30s track, about fifteen shots (adapt it, keep the rhythm):
beat shots 1 hook wide, creeping in 1.0 -> 1.06 2 arrival push to medium 1.4, lean-right, roll -8 as the phone rises; cut to macro 3.4,laid-right, roll -18 on the entry control 0.3s before the tap3 mechanic cut to wide, flat, the phone placed right of centre for the title; a slow push (1.7s, starting once the title has left) to close 1.9, lean-left, roll 12 on the hero; cut to a macro 3.0,laid-right, roll -22 that tracks across the content (drift.to)4 chained each tap is its own macro, cut in 0.3s before it lands, alternating laid-leftandlaid-right; a cut out to medium 1.6 between them to show what the tap did5 turn cut to 4 on the gesture with the phone flat, a glide back to 0.5 over 2.3s (the one fast move of the film), cut to a medium 1.3, roll -10, drifting across what the feature became 6 outcome cut to macro 3.3, laid-left, roll 16 on the save control; cut to medium, drifting after the chip7 end card cut to wide, creeping in 1.0 -> 1.04 Read
references/camera.mdbefore writingshots.json: it has every rulecamera.py buildchecks and why. In short: a new shot every 1.2-2.5s; most transitions are a plain cut inside one slow eased move ("in": "cut"), moves are rare and slow, and nothing is ever snappy; every tap gets a macro cut in 0.3-0.5s before it; the turn happens with the phone flat; no title over a macro.Run
python3 scripts/camera.py build film/shots.jsonuntil every check passes. It writesfilm/rig.xml(the Camera composition with every keyframe and the phone, for phase 3) and prints the shot table, one capture time per shot, and the eight frame times of one cut. -
Write mechanisms, not adjectives. "related items fly in from off-frame and settle around the one that was tapped" gets built right; "a dynamic reveal" does not. Animate the feature's own contraption (tap -> follow, pinch -> zoom out, save -> chip), never a generic draw-in. Transformations are in-place morphs and handoffs, not cut-and-rebuild.
-
Film frame, not a web page. The world is laid out for the wide shot (the phone ~80% of the frame height), and the film spends most of its time closer than that; titles are 60px+ at 1080p; one hero per shot.
-
House shape, lowercase, imperative, numbered, no filler, under ~240 words above
camera:. The first line names the channel's aesthetic, not the app's (in soft-white studio launch film); the app's palette survives inside the phone and as the accent.
in stewdio, new file <feature>-launch, create a 30s launch film for <app>'s <feature>, in <aesthetic from a1>, the ui rebuilt one-to-one from u1-uN with the real content (c1): 1. 0-3s: <hook line> blurs into focus word by word like m1, on a2's <backdrop> 2. 3-7s: <subject> ... the phone rises like a1 ... a tap hits "<entry control>" 3. ... 5. 18-24s, the turn: <how the feature outgrows the phone>, like m3 <range> <reversed?> ... <pace in words>; 16:9, 1920x1080, 30fps, no music camera: cut like k1 <range>, film/shots.json <the shot table camera.py build printed: #, t, in, framing, zoom, roll, tilt, name> refs: - a1 <path>: look, <what it sets, which beats> (<block url>, channel mobile-motion-mnpotx847ma) - ... a2-a5, m1-m3 the same way - k1 <path>: camera, <shot length, framings, tilt and roll taken, with numbers>, shots <n-m>, <range> (<block url>, channel mobile-motion-mnpotx847ma) - u1 atlas/<screen>/: ui, <screen>, one-to-one (revyl atlas, <app>, screen <id>) - c1 film/drops/: copy, the real content cropped from the atlas, one-to-one
Save it as film/BRIEF.md with at most three fill-ins (the creative forks you chose, each
with the one alternative). template/BRIEF.md is a finished one. Do not stop for approval
unless the user asked to see the script first; go straight to phase 3.
3. Build: the film in Stewdio
Read first, every time. read_documentation for overview, xml and graphic (the
XML is strict: unknown elements and attributes are rejected), then list_skills: the
user's own Stewdio skills win where they conflict with this section. Then read
references/stewdio-build.md: the end of the xml page (a tool result can cut it off),
the full layer spec, the motion rules and capture troubleshooting. template/film.js is
the worked example's timeline at 1920x1080 (keyframe times, easings, positions,
handoffs): port its timing, not its code.
- File.
create_file({ name: "<feature>-launch" })once; keepidandurlexactly as returned. After a failed or timed-out call,list_filesbefore creating again. - Assets. Upload the kept crops and nothing else (the ui is rebuilt, not screenshotted):
create_assets({ fileId, uploads: [{ name: "c1-<n>" }, ...] }), then POST each file to its single-use url within the hour:curl --data-binary @film/drops/<n>.jpg "<url>". Save every returnedhash, width and height tofilm/drops/assets.json; images are placed by hash at their native aspect ratio. - Layers, split wherever someone would edit independently, back to front, with
descriptive names, as
references/stewdio-build.mdspecifies. One root<composition name="<feature> launch" duration="30" size="1920 1080" background="<a2 backdrop>">holding:BackdropGraphic, only when a2's backdrop is a gradient, moves or has grain.Camera, the world.camera.py buildwrites it whole tofilm/rig.xml, the phone included (template/phone.xml, set inphoneofshots.json); never write it by hand. Your layers go in throughfilm/screens.xml,film/below.xml,film/above.xmlandfilm/tilt.xml, which the build splices in.- Screens, in
film/screens.xml: one composition per screen, the ui rebuilt one-to-one as a Graphic, the drops as nativeimagelayers, the touches asvectorellipses on top. - The stage copies of the drops that escape in the turn, and the
Saved chip, infilm/above.xml. - After the Camera, in frame px: the titles (one Graphic per line), the
Frost pilland theEnd card.
- Motion. Field keyframes on layers, input keyframes on Graphics, nothing timed
inside a script, clips to sequence screens and titles (the full rules are in
references/stewdio-build.md). The ones that break a film most often:- the camera is built, not written: to change a shot, the phone or a layer inside
the Camera, edit
film/shots.jsonor the part file and build again; a keyframe nudged in the File is lost at the next build - a screen swap belongs on the cut frame; anything that has to be read lands 0.3s or more after it, and a tap 0.3-0.5s after its macro cuts in
- handoffs happen on one frame at an identical rect; never crossfade two copies of the same thing
- the camera is built, not written: to change a shot, the phone or a layer inside
the Camera, edit
- Write in few calls. One
write_xmlper top-level piece (the root composition with its backdrop, thenfilm/rig.xmlwhole with the root asparentId, then each title, in that order: a new node lands on top, and a write takes one root element. A Camera written after the titles is movedbeforethe first of them withedit_xml), never one per layer: the Free plan counts every content-changing call. On diagnostics fix every listed line and write again; after a failed creation,read_xmlwithdepth: 1before retrying so nothing is created twice. Later fixes go throughedit_xmlon the node you just read. After a rebuild, write the newrig.xmlinto the root, then in oneedit_xmlmoveitbeforethe first title andremovethe old Camera. - Check with capture.
capturerenders in the user's open Stewdio session, so the File has to be open in a tab that is in front: on the user's own computeropen "<url>"and wait ~10s, otherwise give the user the url and ask. When a capture fails or times out, see "Capture troubleshooting" inreferences/stewdio-build.md. Capture the root composition once per shot, at the timescamera.py buildprinted, at most 8 per call, then one earlier time again (which shows no frame depends on the one before). Then capture the eight times around one cut that it printed: the framing changes a little between the first three (the ease-in), most between the two either side of the cut, and less and less after it (the ease-out), always in one direction. A frame that jumps back, flashes or looks the same as its neighbour at the cut is wrong. Look at the phone in one wide and one macro capture: a lit metal edge, a shadow under it, and rounded screen corners with nothing of the screen poking out of them. In every capture check that the thing the shot looks at sits whereplaceput it, the touch is inside its macro, no text overlaps, nothing clips at a motion extreme, the edge of the world never shows, the turn reads as a turn, and every element is still its own selectable layer. Then saveread_xmlof the Camera node tofilm/camera.xmland runpython3 scripts/camera.py check film/camera.xml: it samples every frame of what is really in the File and has to pass like the build did. Fix and capture again. Captures are previews, not the export; never report them as the final video. - Export is the user's click; Stewdio has no export tool. In Stewdio Studio: select
the root composition -> Export in the inspector -> MP4 (H.264), Size 100%, 30 fps ->
Export video (mute the composition's Sound first for a silent film). Suggest saving to
film/out/<feature>-launch.mp4; once it is there,python3 scripts/arena.py sheet <mp4> <png> 25checks continuity.
Deliver
The Stewdio File url exactly as returned, two captured frames (the mechanic, the turn),
the beats with their times one line each, the export steps above, and the open choices:
copy, music, anything the Atlas did not cover. Point at film/BRIEF.md for script edits
and film/shots.json for the camera (edit a shot, build, write film/rig.xml again);
layout and timing edits happen in Stewdio, by hand or by asking.


