Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
davila7 avatar

Manim

  • 407 installs
  • 30.1k repo stars
  • Updated August 4, 2026
  • davila7/claude-code-templates

manim is a Claude Code skill that programs explanatory math and concept animations with the Manim library for developers who need tutorial videos, course modules, launch explainers, and technical storytelling assets.

About

manim from davila7/claude-code-templates is a Claude Code skill that guides agents to author Manim Python scenes for explanatory math and concept animations. Manim renders vector motion graphics suited to step-by-step derivations, algorithm visualizations, and narrated technical explainers commonly used in course modules, launch videos, and internal training. The skill helps developers translate mathematical or systems concepts into scripted scenes, camera moves, and timed transitions instead of hand-editing timeline tools. Reach for manim when a project needs reproducible animation source code checked into a repo, batch-rendered clips for documentation sites, or consistent visual language across a tutorial series. It complements static docs and slide decks by turning equations, data flows, and geometric intuition into programmatic video assets developers can re-render after code changes.

  • Scene and timeline structuring
  • LaTeX and label placement patterns
  • Camera moves and transitions
  • Reusable animation primitives
  • Render settings for crisp exports

Manim by the numbers

  • 407 all-time installs (skills.sh)
  • Ranked #40 of 290 Python skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/davila7/claude-code-templates --skill manim

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs407
repo stars30.1k
Last updatedAugust 4, 2026
Repositorydavila7/claude-code-templates

How do you code math explainer animations with Manim?

Program explanatory math and concept animations with Manim for tutorials, course modules, launch explainers, and technical storytelling assets.

Who is it for?

Developers producing programmatic math or CS explainer videos who want Manim scene code generated and iterated inside an agent session.

Skip if: Teams needing motion-design in After Effects, real-time game cinematics, or photo/video editing workflows without code-driven animation.

When should I use this skill?

User asks for Manim animations, math visualization videos, algorithm explainers, or programmatic tutorial motion graphics.

What you get

Manim Python scene scripts and rendered animation clips for tutorials, courses, and technical explainers.

  • Manim scene Python scripts
  • Rendered animation video clips

Files

SKILL.mdMarkdownGitHub ↗

Manim Community - Mathematical Animation Engine

Comprehensive skill set for creating mathematical animations using Manim Community, a Python framework for creating explanatory math videos programmatically, popularized by 3Blue1Brown.

When to use

Use this skill whenever you are dealing with Manim code to obtain domain-specific knowledge about:

  • Creating mathematical animations and visualizations
  • Building educational video content programmatically
  • Working with geometric shapes and transformations
  • Animating LaTeX equations and mathematical formulas
  • Creating graphs, charts, and coordinate systems
  • Implementing scene-based animation sequences
  • Rendering high-quality mathematical diagrams
  • Building explanatory visual content for teaching

Core Concepts

Manim allows you to create animations using:

  • Scenes: Canvas for your animations where you orchestrate mobjects
  • Mobjects: Mathematical objects that can be displayed (shapes, text, equations)
  • Animations: Transformations applied to mobjects (Write, Create, Transform, FadeIn)
  • Transforms: Morphing between different states of mobjects
  • LaTeX Integration: Native support for rendering mathematical notation
  • Python Simplicity: Use Python to programmatically specify animation behavior

Key Features

  • Precise mathematical object positioning and transformations
  • Native LaTeX rendering for equations and formulas
  • Extensive shape library (circles, rectangles, arrows, polygons)
  • Coordinate systems and function graphing
  • Boolean operations on geometric shapes
  • Camera controls and scene management
  • High-quality video rendering
  • IPython/Jupyter notebook integration
  • VS Code extension with live preview

How to use

Read individual rule files for detailed explanations and code examples:

Core Concepts

  • [references/scenes.md](references/scenes.md) - Creating scenes and organizing animations
  • [references/mobjects.md](references/mobjects.md) - Understanding mathematical objects and shapes
  • [references/animations.md](references/animations.md) - Core animation types and techniques
  • [references/latex.md](references/latex.md) - Rendering LaTeX equations and formulas

For additional topics including transforms, timing, shapes, coordinate systems, 3D animations, camera movement, and advanced features, refer to the comprehensive Manim Community documentation.

Quick Start Example

from manim import *

class SquareToCircle(Scene):
    def construct(self):
        # Create a square
        square = Square()
        square.set_fill(BLUE, opacity=0.5)

        # Create a circle
        circle = Circle()
        circle.set_fill(RED, opacity=0.5)

        # Animate square creation
        self.play(Create(square))
        self.wait(1)

        # Transform square into circle
        self.play(Transform(square, circle))
        self.wait(1)

        # Fade out
        self.play(FadeOut(square))

Render with: manim -pql script.py SquareToCircle

Best Practices

1. Inherit from Scene - All animations should be in a class inheriting from Scene 2. Use construct() method - Place all animation code inside the construct() method 3. Think in layers - Add mobjects to the scene before animating them 4. Use self.play() - Animate mobjects using self.play(Animation(...)) 5. Test with low quality - Use -ql flag for faster preview renders 6. Leverage LaTeX - Use Tex() and MathTex() for mathematical notation 7. Group related objects - Use VGroup to manage multiple mobjects together 8. Preview frequently - Use -p flag to automatically open rendered videos

Command Line Usage

# Preview at low quality (fast)
manim -pql script.py SceneName

# Render at high quality
manim -pqh script.py SceneName

# Save last frame as image
manim -s script.py SceneName

# Render multiple scenes
manim script.py Scene1 Scene2

Resources

  • Documentation: https://docs.manim.community/
  • Repository: https://github.com/ManimCommunity/manim
  • Examples Gallery: https://docs.manim.community/en/stable/examples.html
  • Discord Community: https://www.manim.community/discord/
  • 3Blue1Brown Channel: https://www.youtube.com/c/3blue1brown
  • License: MIT

Related skills

How it compares

Choose manim when animation must be code-driven and re-renderable; use image or slide skills for static diagrams only.

FAQ

What does the manim skill generate?

The manim skill generates Manim Python scene code and guidance for rendering explanatory math and concept animations used in tutorials, course modules, launch explainers, and technical storytelling assets.

When should developers use manim over static docs?

manim fits when concepts need timed motion—equation steps, geometric transforms, or algorithm flows—where reproducible Python scene code beats one-off slide or screenshot updates.

Pythonuibranding

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.