Math-To-Manim AGENTS.md

Math-To-Manim AGENTS.md is an instructions file for Codex, OpenCode from HarleyCoops/Math-To-Manim. It costs 1,187 tokens per session, scanned A, original, MIT.

Repository instructions for Math-To-Manim, a project containing separate video-making pipelines for several AI providers.

In plain words
What is it for?
Working on the Grok, GLM, GPT-based Sol, or Anthropic-based Mythos pipelines without routing one provider through another's system.
Why use it?
They keep each provider's pipeline independent and explain the repository layout and verification rules.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

About the project

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.

HarleyCoops/Math-To-Manim · 2,565 stars · on GitHub

Install

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.

agentmods
npx agentmods add instructions/harleycoops/math-to-manim/agents-md
Clone the repo
git clone --depth 1 https://github.com/HarleyCoops/Math-To-Manim

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for Math-To-Manim AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/harleycoops/math-to-manim/agents-md.svg)](https://agentmods.dev/instructions/harleycoops/math-to-manim/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/harleycoops/math-to-manim/agents-md"><img src="https://agentmods.dev/badge/instructions/harleycoops/math-to-manim/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,187 This file is loaded in full into every session.
When invoked 1,187 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.01187 $0.01187
Opus 5 $0.00593 $0.00593
Sonnet 5 $0.00237 $0.00237
Haiku 4.5 $0.00119 $0.00119

Measured 6d ago against content hash 308fcf79b783, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

Math-To-Manim AGENTS.md scanned grade A with 1 finding 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 6d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

math-to-manim serve-api & curl localhost:8642/health
AGENTS.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent guide

Guidance for AI agents (and humans) working in this repository.

What this repo is

Math-To-Manim contains provider-native silos. The established mythos/ product remains the Anthropic-native six-agent chain driven by Claude Fable 5. The parallel sol/ product remains a complete GPT-5.6 Sol-native film pipeline driven only by the Codex CLI and its cached ChatGPT login. The grok/ product is a complete Grok 4.6 film pipeline driven only by the xAI Responses API. Do not route one provider through another provider's orchestration layer.

Layout

Path Role
grok/ Independent Grok 4.6 silo: xAI Responses client, charters, harness, CLI, run ledger
glm/ Independent GLM silo (GLM-only): Z.ai Coding Plan chat/completions client (glm-5.3-flash, thinking always on), charters, harness, CLI, run ledger. Do not import other silos from glm/
docs/GROK_4_6_SILO.md Grok architecture and deployment contract
sol/ Independent GPT-5.6 Sol silo: Codex CLI driver, film contract, harness, validation, run ledger
docs/SOL_5_6_SILO.md Sol architecture and deployment contract
mythos/agents/*.md The six agent charters (single source of truth; mirror to .claude/agents/ for native Claude Code use)
mythos/harness.py Chain runner: intent → cartographer → curriculum → math-director → cinematographer → scene-composer → codegen → verify → render → repair
mythos/charter.py The Cinematic Charter + parsing utilities
mythos/backends.py Model backends: Claude CLI (default), Codex CLI, OpenAI-compatible HTTP
mythos/cinematography.py The visual grammar library scenes import
mythos/service.py Job orchestration shared by all front doors
mythos/api.py REST API (FastAPI) — math-to-manim serve-api
mythos/mcp_server.py Operator entry for math-to-manim serve-mcp; tools run the Grok 4.6 chain
mythos/cli.py The math-to-manim command
examples/mythos/ Flagship hand-finished films (QFT, Sound of Spacetime)
docs/showcase/ Curated GIF gallery — the art-direction target
tests/ Offline test suite (no model calls, no render needed)
archive/, legacy/ Retired code. Do not import from it; do not "fix" it.

Read the full file on GitHub · 75 lines

Changes

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.

  1. 6d ago First seen · 75 lines · 1,187 tokens per session scan A 308fcf79b783

Subscribe to this mod's changes

Math-To-Manim AGENTS.md is an instructions file published in the GitHub repository HarleyCoops/Math-To-Manim (2,565 stars, last pushed 9d ago), licensed MIT. It adds 1,187 tokens to every session, about $0.0059 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens