# vibe-knowledge-film: silent explainer videos drawn with code (HeyChengC/vibe-knowledge-film) — skill card for AI agents

> AgentGid skill card. Checked on 2026-11-02 against commit 62d5150.
> Every fact comes from the pack's own files at that commit. Numbers marked "as reported" are the author's.
> Human page: https://agentgid.com/skills/heychengc/vibe-knowledge-film/

## Explain it to a non-programmer
Your assistant makes a short explainer video with no voice: one line of subtitles at the bottom, and the screen acts out each line. Every frame is drawn with code in a browser and joined into a 16:9 video with sound effects. It plans the ideas, the facts and a shot list first, and shows you a 30-second sample before the full video.

## Who it is for
- You want a 2 to 5 minute science or ideas video in the style of the Douyin "Vibe knowledge" shorts
- You have a topic or a written script and want each idea shown on screen, not just illustrated
- You write in Chinese: the instructions, examples and subtitle rules are in Chinese
- Your assistant can run commands on your computer (Claude Code or similar)
- Not for: You want a video with a narrator's voice: the author says this skill is not for that
- Not for: You need vertical video for phones: it makes 16:9 only
- Not for: You only use a chat window: it needs Python, Chrome and ffmpeg on your computer

## What it is
- Kind: knowledge, scripts
- License: see the repository
- Repository: https://github.com/HeyChengC/vibe-knowledge-film

## What it does
- Finds one everyday image for each idea first, then writes the subtitles; a line that cannot be drawn gets rewritten
- The thing on screen must look like itself: dots, lines, circles or boxes with a label do not count
- Every verb in a subtitle happens on screen; numbers are calculated, and rough sketches are marked as such
- Each subtitle line picks one of six ways to show it: let the viewer try, draw the sentence, run it once, side by side, put it on one chart, or text only
- Questions, names and conclusions get no new picture: about one line in five in the reference videos
- Builds the hardest shot first, then reviews screenshots, contact sheets and transitions, at least two rounds before showing you
- Ends with a final check: muted viewing, subtitles-only reading and a pass/fail table, and lists honestly what is not done
- Never cuts: Every year, name and number on screen has a source; no watermark and no credit line on the video
- Level C Nocturne (夜曲): Dark starry background, large serif text, gauges and real-looking objects; for abstract ideas and hidden mechanisms. Sound is fully synthesised
- Level B Fable (寓言): Flat illustrated scenes with a character; for psychology and behaviour, from an animal or everyday scene to "what you should do". Uses a music track you supply

## Skills
| Skill | Call | Changes code? | In plain words |
|---|---|---|---|
| vibe-knowledge-film | plain language ("做一条 vibe 知识大赏的视频", or give it a topic or a script) | yes | Plans and renders a silent subtitle explainer video, from the idea list to the finished video file |

### vibe-knowledge-film
- Asks for: A topic, or a script you already wrote (it keeps your meaning, facts and tone and shows what it changed)
- Asks for: Your picks at the two check-ins: the concept direction and the shot list
- Asks for: For the Fable look: a music track (mp3); otherwise the video has only sound effects
- Asks for: Optional: a failed earlier version, to redo the same content
- Gives: A one-line thesis, the list of ideas and a fact table with sources
- Gives: storyboard.md: one row per subtitle with the way it is shown, what is on screen, what it does, small text, what the viewer learns, sound
- Gives: A project folder with index.html and film.js, written for your script
- Gives: Review images: stills, a contact sheet and transition strips
- Gives: A 30-second sample, then renders/final.mp4 at 1920×1080, 30 fps, with sound
- Gives: A plain list of what is still not right or not done
- Say: "做一条 vibe 知识大赏的视频：为什么鸽子会变得迷信"

## Know before installing
- It needs real setup: Python packages, Playwright, Google Chrome and ffmpeg on your computer, and a one-time font download (the two Chinese fonts are about 20 MB each).
- Rendering is slow: the author says a 3-minute film still takes more than ten minutes, so it reviews contact sheets and short clips before the full render.
- Saying "just do it" (直接做) skips the waiting at the two check-ins, but the concept notes and shot list are still written.
- Projects go in your own project folder, not in the skill folder; the starter script refuses to overwrite an existing film.js unless told to.
- Licence: the engine, scripts and method notes are MIT. The LICENSE adds that reference-video content is not covered: subtitles and visuals noted from other people's videos in references/analysis.md, section 2 of references/prompts.md and references/visualization.md, and the titles, subtitles and visual design of examples/stim_B and examples/info_C, belong to their original authors. They are for study and comparison only, not to be copied, published or passed off as your own.
- Do not reuse the examples as parts: the skill asks for every shot to be written fresh for your script.

## Install (official commands)
- Claude Code (or another agent's skills folder): `pip install -r requirements.txt` && `python -m playwright install` && `python engine/get_fonts.py` — First put the whole folder into the agent's skills folder and keep the name vibe-knowledge-film; for Claude Code that is ~/.claude/skills/vibe-knowledge-film. Then run the three commands inside it. Google Chrome and ffmpeg must already be installed. Remove: `delete the vibe-knowledge-film folder from your skills folder (and the Python packages if you no longer need them)`.

## What runs on the user's machine
- Code on the machine: yes (when your assistant builds and renders a film (no hooks, nothing runs at session start))
- Network: yes
- Install: pip and Playwright download their packages. get_fonts.py downloads 8 open-source font files and their licence texts from the google/fonts repository on GitHub (main branch, no checksum) into engine/fonts/.
- Starting a film: new_film.py creates index.html and an empty film.js skeleton in the project folder you name; it stops if film.js already exists unless --force is given.
- Rendering and reviewing: render.py starts a small local web server on 127.0.0.1 (port 8765 for --serve), opens your installed Chrome through Playwright, screenshots each frame and pipes them to ffmpeg. It writes renders/*.mp4, review/*.png and *.jpg, and audio/events.json inside the project folder. No calls to the internet.
- Sound: audio.py synthesises the sound with numpy and scipy, writes audio/score.wav, and uses ffmpeg to join it with the video into renders/final.mp4; with --bgm it mixes in your own track.
- In the browser page: vk.js and vk-kit.js draw on a Canvas; fonts load from the local engine folder. No network calls in the drawing code.

## Examples (from the pack's own files)
- A shot-list row from the author's sample "Fold" (protein folding, first 33 seconds): output format defined in examples/fold_C/storyboard.md
- The author's two sample films (GIFs of the first 33 seconds) and a before/after image: output format defined in examples/README.md

## Author's numbers (as reported, not run by AgentGid)
- One render process draws about 3 to 6 frames per second at 1080p; --jobs 4 is roughly three times faster. Source: HeyChengC/vibe-knowledge-film/references/engine.md
- The 33-second Fold sample took three rounds of revision. Source: HeyChengC/vibe-knowledge-film/SKILL.md

## How to tell it works
Say "做一条 vibe 知识大赏的视频" and give a topic. It should first write a thesis, an idea list and a fact table, offer three concept directions, then show a shot list before any code. The first video you get is a 30-second sample in the project's renders folder.

## Safety
Only markdown plus Python and JavaScript you can read; no hooks. The README's install runs pip and Playwright installs and a font download from GitHub's google/fonts main branch (not pinned, no checksum). While render.py runs, its local preview server on 127.0.0.1 maps request paths to files without cleaning ".." segments, so other programs on the same computer could read files outside the project through it; it is not reachable from other machines. The README ends with a personal messenger contact, which AgentGid does not repeat.
