adithya-s-k/manim_skill

Agent skills for Manim to create 3Blue1Brown style animations.

390 stars21 forksUpdated Jan 23, 2026
npx skills add adithya-s-k/manim_skill

README

Manim Skills Repository

Visitors GitHub stars GitHub forks GitHub issues License

⚔ Quick Start: Add both Manim skills to your AI agent instantly:

npx skills add adithya-s-k/manim_skill

A comprehensive collection of best practices, patterns, and examples for both Manim Community Edition and ManimGL (3Blue1Brown's version). This repository provides battle-tested code examples and guidelines for creating mathematical animations.

https://github.com/user-attachments/assets/3cd398b7-7cc6-43c1-a6e9-20077be6b009

šŸ“š About the Two Versions

Manim Community Edition (manim)

  • Repository: https://github.com/ManimCommunity/manim
  • Focus: Community-maintained, stable, well-documented
  • Best For: Production use, educational content, collaborative projects
  • Command: manim CLI
  • Import: from manim import *

ManimGL (manimgl)

  • Repository: https://github.com/3b1b/manim
  • Focus: Grant Sanderson's (3Blue1Brown) original version with OpenGL rendering
  • Best For: Interactive development, 3D scenes, rapid prototyping
  • Command: manimgl CLI
  • Import: from manimlib import *

Important: These are separate, incompatible frameworks. Code written for one will not work with the other without modifications.


šŸš€ Installation

Prerequisites (Both Versions)

  1. Python 3.7+ - Required
  2. FFmpeg - For video encoding
  3. LaTeX - For mathematical typesetting (TeX Live, MiKTeX, or MacTeX)

Install FFmpeg

macOS:

brew install ffmpeg

Ubuntu/Debian:

sudo apt update
sudo apt install ffmpeg

Windows: Download from https://ffmpeg.org/download.html and add to PATH

Install LaTeX

macOS:

brew install mactex

Ubuntu/Debian:

sudo apt install texlive-full

Windows: Install MiKTeX from https://miktex.org/download


Installing Manim Community Edition

# Using pip
pip install manim

# Using uv (recommended for this project)
uv pip install manim

# Verify installation
manim --version

Documentation: https://docs.manim.community/


Installing ManimGL

# Using pip
pip install manimgl

# Using uv (recommended for this project)
uv pip install manimgl

# Verify installation
manimgl --version

Additional macOS (ARM) requirement:

arch -arm64 brew install pkg-config cairo

šŸ”Œ Skills.sh Integration

This repository provides two AI Agent Skills that can be installed with a single command using skills.sh:

Install with npx (Recommended)

# Install Manim Community Edition best practices
npx skills add adithya-s-k/manim_skill/skills/manimce-best-practices

# Install ManimGL best practices
npx skills add adithya-s-k/manim_skill/skills/manimgl-best-practices

# Or install both
npx skills add adithya-s-k/manim_skill/skills/manimce-best-practices adithya-s-k/manim_skill/skills/manimgl-best-practices

What are Skills?

Skills are reusable capabilities for AI coding agents. Once installed, your AI assistant (like Claude, GitHub Copilot, or Cursor) automatically gains access to:

  • āœ… Domain-specific best practices
  • āœ… Working code examples
  • āœ… Common patterns and anti-patterns
  • āœ… Framework-specific knowledge

The skills follow the Agent Skills open standard and work across multiple AI tools.

When Skills Activate

manimce-best-practices - Automatically loads when:

  • You import from manim import *
  • You use the manim CLI command
  • You work with Scene classes, mathematical animations, or LaTeX rendering
  • You create educational videos or visual explanations with Manim Community

manimgl-best-practices - Automatically loads when:

  • You import from manimlib import *
  • You use the manimgl CLI command
  • You work with InteractiveScene, 3D rendering, or camera frame control
  • You use interactive mode with .embed() or checkpoint_paste()

šŸ“– Using This Repository

Repository Structure

manim_skill/
ā”œā”€ā”€ skills/
│   ā”œā”€ā”€ manimce-best-practices/     # Manim Community Edition skills
│   │   ā”œā”€ā”€ SKILL.md                # Skill metadata
│   │   └── rules/                  # Individual best practice guides
│   │       ā”œā”€ā”€ animations.md
│   │       ā”œā”€ā”€ scenes.md
│   │       ā”œā”€ā”€ mobjects.md
│   │       └── ...
│   │
│   └── manimgl-best-practices/     # ManimGL skills
│       ā”œā”€ā”€ SKILL.md
│       └── rules/
│           ā”œā”€ā”€ animations.md
│           ā”œā”€ā”€ 3d.md
│           ā”œā”€ā”€ camera.md
│        

...
Read full README

Publisher

adithya-s-kadithya-s-k

Statistics

Stars390
Forks21
Open Issues0
LicenseMIT License
CreatedJan 22, 2026