manim-coding-skill
CLAUDE.md2 starsChanged 7 months agoMITView on GitHub
This is the test-manim Claude Code / opencode skill. One skill, one purpose: make any AI model produce great STEM teaching animations in ManimGL. Never edit agent-specific copies directly — edit source files, then sync manually or via CI. - ManimGL only — not ManimCE. All API references must use manimlib imports. ShowCreation not Create. TexText not Text. Tex not MathTex. - 15s chunks — skill enforces this. Don't change to arbitrary lengths. - No hooks — skill is user-invocable…
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/test-manim.mdcCursor rule
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
No implicit Claude behaviors assumed.
- Very specific: line 67
Add a load instruction in SKILL.md under the appropriate phase
- Distinctive: line 68
Follow lazy loading — only load when the phase needs it
≈ “Common” is an estimate: at least 1 in 5 of the 28,633 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md — manim-coding-skill
What this repo is
This is the test-manim Claude Code / opencode skill. One skill, one purpose: make any AI model produce great STEM teaching animations in ManimGL.
File structure — what owns what
Source of truth — edit only these
| File | Controls |
skills/test-manim/SKILL.md | All skill behavior: phases, rules, templates, API notes |
skills/test-manim/references/manim-gl-api.md | ManimGL object reference, error table |
skills/test-manim/references/storytelling.md | Narrative structure, pacing, anti-patterns |
Never edit agent-specific copies directly — edit source files, then sync manually or via CI.
Auto-generated / agent-specific (sync from source)
| File | Content |
.cursor/rules/test-manim.mdc | Condensed skill for Cursor |
.windsurf/rules/test-manim.md | Condensed skill for Windsurf |
.clinerules/test-manim.md | Condensed skill for Cline |
.github/copilot-instructions.md | Condensed skill for Copilot |
AGENTS.md | @./skills/test-manim/SKILL.md include for OpenAI agents |
GEMINI.md | @./skills/test-manim/SKILL.md include for Gemini CLI |
Key constraints
- ManimGL only — not ManimCE. All API references must use
manimlibimports.ShowCreationnotCreate.TexTextnotText.TexnotMathTex. - 15s chunks — skill enforces this. Don't change to arbitrary lengths.
- No hooks — skill is user-invocable only. No SessionStart/UserPromptSubmit hooks.
- Open-weight compatible — every rule must work with non-Claude models. No implicit Claude behaviors assumed.
ManimGL version
Developed against manimgl 1.7.2. If updating references, verify API against installed version:
python3 -c "import importlib.metadata; print(importlib.metadata.version('manimgl'))"Making changes
Skill behavior change
Edit skills/test-manim/SKILL.md only. Open a PR with before/after example.
API reference update
Edit skills/test-manim/references/manim-gl-api.md. Verify the API against manimgl source before adding.
Storytelling guide update
Edit skills/test-manim/references/storytelling.md. Changes should be grounded in animation pedagogy, not preference.
Adding a new reference file
- Create
skills/test-manim/references/{name}.md - Add a load instruction in SKILL.md under the appropriate phase
- Follow lazy loading — only load when the phase needs it
What "good" looks like
A good animation produced by this skill:
- Has a visual hook that asks a question before any label appears
- Maintains a consistent color contract across all chunks
- Each chunk teaches exactly one concept
- Last chunk returns to opening visual, now annotated with understanding
- Renders clean at 1080p, merges without codec mismatch
A bad animation:
- Opens with a definition or equation
- Uses colors inconsistently
- Crams 3 concepts into one chunk
- Ends abruptly without synthesis
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

