← ClaudeAtlas

code-game-trailerlisted

Turn a browser game or three.js / WebGL scene an agent built into a cinematic trailer MP4: a virtual clock injected before the page's scripts makes every frame exact at 30 or 60 fps, a director JSON scripts each shot (key and mouse inputs, game setup, trailer camera paths, slow motion, HTML titles and end cards), headless Chrome captures 1920x1080 frames, ffmpeg cuts them on the beat, a music bed (code-written or from varg) is normalised to -14 LUFS, and a checker measures frozen frames, loudness, debug text, third-party names and claims. Includes a tested example game. Use when someone asks for a game trailer, to record my three.js game, a gameplay video, a trailer for my browser game, a Fable 5.2 game video or a fake AAA gameplay trailer. Not for HTML motion graphics (hyperframes), 3D previz for AI video (threejs-animatic), AI-generated footage (varg-ai) or editing existing footage (short-form-ffmpeg-cookbook).
vargHQ/skills · ★ 38 · AI & Automation · score 86
Install: claude install-skill vargHQ/skills
# Code game trailer: record the game, cut it like a trailer On launch day of Claude Fable 5.2 (2026-11-09) the most-watched thing people made with it was a browser game built from one brief: 3.45M views across 18 posts. What travelled was not the game but the **video of the game**. A screen recording of a game drops frames, drifts from the music and shows a cursor and a debug counter. A trailer needs exact frames, chosen moments, a camera that moves like a film camera, a title, a beat and an end card. This skill does that for any HTML/WebGL game an agent wrote. The example in `examples/lantern-canyon/` (an original game made for this skill, one HTML file) went from director JSON to an 18.6 s 1080p trailer in 56 s on a laptop (stills, capture, score, cut and check), with no credits spent: [the full trailer](https://s3.varg.ai/files/4325c578-378d-4c43-ae53-3cc3218df1ea/file_b715771f882f.mp4) (1920×1080, 19 MB). Your own runs write it to `examples/<game>/master.mp4`. ## When to use it | request | use | |---|---| | "make a trailer / gameplay video of my browser game", "record my three.js game" | **this skill** | | a game that does not exist yet ("make a game and a trailer for it") | brief the game first ("Making the game in the first place" below), then this skill | | the video is HTML motion graphics, captions, a launch film | `hyperframes` | | a 3D grey-box previz that will feed Seedance video-to-video | `threejs-animatic` | | footage from AI video models | `varg-ai` | | cu