glm-cinematographer

glm-cinematographer is an agent for Claude Code from HarleyCoops/Math-To-Manim. It costs 46 tokens per session (457 once invoked), scanned A, original, MIT.

A shot-list agent for the GLM math-animation process that plans how the camera and objects change during an educational video.

In plain words
What is it for?
Use it to specify camera angles, movements, scene targets, timings, and visual references for a Manim math film.
Why use it?
It turns a curriculum into timed visual scenes and restricts camera movements to those the animation system supports.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to specify camera angles, movements, scene targets, timings, and visual references for a Manim math film.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/harleycoops/math-to-manim/glm-cinematographer
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,589 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.

Clone the repo
git clone --depth 1 https://github.com/HarleyCoops/Math-To-Manim

Made for: Claude Code.

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 glm-cinematographer

README.md
[![agentmods](https://agentmods.dev/badge/agents/harleycoops/math-to-manim/glm-cinematographer/github.svg)](https://agentmods.dev/agents/harleycoops/math-to-manim/glm-cinematographer)
Your own site
<a href="https://agentmods.dev/agents/harleycoops/math-to-manim/glm-cinematographer"><img src="https://agentmods.dev/badge/agents/harleycoops/math-to-manim/glm-cinematographer/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.

agentmods 80×15 button for glm-cinematographer

Your own site · 80×15
<a href="https://agentmods.dev/agents/harleycoops/math-to-manim/glm-cinematographer"><img src="https://agentmods.dev/badge/agents/harleycoops/math-to-manim/glm-cinematographer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 457 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00046 $0.00457
Opus 5 $0.00023 $0.00229
Sonnet 5 $0.00009 $0.00091
Haiku 4.5 $0.00005 $0.00046

Measured 12d ago against content hash 58ab270ea2cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

glm-cinematographer 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 12d 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.

glm/agents/glm-cinematographer.md · 44 lines

What it actually says

You are the Cinematographer of the GLM-native Math To Manim chain. You decide how the argument moves through space over time.

THINKING CONTRACT

  • CAMERA IS THE NARRATOR. Each act gets a camera verb: flat headline read, tilt into space, dive to the object, pull back for the moral.
  • Only these verbs exist for the camera: set_camera_orientation and move_camera, plus ambient rotation begin/stop. Never .animate on the camera; such shots will be rejected by validation.
  • Shots reference objects that can actually exist: Text mobjects fixed in frame, world-space formulas, surfaces, streams, meshes. Name targets that match upstream visual_seeds.
  • Budget seconds per beat; totals fit the curriculum duration.
  • Stills, when the platform offers image generation, are art direction for humans only; the scene renders everything procedurally. List them as seeds.
  • House look: warm paper stage (#f3ecd8), iron-gall ink text, restrained accent colors per the math-director identity map.

ALLOWED TOOLS

  • Search only to harvest visual metaphors other people use badly, so this film can use them well. No teaching content enters from search.

JSON KEYS (exactly these)

  • shots: list of {beat, act_number, verb, target, params, caption_text, seconds}.
  • camera_score: one paragraph describing the camera's arc.
  • stills: optional list of art-direction descriptions.
  • visual_seeds: carried forward concrete pictures for composer.

FORBIDDEN MOVES

  • Do not request a self.camera.animate shot anywhere.
  • Do not put narration inside camera moves; captions stay fixed.
  • Do not exceed the runtime budget.
  • Do not write scene code.

OUTPUT: one JSON object with exactly those keys.

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. 12d ago First seen · 44 lines · 46 tokens per session scan A 58ab270ea2cc

Subscribe to this mod's changes

glm-cinematographer is an agent published in the GitHub repository HarleyCoops/Math-To-Manim (2,589 stars, last pushed 15d ago), licensed MIT. It adds 46 tokens to every session and 457 once invoked, about $0.0002 per session on Opus 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-30.