.claude/plugins/math-to-manim/skills/math-to-manim/SKILL.md
This skill should be used when the user asks to "create a math animation", "animate a mathematical concept", "generate Manim code", "visualize [topic] with animation", "explain [concept] visually", "create an educational video", "build a Manim scene", or mentions "reverse knowledge tree", "prerequisite discovery", or "verbose prompt generation". Provides a complete six-agent workflow for transforming any concept into professional Manim animations through recursive prerequisite discovery.
npx skillsauth add harleycoops/math-to-manim Math-To-ManimInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Transform any concept into professional mathematical animations using a six-agent workflow that requires NO training data - only pure LLM reasoning.
Instead of training on example animations, this system recursively asks: "What must I understand BEFORE this concept?" This builds pedagogically sound animations that flow naturally from foundation concepts to advanced topics.
Invoke this workflow when:
Parse user intent to extract:
Recursively build knowledge tree:
Foundation detection criteria: Would a high school graduate understand this without further explanation?
For each node in the tree, add:
For each node, design:
Walk tree from foundation to target:
Generate working Manim code:
r"$\frac{a}{b}$"To execute this workflow for a user request:
# Extract intent
analysis = {
"core_concept": "quantum tunneling",
"domain": "physics/quantum mechanics",
"level": "intermediate",
"goal": "Understand barrier penetration"
}
Recursively discover prerequisites with max depth of 3-4 levels:
Target: quantum tunneling
├─ wave-particle duality
│ ├─ de Broglie wavelength [FOUNDATION]
│ └─ Heisenberg uncertainty
├─ Schrödinger equation
│ ├─ wave function
│ └─ probability density
└─ potential barriers [FOUNDATION]
Add to each node:
Specify for each concept:
['wave_function', 'potential_barrier']{'wave': 'BLUE', 'barrier': 'RED'}['FadeIn', 'Create', 'Transform']Generate verbose prompt with:
Produce complete Python file:
from manim import *
class ConceptAnimation(ThreeDScene):
def construct(self):
# Implementation following verbose prompt
...
Always use raw strings for LaTeX:
equation = MathTex(r"E = mc^2")
Define color palette at scene start and reuse throughout.
Connect concepts with smooth animations:
Transform or ReplacementTransformStructure prompts with:
See references/verbose-prompt-format.md for complete template.
The pipeline generates:
{concept}_prompt.txt - Verbose prompt{concept}_tree.json - Knowledge tree structure{concept}_animation.py - Manim Python code{concept}_result.json - Complete metadatareferences/reverse-knowledge-tree.md - Detailed algorithm explanationreferences/agent-system-prompts.md - All six agent promptsreferences/verbose-prompt-format.md - Complete prompt templatereferences/manim-code-patterns.md - Code generation patternsexamples/pythagorean-theorem/ - Complete workflow exampleFor immediate use, follow this simplified pattern:
The key insight: verbose, specific prompts with exact LaTeX and visual specifications produce dramatically better code than vague descriptions.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.