manim
Skill10 starsChanged 17 days agoMITView on GitHub
Create and edit programmatic explanatory animations, videos, and GIFs with Manim Community Edition. Use for mathematical animation, algorithm animation, animated technical diagrams, or an explicit Manim request. Static diagrams, ordinary charts, and interactive web UI do not need this skill unless the user chooses Manim.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- iart-ai/manim-skillstheir own version, first seen Oct 17, 2026
- willlee1995/skillstheir own version, first seen Oct 13, 2026
- thibautbeaudet-stack/claude-skillstheir own version, first seen Jul 19, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- iart-ai/manim-skills★ 13same name
- willlee1995/skills★ 1same name
- thibautbeaudet-stack/claude-skills★ 0same 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.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use Manim Community Edition (CE), not manimgl / manimlib, unless the user explicitly requests that engine.
- Distinctive: line 19
Write a runnable scene in the user's project, keeping output media separate from source.
- Distinctive: line 39
Run from the environment containing Manim:
- Very specific: line 75
Use Code(code_string=..., language=..., formatter_style=...).
- Distinctive: line 78
Use Cairo for a portable starting point.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Manim animations
Use Manim Community Edition (CE), not manimgl / manimlib, unless the user explicitly requests that engine. Preserve an existing project's engine and dependency constraints; migration is a separate choice.
This edition targets ManimCE 0.22.x, Python 3.11+. Check python --version and python -m manim --version in the project's environment before writing version-sensitive code. For an older project, read the matching official docs rather than silently upgrading it. See setup and migration for installation, optional math backends, output changes, and troubleshooting.
Workflow
- Establish the explanation: what changes over time, what the viewer should understand, and the requested output (video/GIF/still, duration, aspect ratio, language). Infer sensible defaults for unspecified presentation choices; ask only when the answer changes the work materially.
- Before coding a new animation or improving its appearance, read visual direction. Choose a focal object and sketch a short shot list: question, visible action, insight, timing. Make the changing geometry carry the explanation; use captions to support it. Use explicit labels as well as color to convey state. For object transfers, continuous plots, causal flows, timing choices or portrait composition, read the matching animation craft recipe. Choose palette/type and motion rules for this subject; keep a stable identity for each tracked item.
- Write a runnable scene in the user's project, keeping output media separate from source. Use public scene APIs. Configure resolution, renderer, and output before constructing a scene; use CLI flags or
tempconfigrather than changing global config aftersuper().__init__(). - Render a low-quality video first. Inspect opening, intermediate, and final frames, and review transitions for pacing and semantic correctness. Check essential labels at the intended display width, not only in enlarged frames. A last-frame PNG or a successful command alone does not verify an animation. Fix clipping, unreadable labels, overlaps, wrong states, and unexpected jumps before increasing quality.
- Render the requested artifact and verify it exists, decodes, and has the intended dimensions, duration, and format. Deliver the source path, artifact path, exact render command, environment version, and any verification limits. Do not claim visual acceptance when only syntax or rendering was checked.
For a blog embed, a short 16:9 MP4 is a reasonable starting point; GIF is useful when required but can be larger and less efficient. Follow the user's duration and style rather than imposing a fixed length or banning titles.
Small starting point
from manim import BLUE, Circle, Create, Scene, Text, VGroup, DOWN
class Explain(Scene):
def construct(self):
circle = Circle(color=BLUE)
label = Text("Input", font_size=32).next_to(circle, DOWN)
group = VGroup(circle, label)
self.play(Create(group))
self.wait(1)Run from the environment containing Manim:
python -m manim render -ql scene.py Explain
python -m manim render -qh --format mp4 scene.py Explain
python -m manim render -qm --format gif scene.py Explain
python -m manim render -ql --format png scene.py Explain-p opens the completed artifact; omit it in headless runs. --format png writes only the last frame. For all frames use png-sequence; --format none evaluates without producing media. --dry_run remains supported, but is not visual verification. Standard presets: -ql 480p15, -qm 720p30, -qh 1080p60, -qk 2160p60. See setup and migration for 0.22 output semantics.
Read only what the scene needs
| Need | Reference / runnable starting point |
| Composition, visual storytelling, choreography, appearance review | visual direction; examples/visual_story.py: VectorStory |
| Refined / beautiful / premium appearance | aesthetic refinement; examples/interference_study.py, examples/area_scale_story.py |
| Visual language, item transfers, continuous state, causal timing, portrait | animation recipes; merge_step.py, wave_superposition.py, packet_journey.py in examples/ |
| Labels, formulas, code, axes, graphs, layout | mobjects; examples/basic_scene.py |
| Easing choices and equal-time motion comparison | motion clock; examples/motion_timing.py |
| Transforms, timing, live values, object identity | animations |
| Camera-led focus, local/global comparison | camera-led explanation; examples/local_linearity.py |
| Continuous handoff between representations | visual anchor; examples/circle_to_wave.py |
| Multi-beat physical explanation | aesthetic refinement; examples/damping_story.py |
| Bézier construction, curve parameters and path speed | continuous state; examples/bezier_construction.py |
| Explanatory 3D, exploded views and camera-safe labels | 3D; examples/exploded_layers.py |
| Camera, 3D, updaters, programmatic rendering | advanced; examples/advanced_scene.py |
| Formula without a TeX installation, including labeled derivations | mobjects: math backends; examples/typst_scene.py, examples/typst_derivation.py |
| Records becoming counts / visible aggregation | animation recipes; examples/data_to_decision.py |
| Process, state, comparison, algorithm explanation | storytelling patterns; examples/flowchart.py, examples/state_diagram.py, examples/quicksort.py |
| Installation or older Manim code | setup and migration |
Reliability notes
- Text uses Pango and installed fonts. Check glyph coverage for the requested language; inspect rendered text for missing characters.
Textdoes not require TeX. Some convenience objects (including default numeric labels) do; chooseTextlabels when avoiding TeX. - In 0.22, formulas can use
Tex/MathTex(external TeX tools) orTypst/MathTypst(optionalmanim[typst]dependency). Typst math uses its own syntax, not LaTeX syntax. - Use
Code(code_string=..., language=..., formatter_style=...). Syntax and line-number colors come from Pygments, notparagraph_config["color"]. Transform(source, target)changes the source; keep animating the source variable.ReplacementTransformreplaces it with the target. Avoid two simultaneous animations mutating the same mobject.- Frame dimensions are scene units, distinct from output pixels. Fit the complete composition inside
config.frame_width/frame_heightwith margins, including arrowheads, labels, and motion extrema. Inspect portrait layouts separately. - Use Cairo for a portable starting point. OpenGL requires a functioning display/graphics environment and has different camera APIs; test it explicitly when requested.
Repository checks
For changes to this skill or its examples, follow the contributing checks. The smoke runner renders examples, probes media, and extracts contact sheets. Its report distinguishes skipped optional backends and rendering success from human visual review.
Official references: versioned 0.22 docs, changelog, source.
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.

