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/fil-editor.md

Assembling in Fil's video editor over MCP

A Video edit node cuts canvas videos, pictures, sounds and words into one film. Install Fil's MCP from fil.design/for-agents. Everything here is free except the voice, the captions and any music you generate, and each of those gives its price first with max_credits: 0. Send the commands as they're written, with brief: true, and read back with get_video.

Why rendered MP4s, not live HTML scenes in the edit: a whole film page floods write_file, and Fil draws about 5 ms per element a frame. Render scenes to MP4. Small see-through titles stay real Motion nodes.

1. The canvas and the words

create_canvas, give the person its link, then add_document for Explainer.md, Look.md and Script.md.

2. The voice

generate { canvas_id, kind: "audio", model: "eleven-v4", voice: "Hope", name: "Voice", prompt: <the script's lines>, max_credits: 0 }

That gives the price and leaves the node waiting. Tell the person, and run it with their OK: generate { canvas_id, node_id, max_credits: <the price> }, then check_node with wait for its link. Save it as voice.mp3 (curl -o), once. list_models with kind: "audio" lists the voices.

3. The edit, and the clock

make_video { canvas_id, node_ids: [<voice>], shape: "4:3", fps: 60, name: "<the film>" }

It answers with the voice's clip id.

Captions with one word to a line give every word's time:

edit_video { node_id, commands: [{"op":"set","clip":"<voice clip>","set":{"sound":"voice"}},{"op":"captions","generate":true,"look":{"max_words":1}}], max_credits: 1, brief: true, wait: 20 }
get_video { node_id, captions: "list" }

Save that answer as captions.txt, then python scripts/words.py captions.txt --voice voice.mp3 --out demo/words. Short words can still share a line ("word. Four."), so --voice splits a line with two sentences at the voice's own pause, and the rest by their letters. A voice made in Fil is aligned to its own script, so names come out as written. Read them against the script anyway. Now every scene is on the real words: re-check them, and render (scripts/render.mjs film.html --scene all --fps 60 --scale 2 --out final).

4. Upload the scenes and sounds

upload_file { canvas_id } gives an address, good for an hour.

  • Under 3.9 MB: curl -sS -T file.mp4 "<address>". It answers with its asset_id.

  • Larger: curl -sS -X POST "<address><name>?direct=1" gives upload_url, content_type and finish_url. Then curl -T file.mp4 -H "Content-Type: <content_type>" "<upload_url>", then curl -X POST "<finish_url>".

Name each <film>-<scene>.mp4, and keep the ids. Save the sounds' ids as assets.json for sfx.mjs. Up to 100 MB each on Max. A minute of flat graphic scenes at 2×, 60 fps came to about 16 MB in all.

5. Scenes in order

{"op":"add","file":"<hook>"}
{"op":"add","file":"<give>"}

Then {"op":"set","clips":[…all scenes…],"set":{"mute":true}}, and on each scene that dissolves {"op":"set","clip":"…","set":{"transition":"dissolve","transition_duration":0.3}}. Name their lane: {"op":"lane","lane":"<lane>","name":"Scenes"}, and the voice's "Voice". At most 60 commands a call.

6. Music

{"op":"add","file":"<bed>","at":0,"dur":<the film's end>,"set":{"sound":"music","volume":0.12,"under_voices":0.5,"fade_out":1.5}}

Name its lane "Music" (the answer says which: look for its new lane in Lanes). A bed from their library is free; eleven-music is priced first.

7. Sound effects

scripts/sfx.mjs film.html --out sfx.json --assets assets.json writes the commands. Send them 60 a call, brief: true. Read the lanes back: a busy named lane sends a clip elsewhere, so check nothing sits on the voice's lane or above the scenes, and name the new lanes "Sound effects", "Sound effects 2".

8. Captions in the look

Map the look's caption variables onto Fil's closest face, then hide them under big type with a range. Don't remove those: removing a caption deletes words the teleprompter reads, and renumbers the rest.

{"op":"captions","look":{"font":"Geist","size":46,"weight":600,"color":"#ffffff","highlight":"#efb36c","outline":3,"outline_color":"#000000","box":"none","position":"bottom","max_chars":30,"max_lines":1,"max_words":0,"animation":"none"},"ranges":[{"start":0,"end":3.9,"offset":400},{"start":17,"end":20.2,"offset":400},{"start":52.3,"end":61.8,"offset":400}]}

A look whose grounds change from scene to scene needs a box, or white words with an outline turn to mud on a bright ground: "box":"line","background":"#0c0c0c","background_opacity":1,"outline":0. Every range goes in one command: a new ranges replaces the old. On 9:16 use a bigger size (about 56) and offset: -240, to sit clear of a phone's buttons.

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

9. Chapters

{"op":"chapters","chapters":[{"at":0,"name":"Hook"},{"at":4.1,"name":"Benefit"},{"at":20.2,"name":"Quick tutorial"},{"at":45.2,"name":"Try it"}]}

10. Read it back

get_video { node_id } once: scenes in order and muted, the voice on its own lane, music under it, nothing above the scenes but what should be, the length as planned. get_canvas with a query gives a short read: check_node on an edit lists every clip.

11. Export

export_video { node_id } renders in the Fil window that has the canvas open. It says queued, and check_node may still say so 25 s later, then it finishes in minutes, even with the tab hidden. One at a time. Stuck, or "This file isn't available": the open tab is stale, so reload it and export again. Then read the link with get_video, and download it once to check it (references/checks.md). Don't run ffmpeg over its link, and don't open the edit in a browser to look at it: use get_video and a downloaded copy.

Changing a scene

Re-render it, upload it, {"op":"replace","clip":"…","file":"…"}. A replace keeps the clip's place and length, so a same-length render is one command. A changed length moves the scenes after it: read get_video, and move anything at an absolute time back.

Another shape from the same edit

Better: render the scenes again in the shape, which takes one setting. For a quick copy, {"op":"settings","shape":"16:9","copy":true} makes a copy beside it: 4:3 scenes fit on their own edges, cameras keep their corner. Type in vw on a title grows with the width.

Traps

  • Closing a gap moves everything after it, sound effects too. Remove with close_gap: false, or move the effects back afterwards.

  • Scenes land above whatever's already there when they're added after it: {"op":"lane","lane":"…","below":"…"}.

  • A session's Fil tool list is fixed when it connects. A field refused as unknown means an older list: start a new session.

  • A soundless video still counts as a sound to transcribe: mute scene clips before generating captions, or it costs double.

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.

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