chalkboard
Skill15 starsChanged 55 days agoMITView on GitHub
Use when the user says "use chalkboard", "make a chalkboard video", or asks for a narrated explainer video, an animated explanation, a Manim animation, or a 3Blue1Brown-style visual walkthrough of a topic, paper, codebase, or set of notes. Runs this repo's pipeline (python main.py) to produce output/<run_id>/final.mp4, and covers choosing options, resuming, and debugging failed runs.
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- OmidSa75/Brain-Damagetheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- OmidSa75/Brain-Damage★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Always pass --yes. It skips confirmations and makes the run non-interactive: nothing waits on stdin, exhausted retries abort instead of …
- Very specific: line 64
Every pipeline stage is checkpointed in pipeline_state.db.
- Very specific: line 83
Layout problems: read output/<run_id>/layout_report.json (passed, violations with type such as off_screen, overlap, zone_collision, …
- Distinctive: line 88
Do not modify pipeline code to get one video through.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Chalkboard: generate a narrated explainer video
Chalkboard turns a topic (plus optional source material) into a narrated Manim video: script, fact check, scene code on the built-in design system, validation, TTS, render, visual QA. Architecture details live in CLAUDE.md; setup in README.md.
Before the first run
From the repo root, check once:
.envexists withANTHROPIC_API_KEYand a workingTTS_BACKEND(openaineedsOPENAI_API_KEY;kokoroneeds PyTorch +espeak-ng). If.envis missing, tell the user to copy.env.exampleand fill in keys; never invent keys.- A render path exists: either
manimimportable pluslatex,dvisvgmandffmpegonPATH(local, preferred), or Docker.RENDER_BACKEND=autopicks local when it can.--no-renderskips rendering entirely.
Run it
Runs take several minutes (each Claude stage, then TTS, render and visual QA), so start it in the background and check on it, rather than blocking:
python main.py --topic "how B-trees keep themselves balanced" --yes [options] > chalkboard.log 2>&1Always pass --yes. It skips confirmations and makes the run non-interactive: nothing waits on stdin, exhausted retries abort instead of prompting, and a scene with only layout warnings after its last retry is rendered anyway.
The first output line contains run: <run_id>; note it. When the run ends the log shows Done → .../final.mp4.
Several runs can go at once (each has its own run id; the checkpoint DB is shared safely). When driving a run over ssh (or wsl.exe), detach it and follow the log instead of streaming it through the session: setsid -f bash -c 'python main.py ... --yes > logs/<id>.log 2>&1 < /dev/null; echo $? > logs/<id>.rc', then poll the log and wait for the .rc file (or tail -f --pid). Never pipe main.py through tee/grep held open by a remote session: if that session's relay stalls, the client waits forever even though the video is done.
Choosing options
Pick from the request; leave the rest at defaults.
| Want | Flag | |||
| Depth of fact checking; web research before scripting | `--effort low | medium | high (high` adds a research step) | |
| Audience | `--audience beginner | intermediate | expert` | |
| Narration style | `--tone casual | formal | socratic` | |
| Look | `--theme chalkboard | light | colorful` | |
| Resolution | `--quality low | medium | high | 4k` (480p15 / 720p30 / 1080p60 / 2160p60). Set it on the first run; it is fixed once the pipeline finishes |
| Voice | `--narrator aria | milo(ElevenLabseleven_v4, needs ELEVENLABS_API_KEY), kokoro(free, local),alloy(OpenAI). Default:NARRATORin.env, else TTS_BACKEND` | ||
| Scene structure | --template algorithm (array step-through), code (code walkthrough), compare (A vs B), derivation (step-by-step math), howto (numbered steps), timeline (dated events). Omit to let the agent decide | |||
| Source material | --context PATH (files/dirs, repeatable), --context-ignore GLOB, --url URL, --github owner/repo | |||
| Pace | --speed 1.15 | |||
| Quick look first | --preview (480p preview.mp4, then full render via --run-id) | |||
| Extras | --quiz (quiz.json), --burn-captions, `--qa-density zero | normal | high` |
Math topics: --template derivation gives aligned, step-by-step equations. Code topics: --template code with --context pointing at the file.
Where output lands
output/<run_id>/ (or $OUTPUT_DIR/<run_id>/):
final.mp4: the video (captions and chapter markers embedded);preview.mp4with--previewcaptions.srt,chapters.txt,thumb.jpg,quiz.json(with--quiz)script.txt,segments.json(per-segment timing),scene.py(generated Manim code),manifest.json(settings)layout_report.json(last layout dry-run),qa_frames/(frames reviewed by visual QA),media/(raw Manim output)
Report the full path of final.mp4 to the user.
Resume
Every pipeline stage is checkpointed in pipeline_state.db. To continue a run that crashed or was stopped:
python main.py --topic "<same topic>" --run-id <run_id> --yes [--context ... again]It continues from the last completed stage, or goes straight to rendering if the pipeline already finished. --context, --url and --github are not checkpointed: pass them again.
To re-render after hand-editing output/<run_id>/scene.py: delete output/<run_id>/final.mp4 and output/<run_id>/media/, then run the resume command above.
A run whose pipeline ended in escalation (retries exhausted, status failed) is finished as far as the checkpoint is concerned; resuming it will not retry. Start a new run instead, perhaps with a --template or a narrower topic.
Which version is running
curl <base>/version on a server (e.g. curl -s http://127.0.0.1:8000/version) returns the version, git commit (dirty: true = uncommitted changes), uptime, runtime, config and latest changelog entry. Locally: python main.py --version. Each run's manifest.json and run_stats.json record chalkboard_version and git_commit. If you change this repo, bump VERSION (see CLAUDE.md, Versioning).
Debugging
- Read the log. Each node prints
[node] ... → status; retries print[label] failed (...) retrying; the render prints[render] animation N/M; QA prints[qa] issues found:with each issue. - Layout problems: read
output/<run_id>/layout_report.json(passed,violationswithtypesuch asoff_screen,overlap,zone_collision,label_on_curve,timing_overrun, and a per-segmentdescription). - Scene crashes: the layout feedback includes the traceback tail. Reproduce locally (local backend) with
PYTHONPATH=docker CHALKBOARD_REPORT_DIR=output/<run_id> python -m manim render -ql output/<run_id>/scene.py ChalkboardScene. Known Manim 0.21.0 pitfalls are listed inCLAUDE.md. - Render failures: rerun with
--verbose(not combinable with--preview) to stream Manim output. - API errors: auth, bad request and out-of-credit errors fail immediately; tell the user rather than retrying in a loop.
Do not modify pipeline code to get one video through; report recurring failure patterns so they can be fixed in the prompt or the AST guards.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

