Manim logo

Manim

Community
AmitSubhash
manim

Use when the user wants to create mathematical animations, research paper explainer videos, equation derivations, 3D visualizations, or any programmatic animation with Manim. Also trigger when the user mentions "3Blue1Brown style", "animate this equation", "explain this paper visually", or wants to render LaTeX equations as video.

Overview

PublisherAmitSubhash
Repository3brown1blue
Skill namemanim
Stars
46
Forks
5
Bundled files
49
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 49 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by AmitSubhash on GitHub. Read the source before you install it.

Installation

Install the Manim AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/AmitSubhash/3brown1blue/tree/main/src/three_b1b/skill
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AmitSubhash/3brown1blue.git /tmp/3brown1blue
mkdir -p .claude/skills
cp -r /tmp/3brown1blue/src/three_b1b/skill .claude/skills/manim
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Manim in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Manim on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Manim is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

When to use

Trigger this skill when:

  • User wants to create a mathematical animation or render an equation as video
  • User asks to explain a research paper visually or create an explainer video
  • User mentions Manim, 3Blue1Brown, or mathematical visualization
  • User wants to animate a derivation, diagram, pipeline, or architecture
  • User needs Remotion + Manim integration for a production video

Default to Manim Community Edition (pip install manim) unless the user specifically needs ManimGL's interactive features.

Gotchas (read these first)

These are the most common failures. Load rules/troubleshooting.md for the full list.

  1. Create(Text(...)) looks wrong -- use Write() for text. Create() traces outlines.
  2. Arrow with interpolate_color() crashes -- use a plain color constant, adjust opacity separately.
  3. Brace.get_text("label", font_size=24) crashes -- create Tex separately, use brace.put_at_tip().
  4. MathTex(r"$E=mc^2$") crashes -- MathTex is already math mode. Drop the $. Use Tex for mixed text+math.
  5. Transform(A, B) then animating B does nothing -- B was never added. Use ReplacementTransform.
  6. Chained Transform(a,b) then Transform(a,c) -- a is still the scene object. b and c are ghosts. Use ReplacementTransform each step.
  7. LaggedStartMap(Write, group) crashes -- use LaggedStart(*[Write(m) for m in group]).
  8. Updaters freeze during self.wait() -- add frozen_frame=False.
  9. .animate.shift(R).scale(2) != .animate.scale(2).shift(R) -- chain order matters after scaling.
  10. get_part_by_tex("missing") returns None silently -- check before calling .set_color() on the result.
  11. reference = mob is NOT a copy -- use mob.copy() for independent objects.
  12. Transparent background -- mp4 has no alpha. Use --format webm -t.
  13. VGroup.add(mob.animate.move_to(...)) crashes -- .animate returns an _AnimationBuilder, not a VMobject. Only use .animate inside self.play().
  14. Group.save_state() crashes -- Group does not support save_state()/restore(). Convert to VGroup first, or manually store and restore positions.

Scripts and Templates

Claude can copy and adapt these starter files instead of writing from scratch:

Quick Start

python
from manim import *

class MyScene(Scene):
    def construct(self):
        eq = MathTex(r"e^{i\pi} + 1 = 0")
        self.play(Write(eq))
        self.wait()
bash
manim -pql scene.py MyScene    # preview, low quality (fast)
manim -pqh scene.py MyScene    # preview, high quality (1080p)

Rule Files

Load the relevant rule file for the task at hand. Claude should read only what it needs, not all files at once.

Core (read first if unfamiliar with Manim)

Equations and Math

Dynamic and 3D

Visual Design (read for any explainer video)

  • rules/explanation-design.md -- READ FIRST when deciding scene CONTENT. Three principles for designing the explanation itself, from Grant Sanderson's "Designing Math" talk: ask "what does it look like?", give every symbol a motivation, motivate with the most surprising application. One object, several representations, one question each.
  • rules/pedagogy-checklist.md -- A checklist for judging when an explanation is pedagogically done, not just rigorous, from Grant Sanderson's JMM 2023 award lecture and the SoME rubric: motivating example before each definition, rediscoverable proofs, concrete before abstract, a problem before instruction, raise the ceiling while lowering the floor.
  • rules/visual-design-principles.md -- 17 core principles from Tufte, Bret Victor, 3Blue1Brown: opacity layering, persistent context, geometry before algebra, question frames, concrete values, density ramp, monospace text
  • rules/visual-design-catalog.md -- 35 implementable patterns from 3b1b frame analysis + production learnings: probability sidebars, skip arcs, grid fills, interactive sliders, heatmaps, live pipeline data flow, linked dual panels, camera zoom detail, and more

Video Production

Reference

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Manim AI skill do?

Use when the user wants to create mathematical animations, research paper explainer videos, equation derivations, 3D visualizations, or any programmatic animation with Manim. Also trigger when the user mentions "3Blue1Brown style", "animate this equation", "explain this paper visually", or wants to render LaTeX equations as video.

Why use Manim on TypingMind?

Because you install it once and use it with any model. Manim is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Manim in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AmitSubhash/3brown1blue/tree/main/src/three_b1b/skill. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Manim?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Manim?

As many as you like. As long as a model supports skills, you can use Manim with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Manim AI skill free?

Yes. It is published on GitHub by AmitSubhash under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇