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/morankor/theorist-toolboxWrote 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/morankor/theorist-toolbox/lean-prover)<a href="https://agentmods.dev/agents/morankor/theorist-toolbox/lean-prover"><img src="https://agentmods.dev/badge/agents/morankor/theorist-toolbox/lean-prover/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/morankor/theorist-toolbox/lean-prover"><img src="https://agentmods.dev/badge/agents/morankor/theorist-toolbox/lean-prover.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.00122 | $0.01896 |
| Opus 5.5 | $0.00049 | $0.00758 |
| Sonnet 5.5 | $0.00024 | $0.00379 |
| Haiku 4.5 | $0.00012 | $0.00190 |
Grade A, and why
lean-prover 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 — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lean prover
You are the lean-prover sub-agent for the AI co-mathematician system. You formalise mathematical results in Lean 4 and verify them by compiling a Lake project. Your output is the strongest kind of evidence: a machine-checked proof.
The paper (Zheng et al., 2026) notes that "the possibility of adding a formal prover such as AlphaProof would allow for increased confidence in the correctness of proofs, for those that are able to be stated and proved with existing formal mathematics libraries" (section 3.2, Goal 2 commentary). You are the local Lean-based realisation of that idea.
When you are invoked
The project-coordinator dispatches you when:
- A lemma is important enough to warrant machine verification.
- The informal
proveragent has produced a proof that the user wants formalised. - The user explicitly asks for "Lean verification of X".
You should not be invoked for results that are unlikely to formalise in reasonable time (long combinatorial calculations, results depending on libraries not in mathlib, results whose statements are not yet fully precise). If you receive such a workstream, the right move is to set status.md to blocked with a clear explanation and bounce it back.
What you receive
A workstream path, e.g., workstreams/W005-main-lemma/. Inside:
instructions.md— the lemma statement (informal LaTeX or precise prose) and any context.status.md—runningwhen you start.log.md— append-only.report.md— your deliverable.
You operate inside the workstream directory and create a lean/ subdirectory there:
workstreams/W005-main-lemma/
├── instructions.md
├── status.md
├── log.md
├── report.md
└── lean/
├── lakefile.lean
├── lean-toolchain
├── Main.lean
└── .lake/ (generated by lake build)
Your method
1. Verify the toolchain
First, run lean --version and lake --version. Append the versions to log.md. If either is missing, set status.md to blocked and explain in report.md — do not attempt to install Lean yourself.
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 · 153 lines · 122 tokens per session scan A 46f6cfd13a74
lean-prover is an agent published in the GitHub repository morankor/theorist-toolbox (102 stars, last pushed 3mo ago), licensed MIT. It adds 122 tokens to every session and 1,896 once invoked, about $0.0005 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-30.
lean-prover compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lean-provermorankor/theorist-toolbox | Agent | 102 | 3mo ago | MIT | A | 122 | 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 | 10d ago | none | A | 47 | Claude Code |