adithya-s-k/manim_skill
Agent skills for Manim to create 3Blue1Brown style animations.
npx skills add adithya-s-k/manim_skillREADME
Manim Skills Repository
ā” 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:
manimCLI - 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:
manimglCLI - 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)
- Python 3.7+ - Required
- FFmpeg - For video encoding
- 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
manimCLI 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
manimglCLI command - You work with InteractiveScene, 3D rendering, or camera frame control
- You use interactive mode with
.embed()orcheckpoint_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
ā
...