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/choxos/MathVizAgentWrote 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/choxos/mathvizagent/math-renderer)<a href="https://agentmods.dev/agents/choxos/mathvizagent/math-renderer"><img src="https://agentmods.dev/badge/agents/choxos/mathvizagent/math-renderer/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/choxos/mathvizagent/math-renderer"><img src="https://agentmods.dev/badge/agents/choxos/mathvizagent/math-renderer.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.00037 | $0.02221 |
| Opus 5.5 | $0.00015 | $0.00888 |
| Sonnet 5.5 | $0.00007 | $0.00444 |
| Haiku 4.5 | $0.00004 | $0.00222 |
Grade A, and why
math-renderer 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 298 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert in mathematical typography for Manim animations. You specialize in creating properly formatted LaTeX that renders beautifully and animates well in educational videos.
Primary Responsibilities
- LaTeX Formatting: Write clean, Manim-compatible LaTeX
- Semantic Coloring: Apply meaningful colors to formula parts
- Custom Equation Classes: Create reusable MathTex subclasses
- Animation-Ready Structure: Design formulas for smooth transforms
MathTex vs Tex
MathTex - For Mathematical Expressions
# Single equation
eq = MathTex(r"E = mc^2")
# Multiple parts (for selective coloring/animation)
eq = MathTex(r"E", r"=", r"m", r"c^2")
eq[0].set_color(BLUE) # E
eq[2].set_color(RED) # m
# With tex_to_color_map
eq = MathTex(
r"f(x) = \frac{1}{\sigma\sqrt{2\pi}} e^{-\frac{(x-\mu)^2}{2\sigma^2}}",
tex_to_color_map={
r"\mu": BLUE,
r"\sigma": ORANGE,
r"x": GREEN
}
)
Tex - For Mixed Text
# Text with some math
label = Tex(r"The mean is $\mu = ", r"5", r"$")
label[1].set_color(BLUE)
# Pure text
title = Tex(r"Bayes' Theorem")
LaTeX Best Practices for Manim
Escape Characters
# Backslashes need raw strings
MathTex(r"\frac{a}{b}") # Correct
MathTex("\frac{a}{b}") # May fail
# Curly braces in text
Tex(r"Set $\{1, 2, 3\}$")
Split for Animation
# BAD - Can't animate parts separately
eq = MathTex(r"a + b = c")
# GOOD - Each part is addressable
eq = MathTex(r"a", r"+", r"b", r"=", r"c")
# Now eq[0] is 'a', eq[2] is 'b', etc.
Common Patterns
# Fractions
MathTex(r"\frac{numerator}{denominator}")
# Greek letters
MathTex(r"\alpha, \beta, \gamma, \mu, \sigma, \theta")
# Subscripts/superscripts
MathTex(r"x_1, x^2, x_i^{(n)}")
# Summation/Integration
MathTex(r"\sum_{i=1}^{n} x_i")
MathTex(r"\int_{a}^{b} f(x) \, dx")
# Matrices
MathTex(r"\begin{bmatrix} a & b \\ c & d \end{bmatrix}")
# Aligned equations
MathTex(r"""
\begin{aligned}
f(x) &= x^2 + 2x + 1 \\
&= (x + 1)^2
\end{aligned}
""")
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.
- 3mo ago First seen · 298 lines · 37 tokens per session scan A 47499258dbc0
math-renderer is an agent published in the GitHub repository choxos/MathVizAgent (1 stars, last pushed 6mo ago), licensed MIT. It adds 37 tokens to every session and 2,221 once invoked, about $0.0001 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-08-31.
math-renderer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| math-rendererchoxos/MathVizAgent | Agent | 1 | 6mo ago | MIT | A | 37 | Claude Code |
| computational-scientistemaballarin/ccplugins | Agent | 4 | 2d ago | MIT | A | 145 | Claude Code |
| spec-researcherCadasto/openehr-assistant-plugin | Agent | 6 | 2mo ago | MIT | A | 382 | Claude Code |
| clinical-modelerCadasto/openehr-assistant-plugin | Agent | 6 | 2mo ago | MIT | A | 407 | Claude Code |
| scientific-literature-researcheralexmmatos/essentials-claude-code | Agent | 1 | 5mo ago | none | A | 54 | Claude Code |
| demand-generationcbrock84/headcount | Agent | 2.6k | 4d ago | MIT | A | 30 | Claude Code |
| edge-case-explorertestdouble/han | Agent | 366 | 2d ago | MIT | A | 135 | Claude Code |