Generated banner for HTML Explainer Video
Generated logo for HTML Explainer Video

HTML Explainer Video

Meng ToCommunityCreated by Meng To

  • Skill
  • Content generator
  • Design and creative
  • MIT
  • Low risk
  • Has scripts

From the author

Turn a product, a feature or an idea into a finished one-minute explainer video in any look: a script (hook, benefit, quick tutorial, try it), a voice whose words are the clock, HTML scenes drawn from that one clock and rendered frame by frame at 2×, and an edit in Fil's video editor over MCP with captions, music, sound effects and chapters. The look is an input, read from the person's site or a named style, so the same film can wear any type, colour, corners and motion. The shape is an input (4:3, 16:9, 1:1, 9:16). No camera by default: a voice-led film whose scenes fill the frame; ask for a camera and it adds record slots, layouts by keyframes and a teleprompter. Use when someone wants an explainer, a feature video, a product walkthrough, an onboarding video, a how-it-works video or a launch video, wants one in their own brand, or wants it without filming anything.
— the description by Meng To

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill creates a one-minute explainer video by combining a voiceover with HTML-based scenes. It uses a clock-based timing system where every visual element is tied to a specific word in the script, ensuring precise synchronization. The output is rendered frame-by-frame and assembled with captions, music, and sound effects. Users can define the look, shape, and camera presence, allowing the same script to be adapted for different branding or aspect ratios without rebuilding the underlying scenes.

What it does

  • Writes a script including a hook, benefit, tutorial, and call to action.
  • Generates HTML scenes that are rendered frame-by-frame at 2x resolution.
  • Synchronizes visual elements to the voiceover using a word-based clock.
  • Applies custom branding, colors, and motion styles via CSS variables.
  • Assembles the final video with captions, music, and sound effects.
  • Supports optional camera integration with layouts and teleprompter functionality.

When to use it

  • When you need a product walkthrough, onboarding video, or launch video.
  • When you want to create a video in a specific brand style without filming.
  • When you need to explain a feature or idea clearly in about one minute.
  • When you want to repurpose the same content across different aspect ratios.

Advantages

  • Visuals are perfectly synced to the voiceover timing.
  • The look and feel are decoupled from the scene logic.
  • Supports multiple aspect ratios including 4:3, 16:9, 1:1, and 9:16.
  • Allows for consistent branding across different video projects.

Usage examples

“Create a one-minute product walkthrough for my new task management app.”
The agent will draft a script, define the visual look based on your website, and generate a synchronized explainer video.
“Generate a 9:16 launch video for our latest feature update.”
The agent will produce a vertical video optimized for mobile, following your brand's style and the specified script.

Install

Documentation by Meng To

HTML Explainer Video

HTML scenes · Fil's video editor over MCP · Playwright · ffmpeg. A scene engine without a framework is in scripts/explainer.js.

An explainer is a voice with pictures cut to it. This skill writes the voice, then draws every picture in HTML from one number: the film's seconds. Each thing on screen lands on the word that names it, because its time is that word's time (T.clock is when the voice says "clock"). It looks like motion design and it's a web page, so its look, its shape and its camera are settings, not rebuilds.

Boundary. Use html-demo for a live app window on a web page (no video file). Use html-reel to turn an existing post, video or page into a 9:16 reel in that source's look. Use website-to-motion-design for a short piece with no voice. Use this skill when the deliverable is a finished explainer film, about one minute, that explains something.

Provenance. Extracted from seven one-minute onboarding films for Fil, 31 October to 1 November 2026. Each had a hook, a benefit, a quick tutorial with numbered headings and an ask, with scenes rendered at 2× and 60 fps and assembled in Fil's video editor. Those were locked to one dark look, one shape (4:3) and a camera slot, and built on Fil's own demo components. Here all three are inputs and nothing depends on Fil's components. The film in demo/ is this skill's own explainer, made with it: one script, in four looks and four shapes, with the camera off or on, and no change to a scene. The rules below are what those films cost to learn.

The mechanism

Every frame is a pure function of one number, and every time is a word. A scene sets everything from t, the film's seconds. HTMLExplainer.times(WORDS) names each word of the voice (T.clock, T.clockEnd, a word said again T.look2). A renderer calls window.__frame(t) once a frame and screenshots; nothing reads a clock.

// film.js: a scene. No colour, no font, no pixel of layout from the shape.
const T = times(window.WORDS);
const step3 = {
  id: 'step3', from: T.three - 0.12, tone: 3,
  draw(t, $, f) {
    show($('.x-head'), t, T.three);            // when; the look says how
    show($('#code'), t, T.clock);              // lands on the word "clock"
    ring($('#last'), t, T.word);               // a thin line, on "word"
    $('#code').textContent = `T.clock = ${T.clock.toFixed(2)}`;
  },
};
film({ words: window.WORDS, end: T.end + 2.4, scenes: [hook, step3, end] });

Take that away and all of it breaks. A scene on CSS timelines or timers plays at its own pace, so a new voice means animating it again, and the cuts drift a few frames every time. A frame drawn from t is the same picture every run, so a re-render changes only what you changed.

The three inputs

None of these touches a scene. Read them from the person, or use the defaults.

inputhow it's setdefaultwhat it changes
Look<html data-look="…"> or ?look=, one block of --x- variables (references/looks.md)read from their site, else ask for a styletype, colour, corners, edges, where the headline sits, window chrome, picture treatment, captions, and how things move
Shapeshape: or ?shape=: 4:3, 16:9, 1:1, 9:16where it'll be seen; 4:3 if nobody saysthe stage (short side always 1080) and every region: --pic-x, --head-y…
Cameracamera: or ?camera=onoffoff: no slots, no kept corner, scenes fill the frame. On: references/camera.md

show(el, t, at, leave) is why a look can move differently without a change to a scene: the scene says when, and --x-motion (rise, fade, snap, wipe) says how. A look's block of variables can sit on any element too, which is how the film shows three looks side by side.

Workflow

Ask at most one question before starting, and only if the thing to explain is missing. Say the defaults you took.

  1. Write Explainer.md: what it is, the one idea someone should leave believing, who it's for, every fact the film may state with where it comes from, and the ask. Read the product's own site, docs or source for those facts. A film can only say what's on this list.

  2. Set the look (references/looks.md): scripts/read-look.mjs <their site> --name brand measures it into brand.css and brand.md; or they name a style and you write the block. Compare it with their page by eye. Collect their real logo and real pictures now, sized for where they'll be drawn.

  3. Write the script (references/format.md): hook, benefit, quick tutorial, try it. About 2.6 words a second, so 140 to 155 words a minute. Write for the ear. Under each line, say what the picture does and the word it lands on.

  4. Build on a free clock. scripts/words.py --draft script.txt --out words times the script from its letters and punctuation, for nothing. Scenes on it are timed by name, so the real voice replaces it without changing a scene.

  5. Build the scenes on scripts/explainer.js and explainer.css, one <section class="x-scene"> each, about 4 to 8 s long. The first frame is the cover. Only variables and regions, no fixed colour or size that belongs to one look or one shape. Look at stills as you go: scripts/render.mjs film.html --stills 0,3,8,16 --out stills. At least three rounds, in at least two looks: a scene that only works in one look isn't finished.

  6. Check. scripts/check-film.mjs film.html in every look, shape and camera setting you'll render: enlarged pictures, soft 3D, two headlines at once, words at the edge or under the camera, a frame that differs between runs.

  7. Show the price, then make the voice. In Fil, an audio node on eleven-v4 with max_credits: 0 gives the price. Get the person's OK, then run it. Captions with look: { max_words: 1 } give word times (about ⚡1 a minute); get_video with captions: "list", saved, goes through scripts/words.py --voice voice.mp3. Read the words against the script before going on: names and numbers above all.

  8. Place the sound. window.SFX lists the cues, and scripts/sfx.mjs film.html gives each its take, sync point and level (references/sound.md).

  9. Preview it. scripts/preview.mjs film.html --voice voice.mp3 --music bed.mp3 --sfx sfx.json --out preview.mp4: the whole film at 1×, 30 fps, with captions and sound at −14 LUFS, and a contact sheet. Judge it here: a change costs a minute.

  10. Render. scripts/render.mjs film.html --scene all --fps 60 --scale 2 --out final writes one MP4 per scene. Run it niced and in the background; it takes minutes per scene.

  11. Assemble in Fil over MCP (references/fil-editor.md): scenes in order, voice, captions in the look, music, sound effects, chapters.

  12. Export and verify the file, not the timeline. Then score it with blind judges and fix what they both name (references/checks.md).

With a camera, steps 7 and 11 change and the person records last: references/camera.md.

Rules, each with the failure it prevents

  • Every claim comes from Explainer.md. Helpers on the source films found "one button" (three presses), "one click" (two), "your own address" (the free plan's is random), "pull the frame wider" (shape chips): each sounded fine and each was false. Check every claim on screen and in the voice against the product, and report what it contradicts rather than papering over it.

  • The first frame is the cover. Grids, feeds and Fil's edit node all show a film's first frame. At t = 0 the hook's headline and its best picture are already drawn, with no entrance. A hook that opens on an empty frame opens on nothing.

  • The hook is something no screen recording could show. Result first, then how. In the source films it's a set piece that fills the frame; here it's the frame itself taken apart into its layers.

  • Something changes on nearly every phrase, on its word. That's what "engaging" came to mean. Calm camera: eased moves, never chasing. Hold on a result long enough to read it.

  • Times come from words, always by name. Draft 1 of any film timed by reading speed lands every beat early or late. T.clock, never 35.63.

  • A scene names no colour and no font. Fixed values belong in a look. If you need a value only one look wants, add a variable. Otherwise the second look shows you everything you hard-coded.

  • Two looks must differ in composition, not only colour. Blind judges called the first pass of this film's looks reskins: same layouts, other fonts. Move the headline (--x-head-at), redraw the windows, treat the pictures differently. Then they scored them apart.

  • Never a wireframe. Grey bars standing in for "your site" read as an unfinished film, and they did to both judges. Show a real page from the first frame, and ring what's being named.

  • Keep the end moving, and make the address big. A name held for 7 seconds with a faint address under it is dead air at the one moment that matters. Land things on the words after the name.

  • Scenes lay out from regions, not coordinates. --pic-x, --pic-w and container units, so 9:16 and the camera's corner just work. A position measured in one shape is wrong in the other three.

  • Nothing scaled above 1 under 3D. Chromium rasterises anything under perspective, preserve-3d or a 3D matrix at its layout size and stretches the bitmap, so scale(1.7) on a card goes soft however large the file and whatever the device scale. Lay it out at the size it's drawn and push it back in Z. The hooks are where this shows first.

  • Pictures are never enlarged past their real pixels. At a 2× render a picture reads 2.0 at most. Show it smaller, or use a bigger real file. Never CSS sharpening, an upscale, or a blur over a picture.

  • Highlights fit what they mark. ring(): a 1.5 px line by outline and outline-offset, with 4 to 6 px of even clear space. Never a band, and text never touches the line. A fill behind a word hugs it, with about 0.14 em at the sides. It must never be clipped by a window.

  • Real logos and real pictures only. Copy them from the person's own files. Never draw or approximate a company's mark, and never use lorem or stand-ins. Where there's no picture, draw the thing in HTML: a window, a chart, type.

  • Real words in any UI you draw. Copy every label, menu item and number from the product. One invented word ("Processing…") and someone who uses it stops believing the rest. Anything you had to write for the film, say so in your report.

  • Pointers land on real targets. pointer() aims at selectors, measured as drawn. Arrive 0.3 to 0.6 s before a click, press 0.15 s. A hard-coded point misses in the next look.

  • Headlines never overlap. A headline's leave plus 0.22 s is at or before the next one's start.

  • About one sound a second. On presses, arrivals you can see and the hook's beats, at measured sync points, never more than two in 150 ms, with quiet stretches under the voice. Fewer and better.

  • A caption edit must keep its word count. A longer text eats the next caption's id and merges them. Read get_video with captions: "list" first; if it merges, set the whole text and split_after.

  • Never remove a caption under big type. Hide it with a caption range at offset 400. Removing deletes words the teleprompter reads, and renumbers the rest.

  • No generated person, ever, unless asked. The stand-in for a camera is a drawn silhouette. A film that needs a face has a camera slot, and the person records.

  • Spend nothing without the price and an OK. max_credits: 0 first, every time. A voice is about ⚡7 a minute. Everything else in this skill is free, including all of the rendering and the whole edit.

  • Post nothing. The film is finished when it's exported and checked. Publishing it is the person's step.

Numbers from the source films and this one

whatvalue
length57 to 60 s, about 2.6 words a second, 146 to 155 words
stageshort side 1080: 1440 × 1080, 1920 × 1080, 1080 × 1080, 1080 × 1920; rendered at 2×
frames60 fps for the edit; 30 fps at 1× for a draft
partshook 3 to 6 s; benefit 12 to 20 s; quick tutorial 22 to 30 s; try it 6 to 14 s
scenes10 to 12, about 4 to 8 s each
endthe last word's end plus about 2.4 s
headlines62 px on 4:3, 76 px on 16:9, 78 px on 9:16; two-tone: a lead-in and a statement
soundsabout 1 a second; 64 in this film's 59 s, 18 of them keys under typing
voice⚡7 for 146 words on ElevenLabs v4, in a stock voice
captions⚡1 for one minute
corner camera374 × 210, 40 px from the right and the bottom (4:3, 16:9)
loudness−14 LUFS

Verify

  • [ ] The first frame is the cover: headline and best picture, already drawn.

  • [ ] check-film.mjs is all clear in every look, shape and camera setting rendered.

  • [ ] Every claim on screen and in the voice is on Explainer.md's list, and checked against the product.

  • [ ] Scenes were looked at as stills in at least two looks, and it holds up in both.

  • [ ] The voice's words match the script, names and numbers above all.

  • [ ] Moves land on their words in the export (scrub a few at 0.25×).

  • [ ] Full-size crops of every highlight, and of the hook: nothing soft, nothing clipped.

  • [ ] Frames every 0.5 s from the export: no text cut off, no caption under big type.

  • [ ] Integrated loudness −14 LUFS ± 1, true peak under −1 dBTP.

  • [ ] Chapters name the parts.

Files

  • scripts/explainer.js, scripts/explainer.css: the engine and its parts: film(), times(), regions by shape and camera, show(), ring(), view(), pointer(), captions and a stand-in for previews, the controls.

  • scripts/render.mjs: scenes to MP4, the whole film, or stills and a sheet, in any look, shape and camera setting.

  • scripts/check-film.mjs: enlarged pictures, soft 3D, two headlines, edges, the camera's corner, repeatable frames.

  • scripts/read-look.mjs: a site's look, measured, as a block of variables and a note of what's left for you.

  • scripts/words.py: the clock: from Fil's captions list, or a free draft from the script.

  • scripts/sfx.mjs: the cues as placed, levelled takes, and the commands to add them in Fil.

  • scripts/preview.mjs: the whole film with captions, voice, music and sound, locally.

  • references/format.md: the four parts, the script, the scene patterns, and explaining an idea rather than a product.

  • references/looks.md: every variable, how to read or name a look, and worked looks.

  • references/camera.md: turning the camera on: slots, layouts by keyframes, titles, the teleprompter, the take.

  • references/fil-editor.md: every command to assemble it in Fil's video editor over MCP.

  • references/sound.md: the takes, their sync points and levels, music, and listening.

  • references/checks.md: what to look at, what the checker can't see, and the blind judges.

  • sounds/: 24 sound effects from earshot's launch kit, with their measured sync points (MIT licence).

  • demo/: this skill's own film, live: its scenes, its four looks, its words and voice, with switches for look, shape and camera.

Without Fil. The edit is Fil's, but the film doesn't have to be: scripts/preview.mjs makes a finished MP4 on your own machine from any voice file and its word times (words.py --json).

Files

references/looks.md

Looks

A look is one block of CSS variables. Scenes use only these, so changing the block changes the whole film, including how it moves. It can sit on the page (<html data-look="…">) or on any element, and it can be read from a site, written from a named style, or taken from a brand guide.

Reading one

node scripts/read-look.mjs https://their-site.example --name brand --out looks

It opens the page, measures what's really drawn (ground, ink, second ink, accent from buttons and links, panels, corners, edges, shadow, headline and body faces with weights, tracking and case, how fast its transitions run) and writes looks/brand.css, looks/brand.md and a screenshot. Add <link rel="stylesheet" href="looks/brand.css"> to the film and open it with ?look=brand.

Then finish it by eye. brand.md lists what's left:

  • Fonts. A face not on Google Fonts can't load here. Add a @font-face from the person's own files if they have the rights to embed it, or name the closest Google font.

  • Ground. A dark hero on a light site can read as the site's ground. --x-ground-image starts flat: bring across its gradient, grain or grid.

  • Motion. A still page can't tell you how it moves. Watch it and set --x-motion yourself.

  • Compare a still of the film with their screenshot, side by side. It should look like a video their own designer would make, not their colours on someone else's template.

Naming one

If they name a style ("editorial", "brutalist", "calm and technical"), decide the five things that make it that style, then write the block:

  1. Ground and ink: one mode, one accent.

  2. Type: one headline face, its weight, tracking and case; one body face, one label treatment.

  3. Edges: corners, border weight, shadows or none.

  4. Chrome: how windows are drawn (traffic lights, a thin frame, a heavy bar).

  5. Motion: how things arrive (rise, fade, snap, wipe) and how fast.

A style that's only a colour swap isn't a style. If two looks differ only by hue, change the type, the edges and the motion too.

The variables

variablewhat it is
--x-ground, --x-ground-imageThe frame's colour, and a gradient, grid or grain over it
--x-panel, --x-panel-2Windows and cards, and what's inside them
--x-ink, --x-dimThe statement and the lead-in of a two-tone headline
--x-lineHairlines and grids
--x-accent, --x-accent-inkThe one strong colour, and words on it
--x-ring, --x-ring-wHighlights: ring() draws this line, 1.5 px unless the look is heavy
--x-head-at, --x-head-h, --x-head-align, --x-mWhere headlines sit (top, side, bottom), how tall they run, how they're set, the side margin
--x-head-font, -weight, -size, -line, -track, -caseHeadlines
--x-hero-size, --x-hero-trackThe biggest type: the hook, the end
--x-body-font, --x-body-weightEverything read in a window
--x-label-font, -weight, -case, -trackLabels, buttons, window titles
--x-mono-fontCode, addresses, numbers
--x-radius, --x-radius-sWindows and cards; buttons and chips
--x-edge, --x-edge-colorBorder weight and colour
--x-shadowUnder windows: soft, hard or none
--x-bar, --x-bar-ink, --x-lights, --x-light-1…3, --x-light-radiusA window's bar, its words, and whether it has traffic lights
--x-pointer, --x-pointer-edgeThe pointer's fill and edge
--x-pic-filter, --x-pic-blend, --x-pic-groundHow pictures sit in the look: sepia(.14), or black ink on colour. Never a blur
--x-motion, --x-motion-dur, --x-motion-distrise, fade, snap or wipe; its seconds; how far, in px
--x-cap-font, -size, -weight, -ink, -word, -edge, -bg, -padCaptions, the spoken word's colour, and a box where the grounds change: send the same to Fil (box: "line", background)
--x-name-face, --x-name-movesThe words a scene shows when it names the look

A look can change the layout, not only its colours. --x-head-at (top, side or bottom) moves the headline and every region with it, and --x-head-h says how tall its headlines run. --x-bar-order: 2 makes a window's bar a caption under it. --x-pic-blend: multiply with --x-pic-ground prints pictures in ink on colour. And a look's file can restyle the parts directly ([data-look='paper'] .x-head .x-lead { display: block; font-style: italic }). Two looks that share a composition read as reskins, so change the composition.

A look may also restyle a tone: [data-look='poster'] .x-scene[data-tone='2'] { --x-ground: #1b2bff; … }, with tone: 2 on a scene. That's how a look gets a new ground on every scene without the scene knowing.

Worked looks (demo/looks/)

lookground · ink · accenttypeedgesmotioncame from
Night#09090b · #f5f5f7 · #efb36cGeist 600, two-tone, headline on top16 px corners, 1 px edge, soft deep shadowrise, 0.55 sWritten
Paper#f3ecdf · #1d1a15 · #b5381fNewsreader 400, headline in a column beside the picture, labels in Hanken Grotesk2 px corners, hairlines, no shadow, captions under figuresfade, 0.8 sWritten
Poster#ffd400, #1b2bff, #ff3b1f by tone · #0c0c0cArchivo 900 in capitals across the foot, the picture aboveNo corners, 4 px edge, 12 px hard shadow, slightly turned windows, pictures printed in black on coloursnap, 0.2 sWritten
Terminal#0a0d0b · #d9f2df · #7dff9eJetBrains Mono 700, a small prompt over panes that fill the frameNo corners, ruled lines, pictures in phosphorsnap, 0.1 sColours and face read from a real page, a Fil survey in its Terminal style, by read-look.mjs (terminal.md), and its layout finished by hand

All four run the same scenes. check-film.mjs passes on each.

Blind judges called the film's first looks reskins, and named Night and Terminal as too alike longest: a real difference comes from composition, not tint.

Fonts and licences

Rendering a font into a film still uses it. Use faces you may use: Google Fonts' are free for this. A system font such as SF Pro is licensed for mock-ups on its own platform, so don't put it in a public film unless the person holds that licence. Fil's captions come from its own list, so pick the closest of these for look.font: Geist, Inter, Inter Tight, Instrument Sans, DM Sans, Manrope, Space Grotesk, Sora, Outfit, Plus Jakarta Sans, Figtree, Poppins, Montserrat, Work Sans, IBM Plex Sans, Roboto, Open Sans, Archivo, Bricolage Grotesque, Funnel Display, Funnel Sans, Syne, Unbounded, Anton, Bebas Neue, Instrument Serif, Fraunces, Newsreader, Playfair Display, Cormorant Garamond, EB Garamond, Lora, Source Serif 4, Libre Baskerville, STIX Two Text, Geist Mono, JetBrains Mono, DM Mono, IBM Plex Mono, Space Mono, Shantell Sans, Caveat.

Telling two looks apart

Render the same still in both and put them side by side. If you squint and they look like the same film, they're not different enough yet: where the headline sits, how windows are drawn and how pictures are treated do more of that work than the colour does. Then run check-film.mjs in each, because a look with bigger type can push words out of a window that fit before.

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Needs Python, Needs Node.js

Security

What our scanner noticed· Low risk

  • Scripts that your agent may run

This skill includes scripts that your agent may run. Read them before you use it.

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
Meng To
Publisher
Meng To (Community)
Source
MengTo/Skills · agent-skills/media/html-explainer-video · commit 5ea1661
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Meng To or Meng To.

Get it from the source

25 of this skill’s files are not mirrored here, so there is no ZIP. Get the complete skill from its source: MengTo/Skills