Launch Video launch-video
Make a short launch video (1920x1080 MP4 plus an outro PNG) that demos a T3 Code feature, built from the real app with added motion, for an X/Twitter announcement or release thread.
Use it when asked for a launch video, demo video, feature teaser or announcement clip, a mobile app release video (iOS/Android), or to add a video to a release tweet.
- Our test
- 8/10✓ Verified
- tested Dec 6, 2026
- GitHub stars
- 91k
- pingdotgg/t3code
- Added by
- 0
- members
- Updated
- Dec 6
- commit 4cc0a41
- Content
- 24 files
- 16 scripts · 321 KB
- License
- MIT
- free to use
What our test found
Le skill fournit un workflow détaillé, des critères de qualité et des garde-fous utiles pour produire une démo cohérente à partir de l’application réelle.
Limits spotted
- Heavily depends on files and scripts that are not included, preventing verification of the essential staging and story creation steps.
- Commands run with run:true and MCP tools can have real-world effects; prior approval is not explicitly integrated into the workflow.
- The instructions are very long and specific to a particular repository and environment.
name: launch-video description: Make a short launch video (1920x1080 MP4 plus an outro PNG) that demos a T3 Code feature, built from the real app with added motion, for an X/Twitter announcement or release thread. Use when asked for a launch video, demo video, feature teaser or announcement clip, a mobile app release video (iOS/Android), or to add a video to a release tweet.
Launch videos
A launch video is 20–30 seconds: the app goes through one story in two or three beats, the camera punches in on each, a caption names it, and an outro card closes. Frames are rendered one by one in headless Chromium, so the result is deterministic.
There are three ways to build one:
- Real app (default). A staging script runs the real server and web client with fictional data and the free replay agent, drives the flow in a browser, and freezes the page at each beat into
beats/<name>.html. The story stacks those frozen pages and adds the motion: the camera, cursor, pops, glows, typing and captions. The UI is whatever the app draws today, so re-staging on main updates the video.stagings/linked-environments/is a finished example. - Mock.
template/story.htmlis a hand-built HTML copy of the app (the 0.1.11 tunnels video). Use it only for what a staging can't produce, such as another app on the desktop or a desktop-only screen. It drifts as the app changes. - Mobile release. Screen recordings of the real mobile app on a simulator and an emulator, played on a rendered 3D iPhone and inside a tablet frame, next to numbered copy. A mobile release usually ships several features, so it runs 40–45 s. See ;
stagings/mobile-2.4/is the finished 2.4 video.
Workflow (real app)
- Learn the feature. Read the PRs and the components it touches. Write down the one thing a user can now do that they couldn't before, in the user's words.
- Write the story before any code: who the user is, what they want, and two or three beats that get them there. Show it to the maintainer if the angle is a guess.
- Stage it. Copy
stagings/linked-environments/tostagings/<slug>/. serve.mjsbuilds fresh homes under.t3/launch/<slug>/withscripts/stage-env.mjs. Each home gets a fictional machine label, the replay agent, and no paid provider. It starts the servers, creates projects, writes<out>/stage.jsonand keeps running. Run it in the background.drive.mjsopens the web client withopenBrowser()(1440×720, dark, release branding) and walks the flow. It callsbeat(name)at each moment the video needs. Re-run it as often as you like against the same servers.- Agent turns: pass
claude: [turns]toprepareHomeand the real Claude provider runsscripts/fake-claude.mjsas its CLI, so the video shows Claude's logo, models, thinking and tool rows. Each turn is{ match, steps }:think,text,bash(+output,ms),wait,edit(+old,new) andwrite(+content), which change the file for real so diffs and checkpoints show them, andtool(+input), which calls that T3 MCP tool for real, e.g.delegate_task; withserverandoutputit plays another MCP server's tool instead.<var:name>is filled from the JSON file atFAKE_CLAUDE_VARS, for ids that change every run.bashwithrun: trueexecutes the command in the session's cwd (to push a branch or open a pull request with a forge CLI);as: "name"on it or on atoolstep keeps the output, or thepickregex match in it, as<var:name>for the turn's later steps (delegate_taskthentask_statuswith the pickedtaskIdfinishes the parent in one turn, before the wake-up turn the app shows only as "Background activity updated"). A/btwside chat's prompt carries the parent's history, so give its turn a match only the question has and put it before the parent's turn. A workflowagentstep withreturnsfinishes onsubmit: { ... }, which hands it that value throught3_submit_output.fake-claude.login the home records the protocol, for debugging. - Titles, commit messages and branch names come from
claude -p --json-schema: answer them with{ match, json }turns, wherematchis tested against the schema plus the prompt ('"title"','"subject"[\\s\\S]*products\\.ts'). Unanswered ones fail in the app. - An MCP server that needs a sign-in: pass
claude: { turns, servers: [{ name, authUrl }] }. The fake answers Claude'smcp_status,mcp_authenticateandmcp_oauth_callback_url, and remembers the sign-in across processes like the real CLI. createProject(env, title, files, { repos: ["api", "web"] })makes a plain folder of several repositories. Staged repos commit as a fictional author. Keep staging homes outside this checkout (e.g.<out>/home): a project folder inside it shows this checkout's branch.- Data a real flow can't produce cheaply goes into the app's own stores, never into pixels.
insertPeerLinkswrites link rows into a stopped server;serveDescriptorsmakes fake machines answer the reachability probe. The client's saved environments and routes live in IndexedDB (t3code:connection-runtime/catalog/document): write the document from the page after its first load, then reload. Route kinds come from hostnames (*.localhostis LAN,*.ts.netTailscale); Chrome's--host-resolver-rules=MAP *.tail-demo.ts.net 127.0.0.1makes fake tailnet names work. - Gestures: hold the mouse down, move in steps, and
saveBeatmid-drag to freeze the app's own drag line and highlight; animate between those beats withKit.reveal. - A capped, scrolling modal freezes at different scroll offsets per beat. Freeze at a viewport tall enough that nothing scrolls, and size
.appto match. - Without
claude, turns go to the dev replay agent (apps/server/scripts/dev-replay-agent.ts), which shows as an ACP provider. - Create the story:
scripts/new.sh ~/launch-videos/<slug>, then copy the beats in, or pass that directory as the staging's<out>. Add one<iframe data-beat>per beat and writesetup()andplaceCursor()(see Anatomy). - Find targets in a beat:
scripts/find.mjs <dir>/beats/<name>.html "<text>"prints selectors and boxes for the elements containing that text and their ancestors. - Probe with contact sheets at every beat, fix, repeat:
scripts/sheet.sh ~/launch-videos/<slug> 1,4.5,8,12,16,21,26then Readsheet.png. The times are video seconds (afterKit.timeline), not animation seconds. Read the full-size frames inprobe/to check small text. A probe takes about 2 s a frame. - Render:
scripts/render.sh ~/launch-videos/<slug> t3code-<slug>givest3code-<slug>.mp4andoutro.png. A 30 s video takes 3–6 minutes. - Hand back with the video and outro embedded (
), the caption copy, anyKit.textedits, and anything you assumed rather than verified.
The scripts need this repo's node_modules (vp i) for playwright-core, any Chromium in the Playwright cache (or CHROME=/path), and ffmpeg on PATH. Stop serve.mjs with your harness's task stop; it ends its servers' process groups.
Staging traps
- Machine names and icons.
T3CODE_ENVIRONMENT_LABELandT3CODE_ENVIRONMENT_MACHINE_KIND(laptop, desktop, cloud, linux, mac-mini, mac-studio) override what the server detects.prepareHome({ label, machine })records them andstartEnvironmentandcli()pass them on; the CLI needs them too, because a link introduces the machine by its label. - Linked environments refuse loopback addresses ("this machine"), and plain http works only on tailnet names.
serve.mjslinks to this machine's tailnet DNS name. - Projects on two machines match by their
originURL, never by title, so a thread handoff needs the same remote on both (add it beforecreateProject; it is never fetched). Use a host that is not a real forge, or the server looks the repository up with the developer's login. - Agents' own config files (
~/.claude.json,~/.codex/config.toml,~/.kiro/...) are read fromHOME. Passenv: { HOME: <fake dir> }tostartEnvironmentwhen a screen lists them, or the developer's real servers show up. - Leaks. Grep the beats for the real hostname, username and tailnet name before rendering.
snapshot.mjsdrops hidden inputs' values (they hold local paths). - Timeline rows (
[data-timeline-row-id]) are placed by a transform;rise/popon one replaces it and the row vanishes. Animate an element inside the row. - The app's own animations (a running tool's shine) are frozen into the beat and seeked with the story, which can leave text invisible. Cancel them in
setup():iframe.contentDocument.getAnimations().forEach((a) => a.cancel()). - Timing. A replayed turn streams in real time (each frame delay caps at 2 s). Make a recording long enough for the drive to catch the state you need, and freeze beats on a timer when the UI summarises (a running command shows only "Running pnpm").
- Agent wake-ups. When a delegated child finishes, the parent agent gets a new turn. Give its recording a second turn, or the first replays and delegates again.
Mobile releases
Three layers, composited at the end:
- Story (
story.html, rendered byrender.sh): the numbered copy column beside the phone, a progress bar, the tablet beat's header and pills, and the outro.new.sh <dir> mobilestarts from the 2.4 story. Its beats are timed by hand insetup()against the cuts. - 3D phone (
phone-3d.mov): the iPhone recording cut to one 416×904 clip, extracted tophone-frames/f%04d.jpg, and rendered ontoiphone-18-pro.glbbyscripts/phone-3d.mjs <dir>. It adds a 2 s spin-in before the clip and a 0.3 s exit after it, so a 29.4 s clip occupies 2.0–31.7 s. - Tablet (optional): an Android tablet recording cut to 1200×750 and placed in the story's
.tablet-stagehole withassets/tablet-mask.png.
Steps:
- Pick the features from the release notes; each gets one numbered beat. Write the user story for each beat first (see the corrections below).
- Stage. Copy
stagings/mobile-2.4/serve.mjsand change the data and turns. It serves a fictional localhost page, a mock Linear that accepts state moves and comments (T3CODE_LINEAR_API_URL), and scripted Claude turns, and writes<out>/stage.json. Run it in the background.--reusekeeps the home and port so paired devices stay paired and only rewrites the agent script; without it the home is rebuilt. - Devices. Use the device tools (
device_list,device_open); the local iPhone 18 Pro simulator and thePixel_Tablet_T3emulator fit the 3D model and tablet frame. Install and pair with thetest-t3-mobileskill:vp run mobile:install, Metro fromapps/mobile(APP_VARIANT=development npx expo start --dev-client --scheme t3code-dev --port <p> --localhost), then itspair-client.shwith--base-dir <out>/home. Android also needsadb reverse tcp:<port> tcp:<port>for the server and Metro. Seed threads the beat needs by sending their prompts from the device before you record. - Record each beat with the
agent-devicecommanddevice_openreturns:record start --scope device <dir>/clipN.mp4, the taps withsleeps between them, thenrecord stop. It also writesclipN.gesture-telemetry.jsonwith each tap's time; cut from those, not from guesses. Dry-run a flow once to learn coordinates (snapshot -i --jsongives rects in points; iOS taps are in points, Android in pixels) before the take. - Cut with
scripts/cut.mjs <spec.json>: segments (source, from, to, speed), optional cover boxes, andfadefor crossfaded joins. It prints where each segment starts in the output, which are the story's beat times. Speed up typing and loading (2.5–6.5×); keep taps and payoffs at 1–1.3×. Cut each beat, then join the phone beats with"fade": 0.2. - Render: extract frames (
ffmpeg -i phone-live.mp4 -q:v 2 phone-frames/f%04d.jpg), runphone-3d.mjs <dir>(--probefirst), and render the story withrender.sh; both run for minutes, so start them in parallel. - Composite with
scripts/mobile-composite.sh <dir> t3code-<slug> <story.mp4> <phone-end-s> [<tablet.mp4> <tablet-start-s>], read the contact sheet it writes, and check payoff frames at full size.
What the maintainer asked for (mobile)
- Every beat does something. A screen that only scrolls "doesn't do jack shit". Show a real action and its visible result: Issues moves MUG-142 to In Review and posts a comment, then lands on "Dana moved this to In Review", the comment, and the linked threads.
- A multi-step beat is one flow. Preview → files → terminal read as incoherent. The 2.4 tablet beat follows one task instead: the agent fixed MUG-142 with a subagent, so the user checks the subagent, tries the fix on localhost, then asks a
/btwside question. Numbered pills ("1 · Check the subagent") light up in step. Read the feature's PR first: the Android inspector PR was about subagents, side chats and previews, not files. - The tablet beat gets the same chrome as the phone beats: number, tag, headline, pills, brand mark and progress bar.
Mobile traps
- Real data on screen. The tablet sidebar lists every environment's threads, including the developer's own. Record with it collapsed, and keep the staged agent's threads tidy.
- Retakes leave debris. Each failed attempt adds threads and links. Archive them from the sidebar's long-press menu; archived threads drop out of an issue's Linked threads. Subagent children of a looping attempt can't be archived from the UI; in the staging home only (never
~/.t3), setdeleted_aton theirorchestration_v2_projection_threadsrows. - Keep `edit` steps idempotent. A replayed turn finds its
editalready applied and the turn fails; usewritewith the whole file. - Side chats on the fake CLI show "Could not fork the source conversation natively". A real CLI forks fine, so cover that row with a
boxesentry in the pane's background colour, starting after the layout settles (cut past the frames where it moves). - The iOS keyboard can't be dismissed by the test runner, and it hides and reappears while
typeruns. Keep typed text short (~35 characters take ~10 s), speed the typing up in the cut, and record the after-state as a second clip (back out, reopen, scroll). - zsh reads
$S[x]as an array subscript and breaks ffmpeg filter graphs; usecut.mjs, or bash with${S}. This machine's ffmpeg has nodrawtext. - Relaunching a dev client drops it into the Metro picker; start Metro again and open its
expo-development-client/?url=link.
What the maintainers asked for
These came from review of the 0.1.11 videos. Each one was a real correction.
- It must look like the real app. "Quite far off how it actually looks" was the first round's verdict on a mock. Stage the real app; mock only what can't be staged, rebuilt from the real component (strings live in
apps/web/src/i18n/translations/en.jsonunder hashed keys, so grep by the text). - Punchier than the app. Extra motion is welcome (pops, glows, punch-ins, typing), as long as every pixel it moves is the real UI.
- Readable on a phone. Captions are 40px; zoom the camera 1.5–1.9× onto whatever the beat is about. If text is under ~14px after zoom, zoom further or cut it.
- Slow enough to follow. Slow the key interactions to 0.6–0.8× and hold 0.8–1.5 s after each payoff. A viewer must see the result before the next beat starts.
- A realistic example. The demo has to be something a user would really do. A local terminal querying a forwarded port was rejected ("why not use the in-app terminal?"); a desktop database client was the right example.
- Distinct features read as distinct. Two features get two numbered captions and two clearly separate payoffs, never one blended beat.
- Brand. Production logo only (
logo-prod.png, fromassets/prod/), never the blue dev icon. The app's dark palette (below); orange only where the app uses it. - Only announced things. Before showing a screen, check it ships enabled. Feature-flagged or separately announced work (for 0.1.11: GitHub sign-in and PR tooling, the mobile app) stays out, even as background UI. A video whose subject is an opt-in Labs feature is fine when the maintainer asked for it; say where to turn it on in the caption or tweet, and ask whether the outro should call it a beta. Ask when unsure.
- Fictional demo data. Project
acme/mugshot, machinedevbox, made-up people with@example.com. No real people, teams, emails, repos or the user's own threads. - Timing is checked, not assumed. Typing must finish before the cursor clicks, a tooltip must appear before it is read, and card text must not overflow. The contact sheet catches these; full-size probe frames catch the rest.
Look
From apps/web/src/index.css, dark theme:
- Background
#000with a faint primary glow at the top (rgba(52,107,241,.13)). - Text
#f1f3f7, secondary#a3a3a3, UI muted#8e8e93, dim#636368. - Borders
#1d1d20or white at 8%; surfaces#0e0e0fto#191a1d; chips#191a1d. - Primary
#346bf1, light primary#6e9bfb, success#4ade80, destructive#e5484d. - Orange
#f07a4aonly for the agent ✳ next to a Claude model and provider marks. - Fonts: Inter (UI) and JetBrains Mono as
JB(code, ports, versions, URLs).
Anatomy of a real-app story
Everything runs on one clock in animation seconds. capture.mjs serves the directory over HTTP, loads the beats, calls setup(), seeks to layoutTime, calls placeCursor(), then seeks every animation (in the story and inside each beat) to each frame's time.
- Canvas 1600×900 CSS px, rendered at device scale 1.2 to 1920×1080. Beats were frozen at 1440×720 and
.appscales them 1.0556× into the 1520×760 window, so beat point (x, y) is canvas (40 + 1.0556·x, 26 + 1.0556·y). - Targets are
"<beat> >> <css>"(or"* >> <css>"for every beat). Prefer the app'sdata-*andaria-labelattributes;find.mjsprints them. A trailing:text(words)keeps the matches containing those words, e.g.[role=menuitem]:text(From MacBook). - Beat size. Each beat records the viewport it was frozen at (
kit-viewportmeta). Size.appand its iframes to match and scale them to the 1520×760 window (1440×720 → 1.0556, 1600×800 → .95). - `setup()`:
Kit.beats([[name, at, fade?], ...])gives each beat one visibility window. Then the motion, all at absolute times:Kit.pop / rise / slide / stagger / type / press / punch / fadeIn / drawanimate elements inside a beat;Kit.glow(target, at)draws a ring on the story layer, so app overflow can't clip it;Kit.animtakes raw keyframes;Kit.textmakes a static edit (say so at handback). - `placeCursor()`: wrap in
Kit.measureand callKit.camera(steps)andKit.cursor("#cur", steps)there. Both take{ t, on|at: target, ... }steps measured atlayoutTimewith the camera at rest. Pick alayoutTimeafter every entrance has finished. Camera steps centreonat screen heighty(default 420, clear of the captions) at scales; repeat a step to hold. Cursor clicks draw a ripple. - Captions
.cap: a numbered chip, a bold lead phrase and a muted rest. Short enough to read in two seconds. Play them withKit.captions([[selector, from, to], ...]), which throws if two overlap; two captions crossfading read as garbled text. - Pacing:
Kit.timeline([[realSeconds, animFrom, animTo], ...])maps video time to animation time;animFrom == animToholds a frame. It also sets the video length. - Outro
.outro: logo, a two-line headline, "Available now in T3 Code<version>",t3.codes. Change the headline and version, keep the rest. Hold it about 3 s.
Two animations on one property of one element fight (the later one wins for its whole fill). Give an element one animation per property, as Kit.beats does for visibility.
Mock stories
template/story.html uses the same kit (cursor, timeline) but draws the app in HTML on a 2000×1000 .stage scaled .76 (stage point (x, y) is canvas (40 + .76·x, 26 + .76·y)), with CSS @keyframes and delays for motion and one @keyframes camera for the camera. Rebuild any screen it lacks from the real component's strings, layout and lucide icons.
Delivery checklist
- [ ] 1920×1080, 30 fps, 20–30 s, or 40–45 s for a mobile release (
render.shprints it). - [ ] Every beat checked in a contact sheet and at full size.
- [ ] No unannounced feature, real person, real machine name or real thread on screen.
- [ ]
outro.pngexported and embedded in the reply with the video.