Skip to content
Skills Library
Education · Building & coding

explainer-video

/explainer-video

Personalised course generator. Learner drops in material (PDFs, docs, slides, notes); the skill first runs a short "learntype brainstorm" (how do you learn, which analogies click?), synthesises a curriculum tailored to that profile, then builds each video as CODE – animated HTML/SVG diagrams timed word-for-word to an ElevenLabs voice-over – with MP4 export and a free static study website (transcripts, self-tests, flashcards). No AI video generation. Use when the user wants explainer / learning / lecture videos, a study course from their material, "video from this chapter/PDF", "teach me this t

Licence
MIT
Last repository change
09.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
37
Scripts
17
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 09.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 17 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: engine/engine.js, install.sh, scripts/build.py, scripts/ev.py, scripts/extract_chapter.py, scripts/ical.py, scripts/ingest.py, scripts/mock_elevenlabs.py

What it does and when to use it

Personalised course generator. Learner drops in material (PDFs, docs, slides, notes); the skill first runs a short "learntype brainstorm" (how do you learn, which analogies click?), synthesises a curriculum tailored to that profile, then builds each video as CODE – animated HTML/SVG diagrams timed word-for-word to an ElevenLabs voice-over – with MP4 export and a free static study website (transcripts, self-tests, flashcards). No AI video generation. Use when the user wants explainer / learning / lecture videos, a study course from their material, "video from this chapter/PDF", "teach me this t

Triggers from the description

learntype brainstormvideo from this chapter/PDF
Original author description

Personalised course generator. Learner drops in material (PDFs, docs, slides, notes); the skill first runs a short "learntype brainstorm" (how do you learn, which analogies click?), synthesises a curriculum tailored to that profile, then builds each video as CODE – animated HTML/SVG diagrams timed word-for-word to an ElevenLabs voice-over – with MP4 export and a free static study website (transcripts, self-tests, flashcards). No AI video generation. Use when the user wants explainer / learning / lecture videos, a study course from their material, "video from this chapter/PDF", "teach me this t

How it works

  1. One-time setup
  2. Workflow
  3. Rules that matter
  4. Gotchas already hit (don't repeat)
  5. Files
Original SKILL.md headings · 105 lines, 1,225 words
SKILL.md preview
---
name: explainer-video
description: Personalised course generator. Learner drops in material (PDFs, docs, slides, notes); the skill first runs a short "learntype brainstorm" (how do you learn, which analogies click?), synthesises a curriculum tailored to that profile, then builds each video as CODE – animated HTML/SVG diagrams timed word-for-word to an ElevenLabs voice-over – with MP4 export and a free static study website (transcripts, self-tests, flashcards). No AI video generation. Use when the user wants explainer / learning / lecture videos, a study course from their material, "video from this chapter/PDF", "teach me this the way I learn", or says "learntype".
---

# explainer-video – a personal course from a pile of material

```
 0 LEARNTYPE SESSION   how do you learn? which analogies click?        → learner-profile.json / .md      (references/learntype-session.md)
 1 INGEST              drop in PDFs / docx / pptx / md / html / emails / transcripts / images / voice notes → sources/*.txt + inventory.json  (ev ingest)
 1b STUDY BLOCKS       study calendar (ICS) → what is taught when; scan the learning platform (browser) for topic + preparation → preparation.json  (references/study-blocks.md, ev calendar)
 2 CURRICULUM          synthesise a plan for THIS learner               → curriculum.json                 (references/curriculum-synthesis.md, ev plan)
 3 REVIEW GATE         learner approves outline, length, what was cut   (nothing is narrated before this)
 4 PRODUCE             per video: script → scenes → preview → narrate → MP4   (sections below)
 5 STUDY SITE          transcripts, self-tests, flashcards, MP4 download     (ev site)
 6 FEEDBACK            "which analogy landed?" → refine the profile, adjust the next videos
```
**Always start with step 0 unless a `learner-profile.json` already exists** (offer to refresh it). Run it as a friendly conversation
(`AskUserQuestion` for choices), including the *analogy calibration test*: the same concept explained through 3 of the learner's worlds,
they pick what clicked. In a plain terminal: `ev profile <dir>`. Every later choice must follow the profile – analogy domain, running example,
humour, voice energy, pace, depth, mnemonic style, practice type, video length. Never use an analogy domain the learner marked "avoid"/"loser".

If the learner has a **study calendar** (ICS/RSS feed), connect it (`ev calendar add <url>` – the URL is a secret: never print or commit it), run `ev calendar blocks`, then follow `references/study-blocks.md`: scan each block's course page with the browser (the learner signs in; you never type credentials) to find the topic and the preparation reading, and combine it with books, images, voice-note transcripts, emails and anything else they share. Build the curriculum per block and make each video ready *before* its first session.

For a single video without a course, skip steps 1–3 and go to "One-time setup" / "Workflow" below.
# explainer-video

Videos are **coded, not generated**. A scene is HTML/SVG/CSS; one deterministic function `render(t)` draws
every frame; the narration audio is only the clock. Because each animation is keyed to a *word* in the
script (`[cue]` markers), picture and voice cannot drift. ElevenLabs is used for the voice only.

```
source (PDF/notes) ──► script.md  (spoken text with [cue] markers, one ## section per scene)
                          │ narrate.py   ElevenLabs with-timestamps → narration.mp3 + build/timing.json
scenes/NN-id.html ────────┤ build.py     engine + scenes + timing → index.html  (validates cues)
                          │ shot.py      screenshots at cue times (verify without watching)
                          └ render_mp4.py frame-exact export, narration muxed in
```

## One-time setup
```bash
~/.claude/skills/explainer-video/ev setup     # helper venv (pymupdf + playwright; uses your installed Chrome)
~/.claude/skills/explainer-video/ev doctor    # checks python, ffmpeg, Chrome, ElevenLabs key
~/.claude/skills/explainer-video/ev key       # saves the ElevenLabs key (hidden prompt)
```
`ev` wraps every script below (`ev new|preview|narrate|build|shots|mp4|all|site|voices|extract`); the raw scripts in
`scripts/` stay available. In the commands below `$EV` = this skill's `scripts/` folder, `$PY` = the helper venv python.
ElevenLabs key: environment variable `ELEVENLABS_API_KEY`, or a line `ELEVENLABS_API_KEY=…` in `./.env` or
`~/.config/explainer-video/.env`. **Never ask the user to paste the key into chat, never print it.**
Pick a voice with `python3 $EV/narrate.py --list-voices`, put `voice_id:` in the script front matter
(or `ELEVENLABS_VOICE_ID`). Let the user choose by ear before spending a whole video on it
(`--only <scene>` renders a single scene).

## Workflow
1. **Scaffold** `python3 $EV/new_project.py videos/<slug> "<Title>"` (script.md + a sample scene).
2. **Read the source.** `$PY $EV/extract_chapter.py book.pdf --find "3.1 Heading" --until "3.3 Next"` or
   `--pages 130-162 -o build/source.txt`; then read the text. OCR text around figures is noisy – rebuild diagrams
   from the prose and captions, cite page numbers.
3. **Storyboard first**, then `script.md`. See `references/storyboard-guide.md`. Budget: German ≈ 14.5 chars/s,
   i.e. **~870 characters per minute**. Aim for 8–10 min per video; **split long chapters into parts** rather than
   cramming (a 17k-character script is ~19 min). Check with `narrate.py script.md --estimate`.
4. **Author scenes** – one fragment per scene in `scenes/NN-id.html`, elements tagged `data-at="cue"`
   `data-fx="rise|pop|draw|…"`. API in `references/engine-api.md`. Reuse the patterns in the guide (matrix, network
   with auto-routed arrows, phase ribbon, charts that draw themselves, swim-lanes, cycles with loop arrows, cards).
5. **Preview without credits**: `python3 $EV/narrate.py script.md --estimate && python3 $EV/build.py` → open
   `index.html` (silent, estimated timing, captions on). `build.py` fails on any cue used in markup but missing in the
   script and warns about unused cues.
6. **Verify visually** (do this, don't guess):
   `$PY $EV/shot.py index.html --all-scenes --sheet` (end state of every scene) and
   `--scene <id> --sheet` (one frame ~1 s after each cue = the build-up). `Read` the PNGs. Fix overlap, clipping,
   wrapping. Console warnings/missing cues are printed.
7. **Narrate** (costs credits): `python3 $EV/narrate.py script.md --dry-run` shows the character count; then run it
   without flags. Every scene is cached by content hash, so re-runs only pay for edited scenes. Re-run `build.py`.
   Spot-check sync again with `shot.py --scene …`. You cannot hear audio – say so; ask the user to listen
   (pronunciation of names, numbers, pauses).
8. **Deliver**: `index.html` + `narration.mp3` together (relative path). Optional MP4:
   `$PY $EV/render_mp4.py index.html -o video.mp4 --workers 4 [--captions]` (~25 fps per worker; test an excerpt with
   `--start 60 --end 70`).

## Rules that matter
* **One idea per scene, 30–70 s.** Every sentence either triggers a visual or is part of one build-up.
* **Cue = the word the visual should land on.** Put `[cue]` right before it. Cue names: letters/digits/underscore only.
  Stagger list items with offsets (`cue+1.8`) inside the time the sentence takes.
* **Spoken text ≠ slide text.** Write numbers/abbreviations the way they should be pronounced (“zwei bis fünf Prozent”,
  “B M W”, section numbers go in the on-screen kicker, not in the narration). German: Swiss spelling (ss, no ß) when
  the user is Swiss.
* **Paraphrase, don't copy** book text (copyright); cite chapter/page on screen or in script notes (`> note`).
  Mark schematic redraws “schematisch nach Abb. x.y” so they aren't mistaken for the original figure.
* **Match the user's language** to the source/exam language by default; confirm if unclear.
* Text on screen ≥ 24 px (stage is 1920×1080), ≤ ~25 words per card. Captions are on by default (`CC` button).
* Never put work in `/tmp` – keep project folders under the user's chosen folder; the scratch workspace is deleted
  with the session.
* This skill is *not* ComfyUI/AI-video generation. If the user wants generated footage, use the `comfy` skills.

## Gotchas already hit (don't repeat)
* An element with both `.graph` and `.abs` must stay absolutely positioned (fixed in theme.css; keep `.graph.abs`).
* `data-fx="hl"` is ring+glow only; use `hlfill` when you want a background wash, never put an opaque highlight
  overlay over text.
* SVG text/shapes outside the `viewBox` are clipped unless `style="overflow:visible"`.
* Edge endpoints need `id`s that are unique across the whole video (prefix with the scene id).
* Don't name two cues the same inside one scene; cue keys are `sceneid.cue`.
* Frame screenshots are the only way to see layout problems: long German words wrap – add `&shy;` hints.
* ElevenLabs `with-timestamps` returns characters of the *input* text; the script strips markers first, so indices match.

## Files
`engine/` theme.css · engine.js · player.html (copied into every build) — `scripts/` narrate · build · shot ·
render_mp4 · extract_chapter · new_project · mock_elevenlabs (test double for the API) — `references/` engine-api ·
script-format · storyboard-guide.
Files in this package (37)
  • .gitignore 1 KB
  • AGENT_PROMPT.md 3 KB
  • LICENSE 1 KB
  • README.md 9 KB
  • SKILL.md 9 KB
  • ev 1 KB
  • install.sh 1 KB
  • engine/engine.js 16 KB
  • engine/player.html 1 KB
  • engine/theme.css 9 KB
  • examples/rainbow/README.md 1 KB
  • examples/rainbow/script.md 2 KB
  • examples/rainbow/scenes/01-light.html 2 KB
  • examples/rainbow/scenes/02-ex_prism.html 4 KB
  • examples/rainbow/scenes/03-recap.html 2 KB
  • references/analogy-bank.md 3 KB
  • references/curriculum-synthesis.md 4 KB
  • references/engine-api.md 5 KB
  • references/learntype-session.md 5 KB
  • references/script-format.md 3 KB
  • references/storyboard-guide.md 3 KB
  • references/study-blocks.md 4 KB
  • scripts/build.py 4 KB
  • scripts/ev.py 7 KB
  • scripts/extract_chapter.py 3 KB
  • scripts/ical.py 11 KB
  • scripts/ingest.py 6 KB
  • scripts/mock_elevenlabs.py 2 KB
  • scripts/narrate.py 16 KB
  • scripts/new_project.py 2 KB
  • scripts/plan.py 5 KB
  • scripts/profile.py 4 KB
  • scripts/render_mp4.py 4 KB
  • scripts/scene_kit.py 7 KB
  • scripts/setup.sh 1 KB
  • scripts/shot.py 4 KB
  • scripts/site_build.py 13 KB

Versions

RepositoryScoreLicence
This page · menschenkreis/explainer-video100MIT
smykla-skalski/sai100MIT
fengchen122123-sudo/xingyao-y-code100MIT
0xsline/OpenChatCut100AGPL-3.0
shocklab/co-scientist-toolkit100MIT
Prahaladha-Reddy/skills100MIT
Andyyesiyu/explainer-video-skill100MIT
mys1erious/skills100MIT
baskb/explainer-video100MIT

Database snapshot: 13.11.2026 · package version 57127bfb78f0 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95course-video
    Turn a student's own course material (lecture transcripts, slides, notes, problem sets) into narrated, animated study videos with graphs, worked examples, quizzes, captions, sound effects and optional Blender 3D scenes. Every number in the video must come from the course…
  • 100anything-to-learn
    Self-study tutor for learning course material over several sessions. Turns slides, PDFs, screenshots, lecture videos, notes or past exams into a living knowledge map, quizzes the learner, tracks misconceptions, and preps for exams from past papers. Use only when the person wants…
  • 100study-notes
    Turn any learning resource — a URL, PDF, textbook chapter, lecture slides, Word doc, EPUB, YouTube video, notebook, or pasted text — into detailed study notes delivered as a polished Word document (.docx) AND a presentation deck (.pptx) for learning, review and exam preparation,…
  • 100study-atlas
    Build a complete, interactive, offline study app for a course or topic as one HTML file. It includes a mind map with recall mode, a study guide per unit, spaced-repetition flashcards, practice tests with a timed mock exam, a test on only the highlighted or bold text, a test on…
  • 100learn
    Start learning a topic or study material in the Obsidian vault. Accepts a topic, a lecture note, or any source file (PDF, slides, Word, Excel, e-book, images or photos of notes, notebooks, code, text, transcripts, web links). Has the study-researcher agent study the material,…
  • 100create-course
    Build a self-paced course or study guide (offline HTML by default; first ask whether the user wants a game course or a normal course) on any technical topic for a specific learner, with a gap-filling syllabus, modules that explain core ideas first, practice inside the sections,…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.