# html-explainer
**An Agent Skill: give it a topic, get back a narrated explainer video with subtitles and covers.**
Write scenes in HTML → deterministic frame-by-frame rendering → a real MP4. Everything runs
locally; the core pipeline needs no API key and charges no per-render fee.
[](LICENSE)
[](CHANGELOG.md)
[](SKILL.md)
[](#install)
[](#install)
[](#install)
[](#requirements)
[](#requirements)
[简体中文](README.md) · [English](README.en.md)
Three finished videos made with this skill — visuals, voiceover, subtitles and covers all
produced by the pipeline, no manual post-production. Covers and other assets live in a separate
[demos repository](https://github.com/OneMoh/html-explainer-demos); this repo stays text-only.
https://github.com/user-attachments/assets/912e6c2d-831f-43dd-a39f-57b749bb417d
| HK innovative drugs · early session | A quant firm built an LLM |
|---|---|
| https://github.com/user-attachments/assets/8007843c-088d-457c-8550-81ec912e0add | https://github.com/user-attachments/assets/28949988-449b-4c4e-8d0f-6706af6f64ee |
**Follow the test accounts — watch the video stats in real time**
| Douyin · OnlyOneMoh | Profile · Moen | Douyin · Moen_xin |
|---|---|---|
|

|

|

|
---
## What it is
`html-explainer` turns a topic into a **narrated explainer video with burned-in subtitles and a
progress bar**, with the visuals written in HTML/CSS/GSAP.
**It is an Agent Skill** (`SKILL.md` + `scripts/` + `references/`), following the
[Agent Skills](https://code.claude.com/docs/en/skills) convention, so Claude Code, OpenAI Codex,
WorkBuddy, Cursor, Gemini CLI and others can load it directly. Underneath it is plain Python and
Node scripts, so you can also run it by hand.
You say one sentence:
> Make a 1-minute explainer video about why the sky is blue.
The skill then walks the agent through: research → script → voiceover → subtitles and beats →
scene authoring in one of 23 styles → render → QC → covers.
---
## Install
### One-line install (recommended)
Send this to your agent:
```text
Install this Skill into my local environment: https://github.com/OneMoh/html-explainer.git
Put it in your skills directory and check/install the required runtime
(Python 3.9+ / Node 18+ / Chrome or Edge / ffmpeg)
```
It clones into the right directory, runs the environment check and installs whatever is missing.
Then **start a new session** so the agent rescans its skills directory.
### Manual install
The repository root **is** the skill directory (`SKILL.md` sits at the root), so clone it straight
into your skills directory — there is no subdirectory to copy:
```bash
git clone https://github.com/OneMoh/html-explainer.git ~/.workbuddy/skills/html-explainer
bash ~/.workbuddy/skills/html-explainer/setup_env.sh --install
```
On Windows `~` is `C:\Users\