Comprehensive guide for Manim Community - Python framework for creating mathematical animations and educational videos with programmatic control

MITAuto-check passedEducation

Install Manim

skills CLI
$ npx skills add davila7/claude-code-templates --skill manim -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davila7/claude-code-templates manim --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/video/manim .claude/skills/manim && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
manim
GitHub stars
32k
Used in
1 other repo
Token cost
~1.2k tokens
SKILL.md length
378 words
Files
5 (incl. references)
Skills in repo
477
Repo updated
First seen
Licence
MIT

At a glance

Comprehensive guide for Manim Community - Python framework for creating mathematical animations and educational videos with programmatic control

  • Works in 8 steps: Inherit from Scene - All animations… → Use construct() method - Place all… → Think in layers - Add mobjects to the… → …
  • Tasks that involve Educational content
  • SKILL.md covers When to use, Core Concepts, Key Features and How to use, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Manim is an agent skill from davila7/claude-code-templates. Comprehensive guide for Manim Community - Python framework for creating mathematical animations and educational videos with programmatic control

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/animations.md`, `references/latex.md` and `references/mobjects.md`).

It sits in Education, covering Educational content. It works with Manim, Python and LaTeX. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.

When your agent uses it

  • Tasks that involve Educational content

Example prompts

  • “/manim”

Requirements

  • Python 3

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  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

What it can do on your machine

Read from SKILL.md and the folder at commit 14680ec. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python and bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.manim.community
    • github.com
    • manim.community
    • youtube.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Manim loads about 1.2k tokens when it runs, and up to ~5.3k if it reads all its reference files. Until then it costs about 38 tokens; SKILL.md has 378 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davila7/claude-code-templates at commit 14680ec, republished under its MIT licence (© davila7). 378 words, ~1,184 tokens.

Download SKILL.mdSave it as .claude/skills/manim/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
manim
description
Comprehensive guide for Manim Community - Python framework for creating mathematical animations and educational videos with programmatic control
version
1.0.0
author
manim-community
repo
https://github.com/ManimCommunity/manim
license
MIT
tags
Video, Python, Animation, Manim, Mathematical, Educational, Visualization, LaTeX, 3Blue1Brown
dependencies
manim>=0.19.0, python>=3.8

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:

Show full SKILL.md (168 more words)Show less
Core Concepts

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

python
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

bash
# 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

© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in cli-tool/components/skills/video/manim of davila7/claude-code-templates.

  • SKILL.md
  • references/animations.md
  • references/latex.md
  • references/mobjects.md
  • references/scenes.md

Open the folder on GitHubat commit 14680ec

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Manim next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Manim compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Manim this skilldavila7/claude-code-templates32k1 repos~1.2kAutomated safety check: PassMIT
Manim Video Productionbrowser-use/video-use28k6 repos~3kAutomated safety check: PassMIT
Manim Animation CreatorYusuke710/manim-skill166—~1.8kAutomated safety check: PassMIT
Manim Explainer VideosPrismer-AI/PrismerCloud1.6k2 repos~3.1kAutomated safety check: PassMIT
AI Engineering Project Tutorrohitg00/ai-engineering-from-scratch66k—~1.6kAutomated safety check: PassMIT
Manim Community Edition Best Practicesadithya-s-k/manim_skill1.1k2 repos~1.5kAutomated safety check: PassMIT

Similar skills

  • Manim Video Production

    browser-use/video-use

    Produces math and technical explainer videos with Manim Community Edition: concept animations, equation derivations, algorithm walkthroughs and data stories.

    28k GitHub starsUsed in 6 repos~3k tokens
    Media & CreativeAuto-check passed
  • Manim Animation Creator

    Yusuke710/manim-skill

    Builds math and concept animations with Manim Community Edition, with optional local text-to-speech voiceover and synced subtitles, delivering script.py and video.mp4.

    166 GitHub stars~1.8k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Manim Explainer Videos

    Prismer-AI/PrismerCloud

    Produces 3Blue1Brown-style explainer animations with Manim Community Edition for math, algorithms, equations and architecture diagrams, with planning and rendering references.

    1.6k GitHub starsUsed in 2 repos~3.1k tokens
    Media & CreativeAuto-check passed
  • AI Engineering Project Tutor

    rohitg00/ai-engineering-from-scratch

    Tutors a learner through one stage of a hands-on AI engineering project per session: lesson, prediction, code, grader run and reflection, with hints but never full solutions.

    66k GitHub stars~1.6k tokensUpdated 2 days ago
    EducationAuto-check passed
  • Index of best-practice rule files and working examples for Manim Community Edition, covering scenes, animations, LaTeX math, 3D, camera control and styling.

    1.1k GitHub starsUsed in 2 repos~1.5k tokens
    Documents & OfficeAuto-check passed
  • Math Tutorial Video Planner

    agentscope-ai/QwenPaw

    Domain guidance for turning one math problem into a step-by-step explainer video in Chinese, with scene timing, narration rules and KaTeX-style layout.

    35k GitHub stars~783 tokensUpdated yesterday
    EducationAuto-check passed

More from davila7/claude-code-templates

All 477 skills in this repo
  • Perplexity Web Search

    davila7/claude-code-templates

    Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.

    32k GitHub starsUsed in 12 repos~3.5k tokens
    Auto-check: notes
  • Neuropixels Data Analysis

    davila7/claude-code-templates

    Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.

    32k GitHub starsUsed in 10 repos~2.8k tokens
    Auto-check passed
  • Scientific Venue Templates

    davila7/claude-code-templates

    Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.

    32k GitHub starsUsed in 9 repos~5.1k tokens
    Auto-check: notes
  • Brand Voice Content Creator

    davila7/claude-code-templates

    Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.

    32k GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • CAPA Officer

    davila7/claude-code-templates

    Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.

    32k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Fda Consultant Specialist

    davila7/claude-code-templates

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.

    32k GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed

Categories

Questions about Manim

What does Manim do?

Comprehensive guide for Manim Community - Python framework for creating mathematical animations and educational videos with programmatic control. Manim is an agent skill from davila7/claude-code-templates.

When should I use Manim?

Manim fits situations like: tasks that involve Educational content.

How do I install Manim in Claude Code?

Run `npx skills add davila7/claude-code-templates --skill manim -a claude-code`. Or copy the skill folder (cli-tool/components/skills/video/manim in davila7/claude-code-templates) into .claude/skills/manim in your project. Claude Code loads it when a task matches its description.

How do I install Manim in Codex?

Run `npx skills add davila7/claude-code-templates --skill manim -a codex`. Or copy the skill folder (cli-tool/components/skills/video/manim in davila7/claude-code-templates) into .agents/skills/manim in your project. Codex loads it when a task matches its description.

Can I use Manim in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill manim -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/manim, .gemini/skills/manim, .github/skills/manim and .opencode/skills/manim in your project.

What does Manim need to run?

SKILL.md names no scripts, command-line tools or credentials: Manim is instructions for the agent only. Our summary lists: Python 3.

Does Manim access the network?

SKILL.md names 4 domains. As links in the text: docs.manim.community, github.com, manim.community and youtube.com. This is read from the text; nothing was executed.

Is Manim safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Manim use?

Manim is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Manim use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.2k tokens, read only when the agent opens those files.

What are the alternatives to Manim?

Skills that share tags, products or a category with Manim: Manim Video Production (browser-use/video-use, 28k stars), Manim Animation Creator (Yusuke710/manim-skill, 166 stars), Manim Explainer Videos (Prismer-AI/PrismerCloud, 1.6k stars) and AI Engineering Project Tutor (rohitg00/ai-engineering-from-scratch, 66k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Manim?

davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,463 GitHub stars. The repository holds 477 skills in this directory. The repository was last updated on October 8, 2026.

Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.