Code Game Trailer

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 f

38 stars 7 forksSoftware Development Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add vargHQ/skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add vargHQ/skills --skill code-game-trailer
Manual install
git clone --depth 1 https://github.com/vargHQ/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/code-game-trailer ~/.claude/skills/code-game-trailer

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 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` |
Read the full skill on GitHub

Details

Skill name
code-game-trailer
Repository
vargHQ/skills
Path
code-game-trailer/SKILL.md
License
MIT
Repo updated
18 November 2026

FAQ

What does the Code Game Trailer skill do?

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 f

How do I install the Code Game Trailer skill?

Claude Code plugin: /plugin marketplace add vargHQ/skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Code Game Trailer popular?

It lives in vargHQ/skills, which has 38 GitHub stars and 7 forks, and is included in 1 curated skill list.

Related skills

Ad Creative Testing

38

vargHQ/skills

Turn one winning ad into a creative testing plan for TikTok and Meta. Decodes why an ad won (hook, argument, buyer, format), plans concepts that Meta's Andromeda and TikTok treat as genuinely different (buyer × angle × format × first frame, not caption swaps), sets how many creatives to launch, the budget per test and when to judge, writes file and ad names that make results readable, reads hook rate, hold rate, CTR and CPA to find which part failed, and says when to kill, iterate or scale. Use when someone asks how many ads to test, how to make ad variants, why their variants all perform the

Testing & QAIn 1 list

AI Ad Compliance Check

38

vargHQ/skills

Turns an AI video ad into a compliance report for TikTok Shop, TikTok ads, Meta, YouTube, the FTC, New York's synthetic-performer law and the EU AI Act before it runs: varg video_analyze pulls every shot, spoken and on-screen claim and person, each claim is matched to the seller's evidence, the visuals are checked against TikTok Shop's AI product rules (no fake effects, before/after, changed quantity or size), people and voices against the FTC fake-testimonial rule, and the result is a pass / fix / block list with the rule, source and date, a rewrite for each fix, and the AI labels to set on e

AI, LLMs & AgentsIn 1 list

AI Parody Video

38

vargHQ/skills

Plan and make a short AI parody video: a known movie scene, TV format or news shot with one wrong element, 10 to 45 seconds, built to be shared. Gives the joke structure, six formats measured on clips with 60 thousand to 9 million views (scene recast with new dialogue, original-vs-remake, one-prompt sitcom sketch, fake live news shot, character monologue, silent slapstick), which production route each one takes, prompt templates for the sketch and the news shot, subtitle and caption rules, and a plain list of what is allowed with real people, known characters, studio footage and cloned voices,

AI, LLMs & AgentsIn 1 list

Code Path Traced Film

38

vargHQ/skills

Make a short animated film in which everything is code the agent writes, including the renderer: a path tracer in one WebGL2 shader (no Blender, no three.js, no meshes, no textures), characters and props as signed distance fields, a meadow of analytic curved grass blades, moon, firefly and window lights with soft shadows, depth of field and motion blur, a variance-guided denoiser, a score synthesized in numpy from the same timeline, captions and an encode. Includes the complete tested film "The Smallest Star" (70 s, 11 shots, two characters) as a starter, a live page that runs the same rendere

Software DevelopmentIn 1 list

Cloud API Integration

48

martinholovsky/claude-skills-generator

Expert skill for integrating cloud AI APIs (Claude, GPT-4, Gemini). Covers secure API key management, prompt injection prevention, rate limiting, cost optimization, and protection against data exfiltration attacks.

Software Development

Edit Footage with Code

38

vargHQ/skills

Edit real footage with an agent: turn raw takes of a talking head, podcast, vlog, course or ad into a clean cut, then add captions, B-roll, motion graphics and sound with HyperFrames or Remotion. Reads the take as text and audio, removes dead air, retakes and stumbles without clipping words, writes the cut as an edit list a person can review, keeps every graphic on the spoken word, and checks the result with numbers and frames before a person watches; tested scripts and defaults from 2,318 editors' posts. Use for "edit this video", "cut my footage", "remove the pauses", "cut the dead air", "cl

Software DevelopmentIn 1 list

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.