# Manim Animation

> Community Manim workflow: Scene/Construct pattern, Tex/MathTex, render qualities, export and embed.

- Skill: `poly-gents/manim-animation` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add poly-gents/manim-animation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/poly-gents/manim-animation/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: poly-gents (https://skillmd.com/u/poly-gents)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/poly-gents/manim-animation

---


# Manim animation (Community)

- Author scenes under `/agent-filesystem/manim/<slug>/scene.py`. One `Scene` subclass per file is fine; `construct(self)` holds the animation.
- Use **`MathTex`** for inline math and **`Tex`** for prose; both compile through the sandbox's LaTeX install.
- Iterate at low quality first: `manim_render` with `quality="l"` (480p). Bump to `m` or `h` only when David approves the storyboard.
- Standard primitives: `Create`, `Write`, `Transform`, `FadeIn`/`FadeOut`, `MoveAlongPath`, `play(..., run_time=2)`.
- After render, upload the MP4 via the `manim_render` tool's built-in upload (returns an initiative-file id) so David can play it in chat.
- Keep scenes < 30s each — David can stitch in Cal-Culus post-production if needed.

