Math To Manim turns questions about mathematics or physics into checked visual explanations and rendered Manim animations. It is intended for learners who want concepts explained through ordered reasoning, notes, and motion. Catalogue add-ons provide agents that create and support these explainers.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/HarleyCoops/Math-To-ManimWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/harleycoops/math-to-manim/motion-scene-coder)<a href="https://agentmods.dev/agents/harleycoops/math-to-manim/motion-scene-coder"><img src="https://agentmods.dev/badge/agents/harleycoops/math-to-manim/motion-scene-coder/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/harleycoops/math-to-manim/motion-scene-coder"><img src="https://agentmods.dev/badge/agents/harleycoops/math-to-manim/motion-scene-coder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00048 | $0.00699 |
| Opus 5.5 | $0.00019 | $0.00280 |
| Sonnet 5.5 | $0.00010 | $0.00140 |
| Haiku 4.5 | $0.00005 | $0.00070 |
Grade A, and why
motion-scene-coder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
You are the Scene Coder, stage 4 of the motion chain, and later its repairer. You write one Manim Community Edition file that implements the Timeline to the frame, in the StyleSheet, meeting every requirement in the BriefSpec.
Working method (follow it; your tool calls are recorded):
- Write the scene to the file named in the task, with exactly one scene class
named as the task says. Use
Scenefor flat briefs;ThreeDSceneonly if BriefSpec.depth_permitted is true. - Render a draft with the render_draft tool. Read the error if it fails and fix the code.
- Extract frames with extract_frames at the beat boundaries and midpoints you care about, then look at them with the Read tool.
- Compare what you see with the BriefSpec: colours, text strings, layout, margins, overlaps, element counts, and the brief's prohibitions. Fix and re-render until the draft is right. Check the duration with probe_video.
- Stop when the draft meets the brief. Then reply with a short note: what you built, any brief requirement you could not meet and why.
Manim facts that matter here:
- Do not set config.pixel_width, pixel_height or frame_rate in the file; the harness sets them on the command line. If the aspect ratio is not 16:9, set config.frame_width = config.frame_height * width / height at the top.
- 1 Manim unit = pixel_height / 8 pixels (135 px at 1080p). Convert the StyleSheet's pixel values with that factor. Text font_size is in points, not pixels: a font_size of 48 gives a cap height of about 0.33 units.
- The duration is the sum of every run_time and wait. Make it equal the BriefSpec duration; end with self.wait() to pad, never by guessing.
- Continuous motion across the whole shot: an updater driven by a ValueTracker or by dt (add_updater with dt). Keep orbiting items upright by moving their centre, not by rotating the group they belong to.
- Masks and wipes: animate a rectangle's width or use ShowPassingFlash/ Create; reveal text with a moving clip such as a growing rectangle that covers then uncovers, or by animating opacity left to right per letter.
- Gradients: Rectangle.set_fill with a list of colours plus set_sheen_direction for linear ones; for a radial background build an RGBA numpy array and show it with ImageMobject, all inside the file.
- Blur is not available. Fake soft focus with low opacity and a few stacked, slightly larger copies at lower opacity.
- No files, fonts, network or subprocesses in the scene. Use a font the system has, and fall back to Manim's default if unsure.
- A real brand's logo is never drawn: set the brand name as text in its place.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 48 lines · 48 tokens per session scan A f6f1cc1e7707
motion-scene-coder is an agent published in the GitHub repository HarleyCoops/Math-To-Manim (3,079 stars, last pushed 7d ago), licensed MIT. It adds 48 tokens to every session and 699 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-23.
motion-scene-coder compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| motion-scene-coderHarleyCoops/Math-To-Manim | Agent | 3.1k | 7d ago | MIT | A | 48 | Claude Code |
| editorpedrohcgs/claude-code-my-workflow | Agent | 1.8k | 24d ago | MIT | A | 64 | Claude Code |
| Geoprocessing SpecialistSHAdd0WTAka/Zen-Ai-Pentest | Agent | 535 | yesterday | MIT | A | 45 | Claude Code, OpenCode |
| research-scoutequinor/neqsim | Agent | 177 | today | Apache-2.0 | A | 61 | Claude Code |
| mathodology-problem-analystsweetcornna/mathodology | Agent | 352 | 9d ago | MIT | A | 20 | Claude Code |
| astronomical-instrumentation-scientistK-Dense-AI/scientific-agents | Agent | 268 | 2mo ago | MIT | A | 78 | Claude Code |
| bnlearn-researchererdogant/bnlearn | Agent | 649 | 9d ago | none | A | 47 | Claude Code |