HTML reel
Turn a tweet, a video, a YouTube video or a landing page into a 9:16 reel (Instagram Reels, TikTok, Shorts) that says what the source says and looks like it.
Safety check
- Script runs other programs or code: scripts/bubble.mjs line 24
- Script calls the network: scripts/bubble.mjs line 79
- Script runs other programs or code: scripts/decursor.py line 51
- Script runs other programs or code: scripts/flash-crop.mjs line 18
- Script runs other programs or code: scripts/frame-video.mjs line 62
- Script runs other programs or code: scripts/join-takes.py line 29
- Script runs other programs or code: scripts/preview-reel.mjs line 55
- Script calls the network: scripts/preview-reel.mjs line 240
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: html-reel
description: Turn a tweet, a video, a YouTube video or a landing page into a 9:16 reel (Instagram Reels, TikTok, Shorts) that says what the source says and looks like it, with every cut on a word. Read the source (its words, its media, its measured fonts and colours), pick a structure (a promo, a showcase, "found this", an explainer, before and after), write the script in the creator's voice from the source's own facts, make the voice with timestamps (their cloned ElevenLabs voice), then build the picture from HTML scenes drawn from one clock (window.__frame(t)) in the source's look, opening on its cover (the hook's best moment as the first frame), its demo video framed and cut to words, and assemble it in Fil's video editor over MCP. The creator is in it from the first draft as a placeholder in the camera layouts (a backlit studio silhouette) (full frame, a bubble, half the frame), swapped for their on-camera clips (their approved HeyGen Avatar 6 twin speaking the final voice; phone takes for a creator who records, with everything retimed to their own words by word anchors, t = W(τ)); a reel can also be faceless. Use when someone wants a reel, a short or a vertical video from a post, a thread, a launch, a landing page, a demo video or a YouTube video, "a reel like this one", or a talking-head promo cut to their own delivery.
---
# HTML Reel
**HTML scenes · DreamCut · Fil's video editor over MCP · ffmpeg.** A scene engine without a framework is in `scripts/reel-clock.js`.
A reel is a voice with pictures cut to it. This skill makes one from a source someone already has, a tweet, a landing page, a YouTube video or a video file, so it says what that source says and looks like it: its words become the script, its media the picture, its fonts and colours the titles. Every picture follows the words: a title lands on its word, the demo cuts on the line that names it, a sound effect hits on the reveal. The creator is in it from the first draft, a backlit silhouette standing where their camera goes, so the reel is complete before they record a word; their takes replace it, and because the scenes are HTML drawn from one clock, everything is retimed to their real delivery without animating anything again.
**Boundary.** Use `html-demo` for a live app window on a web page (no video file). Use `browser-video-recording` for a polished screen recording on its own. Use `website-to-motion-design` to turn a page into a fixed-length motion piece with no voice. Use this skill when the deliverable is a vertical video cut to a voice, from a source.
**Provenance.** Extracted from Meng To's launch reel for HTML Demo (fil.design/skills/html-demo), October 2026: a 24.7 s reference reel's eight layouts studied, a scratch voice in his cloned ElevenLabs voice, four DreamCut recordings of the skill page, an HTML hook and tail rendered frame by frame, three drafts in Fil's video editor, two blind judges a round, then his two phone takes cut into one 33.7 s reel on his own word timings, and later one landscape take, its pauses cut, retimed the same way into 37.5 s. Then made general: each of three of his posts (MiniMax landing pages, a reverse-engineered smart home, the Anatomy skill) turned into a reel in its own look, first faceless, then again with a placeholder in the camera layouts (first an ink drawing of him, then a backlit studio silhouette), cinematic type and captions, previewed locally before Fil. The files and numbers below are from those runs.
## The mechanism
**Everything is placed on word times, and everything drawn is a pure function of t.** Each HTML scene sets every element from `t`, the seconds into the scene, through `window.__frame(t)`, at a fixed 540 × 960 stage rendered at 2× (1080 × 1920). A renderer calls it once a frame and screenshots; nothing reads a clock. So when the real take arrives, word anchors give a piecewise-linear map from the real seconds τ to the scratch seconds t, and the scene renders again at `t = W(τ)`: the same animation, on the new delivery, with no judder.
Take that away and the reel can't follow a person. A scene animated with CSS timelines, GSAP timelines or timers plays at its own pace; to fit a new take it has to be re-animated by hand, line by line, and the cuts drift a few frames each time. A screen recording can't be retimed either, so it's cut at its events and each piece gets its own speed.
```js
// hook.js, on reel-clock.js: times are the scratch voice's words.
const T = { look: 0.27, recording: 1.1, zoom: 3.25, sharp: 4.54, html: 7.22 };
HTMLReel.scene({
dur: 8.6,
anchors: ANCHORS, // [[τ, t], …] once the real take exists
draw(t, $) {
$('#win').style.transform = `scale(${1 + 2.8 * ease(t, T.zoom, T.zoom + 1.2)})`;
$('#w-recording').style.transform = `translateY(${(1 - word(t, T.recording, 2.2)) * 135}%)`;
$('#tags').style.opacity = ease(t, T.html - 0.3, T.html);
},
});
```
`scripts/render-frames.mjs` renders any such page to an MP4 (and checks the safe area every frame); Fil's video editor plays the same page as an HTML scene, stepping its clock frame by frame; a browser plays it live with `?controls`.
## Workflow
1. **Read the source** (`scripts/read-source.mjs <tweet | page | YouTube | file> --out source --follow`, `references/source.md`). Finish `Source.md`: its words word for word, the facts the reel may say, the one idea, the hook, whose work it is, the ask. Finish `Look.md` from what was measured and the frames: the shape, ground, ink, accent, and type as three roles (setup, payoff, labels), background, motifs, motion.
...From MengTo's repository, MIT licence.
Related skills
-
Checked
Shorts script and edit
Turns a topic or long video into a shot by shot script, hook options and an edit plan that holds viewers.
8/101 credit -
Checked
Podcast clip finder
Pulls 8 to 12 ranked short clips from a long video or podcast, each with a hook, timestamps and captions.
7/101 credit -
Checked
Talking head video script
Turns your voice note ramble into a short video script that sounds like you, with a list of facts to check.
7/101 credit -
Checked
AI video script planner
Plans a timed AI video script, beat by beat with three hook options, so you know exactly what to generate.
7/101 credit -
Checked
Reels script writer
Writes shot ready Instagram Reels scripts from 15 to 90 seconds with a hook, call to action and caption.
7/101 credit -
Checked
Remotion video renderer
Builds and renders finished MP4 videos in Remotion with word by word captions, transitions and overlays.
7/101 credit