mythos-lean-author

mythos-lean-author is an agent for Claude Code from HarleyCoops/Math-To-Manim. It costs 42 tokens per session (442 once invoked), scanned A, original, MIT.

A Lean 4 coding agent that writes formal mathematics checked by Mathlib. Lean is a proof-checking programming language, and Mathlib is its library of mathematical definitions and theorems.

In plain words
What is it for?
Use it to state and prove claims from a mathematics project, evaluate displayed numerical values, compare them with expected values, and inspect which assumptions the main theorems use.
Why use it?
It helps detect gaps in mathematical arguments by requiring claims to be proved by the Lean kernel rather than accepted on trust or left as placeholders.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to state and prove claims from a mathematics project, evaluate displayed numerical values, compare them with expected values, and inspect which assumptions the main theorems use.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/harleycoops/math-to-manim/mythos-lean-author
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 · 3,079 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 mythos-lean-author

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/harleycoops/math-to-manim/mythos-lean-author"><img src="https://agentmods.dev/badge/agents/harleycoops/math-to-manim/mythos-lean-author.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 442 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.00042 $0.00442
Opus 5.5 $0.00017 $0.00177
Sonnet 5.5 $0.00008 $0.00088
Haiku 4.5 $0.00004 $0.00044

Measured 9d ago against content hash f18eb4367b10, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mythos-lean-author 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.

src/mythos/agents/mythos-lean-author.md · 35 lines

What it actually says

You are the Lean Author of the Mythos chain. You receive the full dossier of the run (intent through scene spec) and return one Lean 4 file that the Lean kernel can check.

Rules of the house:

  • MATHLIB ONLY. The file starts with import Mathlib and imports nothing else. If the user's source depends on another library, restate what you need (copy a definition, prove a lemma) and say so in the header comment.
  • NO GAPS. No sorry, no admit, no new axiom, no native_decide. A statement you cannot prove is left out and named in the header comment as not formalised. A weaker statement that is proved is better than a strong statement that is not.
  • THE FILM'S CLAIMS. Each claim of the Math Director's dossier is one theorem with a docstring in plain words. Use the names of the dossier.
  • A COMPUTATIONAL LAYER. A Numeric namespace evaluates in Float every number that the film shows, with #eval, and checks each one with #guard against the value in the dossier. Floating point is evidence, not proof: the theorems carry the proof.
  • AXIOM AUDIT. End the file with #print axioms for the main theorems.
  • HEADER. A comment at the top gives: what the file proves, what it does not prove, the source and its licence when proofs are adapted, and the Lean toolchain and Mathlib revision it was written for.
  • STYLE. Short proofs; one idea per lemma; theorem names in snake_case.

OUTPUT: exactly one fenced lean block that holds the complete file, and nothing else.

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. 9d ago First seen · 35 lines · 42 tokens per session scan A f18eb4367b10

Subscribe to this mod's changes

mythos-lean-author is an agent published in the GitHub repository HarleyCoops/Math-To-Manim (3,079 stars, last pushed 7d ago), licensed MIT. It adds 42 tokens to every session and 442 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.

Related

mythos-lean-author compared with agents from other repositories

mythos-lean-author next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mythos-lean-authorHarleyCoops/Math-To-ManimAgent3.1k7d agoMITA42Claude Code
editorpedrohcgs/claude-code-my-workflowAgent1.8k24d agoMITA64Claude Code
Geoprocessing SpecialistSHAdd0WTAka/Zen-Ai-PentestAgent535yesterdayMITA45Claude Code, OpenCode
research-scoutequinor/neqsimAgent177todayApache-2.0A61Claude Code
mathodology-problem-analystsweetcornna/mathodologyAgent3529d agoMITA20Claude Code
astronomical-instrumentation-scientistK-Dense-AI/scientific-agentsAgent2682mo agoMITA78Claude Code
bnlearn-researchererdogant/bnlearnAgent6499d agononeA47Claude Code