manim-animator
Skill0 starsChanged 8 days agoMITView on GitHub
Generate 3Blue1Brown-style animated MP4 explanation videos with Manim and native LaTeX term morphing, chemical equations, optional voiceover narration, and frame-by-frame visual QA.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- chapter-autopilotSkill
- exam-simulatorSkill
- grade-handwritingSkill
- harness-self-improveSkill
- ingest-chapterSkill
- knowledge-graphSkill
- organic-chemistry-tutorSkill
- physical-chemistrySkill
- physics-circuits-and-unitsSkill
- practice-drillSkill
- revision-sheetsSkill
- subagent-orchestratorSkill
- teach-chapterSkill
- topic-onboardingSkill
- universal-pdf-studySkill
- visual-and-demoSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
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 11
Use this skill when a step-by-step animated derivation, geometric transformation, or algorithm trace video unlocks intuition better than a …
- Very specific: line 53
Use TransformMatchingTex(eq1, eq2) over isolated tokens instead of abrupt FadeOut/Write.
- Very specific: line 55
Keep clips tight (15–45 s, one core intuition, buff >= 0.45).
≈ “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
Manim Animator — 3Blue1Brown-Style Concept & Derivation Videos
Use this skill when a step-by-step animated derivation, geometric transformation, or algorithm trace video unlocks intuition better than a static figure or slider lab (animations/<slug>.mp4).
Decision rule: If the learner should manipulate parameters themselves, use
visual-and-demo. If the learner needs a choreographed visual derivation (eigenvector stretching, Fourier/phasor synthesis, gradient descent, B-tree split, SHM curvature, or reaction mechanism), use Manim — delegating rendering to a background subagent (invoke_subagent/Agent/spawn_agent) so the live conversation never stalls.
Portable Native LaTeX Setup (scripts/manim_helpers.py)
Always import manim_helpers first — it automatically locates TinyTeX / TeX Live across macOS (~/Library/TinyTeX, ~/.TinyTeX), Linux (~/.TinyTeX/bin/*-linux), $TINYTEX_BIN / $TEXLIVE_BIN, and system PATH, prepending latex and dvisvgm cleanly inside non-login subshells.
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent.parent / "scripts"))
from manim_helpers import CHEM_TEX_TEMPLATE, PALETTE # portable TinyTeX PATH setup
from manim import *
class DerivationScene(Scene):
def construct(self):
self.camera.background_color = PALETTE["BG"]
eq1 = MathTex(
r"m", r"\frac{d^2 x}{dt^2}", r"=", r"-", r"k", r"x",
tex_template=CHEM_TEX_TEMPLATE,
).scale(1.15)
eq1.set_color_by_tex("x", PALETTE["YELLOW"])
eq2 = MathTex(
r"\frac{d^2 x}{dt^2}", r"=", r"-", r"\underbrace{\frac{k}{m}}_{\omega^2}", r"x",
tex_template=CHEM_TEX_TEMPLATE,
).scale(1.15)
self.play(Write(eq1))
self.wait(0.8)
self.play(TransformMatchingTex(eq1, eq2))
self.wait(1.0)Authoring Craft
- Use
TransformMatchingTex(eq1, eq2)over isolated tokens instead of abruptFadeOut/Write. CHEM_TEX_TEMPLATEsupportsamsmath,mathtools,physics(\dv,\pdv,\vb),cancel(\cancel{},\cancelto{}{}), andmhchem(\ce{}). Zero-TeX fallbacks (LaTeXMath,TypstMath) remain exported if TeX is absent.- Keep clips tight (
15–45 s, one core intuition,buff >= 0.45).
Render, Optional Narration & Mandatory Frame Inspection
- Save scene to
animations/<slug>.pyand render (-qm720p30 default):
Copy final output to.venv/bin/manim -qm --media_dir animations/media -o "<slug>.mp4" "animations/<slug>.py" <SceneClass>animations/<slug>.mp4(optionally add voiceover + Pillow-burned captions viasyntopik run narrate_video --video animations/<slug>.mp4 ...or.venv/bin/python -B scripts/narrate_video.py ...). - Mandatory Frame Audit: extract 2–3 keyframes via
ffmpeginto/tmpand inspect every frame withread_file/Readto confirm zero clipped math, zero overlapping labels, and crisp contrast; clean up/tmpframes. - Share a clickable
file://link toanimations/<slug>.mp4with 2–3 timestamped observation cues (<= 120words).
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.

