Make an interactive 3D explainer or lesson film as one self-contained HTML file (three.js, procedural, generative WebAudio score, one serif line per beat, autoplay plus click/space/arrows/swipe, interactive scenes). One sub-agent writes each scene from a shared brief; a build tool assembles them and a checker verifies every beat, input, link and transition. Use for /film <kind> <topic>, /film <topic>, "make an explainer film", "make a lesson film about X", or "turn this into an interactive 3D...
3 stars
0 votes
0 copies
0 views
Added December 3, 2026
ai-agentsgobashnodeapi
Works with
cli
api
Security analysis
A96/100
mediumInstalls packages at runtime which could introduce malicious dependencies
$npx -y skills add chillerno1/kskills --skill film --agent claude-code
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Film?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/chillerno1-film)
---
name: film
description: Make an interactive 3D explainer or lesson film as one self-contained HTML file (three.js, procedural, generative WebAudio score, one serif line per beat, autoplay plus click/space/arrows/swipe, interactive scenes). One sub-agent writes each scene from a shared brief; a build tool assembles them and a checker verifies every beat, input, link and transition. Use for /film <kind> <topic>, /film <topic>, "make an explainer film", "make a lesson film about X", or "turn this into an interactive 3D film".
---
# /film [kind] <topic>
Output: one HTML file, `<film>/<Title>.html`, that runs anywhere with a browser (fonts from Google Fonts, three.js from cdnjs, everything else inline). `<skill>/` below is this skill's folder; use its full path.
The first word is the kind when it is `explainer` or `lesson`. Otherwise the kind is `explainer`.
## Setup (once)
```bash
cd <skill>/scripts && npm i && npx playwright install chromium
```
`FILM_GPU=1` renders on the machine's GPU (much faster). `FILM_BROWSER=<path>` uses another Chromium.
## Kinds
**explainer** (default). A story of how something works, 10 to 16 scenes. Every scene carries one idea; the line says it, the picture shows it happening.
**lesson**. Answers the questions a viewer arrives with. Parts are questions (`parts` in film.json, tagged `Q1`, `Q2`...). Each part opens on a centred question card; every scene ends on a `Takeaway` beat held 5 s or more; a chip under the clock names the concrete thing (a command, a file, a number); the last scene is a recap page whose rows (`data-go`) replay each part. 18 to 22 scenes, 22 to 32 s each.
## Steps
1. **Research.** Read the source (repo, paper, docs). Write a facts sheet: every number and name the film will state, each checked against the source, plus what is not known. Facts, not vibes.
2. **Outline.** Parts and scenes: per scene a label, chip, bed, clock range, 2 to 4 beats (one serif line each, exactly one `*warm phrase*`) and the picture. Pick what the clock counts (a cost, a step, a count) and the colour code: cool blue = given, the same for everyone; warm amber = what changes, what is the viewer's own.
3. **Scaffold.** `node <skill>/scripts/film.mjs new <film> --title "A Model of Your *Own*" --kind lesson --scenes 20`. Fill in `film.json` (`title`, `kind`, `about`, `kicker`, `scenes`, `parts: [{ from, tag? }]`, `clock: { prefix, decimals, suffix } | false`) and every `<<...>>` in `<film>/BRIEF.md` (copied from `briefs/scene-brief.md`): facts, the scene-by-scene script, the colour code. A prop several scenes share goes in `<film>/src/22-<name>.js` as `kit.<name> = ...`; clock formatting can be overridden in `<film>/src/40-film.js` (`kit.clock.fmt`, `kit.clock.sub`).
4. **Scenes, one sub-agent each.** Spawn one agent per scene, in parallel batches, each with the brief's full text plus "You are scene NN. Write `<film>/src/50-scene-NN.js`." The brief has the house rules, engine API and how to build and shoot one scene (`film.mjs build <film> NN`, `film.mjs shoot ...`). `example/src/` is a three-scene working film to point them at.
5. **Build.** `node <skill>/scripts/film.mjs build <film>`. Kit files plus `<film>/src/*` in filename order; a film file with a kit file's name replaces it. A syntax error or duplicate top-level name stops the build with the file and line.
6. **Verify.** `node <skill>/scripts/film.mjs verify <film> 1440x810` and again at `390x844`. It checks every beat of every scene (line shown as written, one warm phrase, inside the frame, clear of the clock, up 3 s or more), lesson rules, drags and taps in interactive scenes, arrow keys inside inputs, autoplay leaving interactive scenes, every `data-go` link, next/back through every transition, no scene errors, no console output. It writes contact sheets of every beat to `<film>/shots/`: look at them. Film-specific checks go in `<film>/checks.mjs` (`export default async ({ page, ok, hold, st, hud, shot, tap, w, h, mob, scenes }) => {}`).
7. **Fix.** Send a failing scene back to its agent with the failure and the frame. Rebuild, re-verify until clean.
8. **Deliver** the HTML path, its size and length, what was verified, and that the audio was not listened to unless it was.
## Troubleshooting
- `NOT READY`: the film threw while building. The printed console lines name the scene.
- Very slow shots: software WebGL. Set `FILM_GPU=1`.
- A scene looks wrong only after a seek: its `update` keeps state that a jump in `t` does not rebuild. Make it a function of `t`, or reset in `enter()`/`leave()`.
- Autoplay stuck on an interactive scene: the scene must still end at `duration` when nobody touches it.