Manim video

From metaspartan/cybara · View interactive version

Manim video is an AI agent skill from the GitHub repository metaspartan/cybara. Generate mathematical/explanatory animations with Manim (Python). Use for animated explainers, math visualizations, and step-by-step animations the user can render to MP4.

How to use this skill

Skill file

Manim Video

Manim is an animation engine (Python) for precise mathematical/explanatory videos. Write a scene, render it to MP4 with manim.

When to use

Workflow

  1. Write a Python scene file using the Manim API. Save with the write tool, e.g. scene.py.
  2. Render: manim -pql scene.py SceneName (low quality preview, -p plays after). Use -pqh for high quality / final.
  3. Output MP4 lands under media/videos/.... State the path.

Minimal scene template

from manim import *

class Squares(Scene):
    def construct(self):
        s = Square(side_length=2, color=BLUE)
        self.play(Create(s))
        self.play(s.animate.rotate(PI / 2).set_color(RED))
        self.wait()

Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.