Mathlib Scout — Development agent for Claude Code
Read-only Mathlib lemma/API finder for the lean-proof-agents repo.
How to install Mathlib Scout
Installs to ~/.claude/agents/herakles-dev-lean-proof-agents-mathlib-scout.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/herakles-dev/lean-proof-agents/HEAD/.claude/agents/mathlib-scout.md -o ~/.claude/agents/herakles-dev-lean-proof-agents-mathlib-scout.md Restart Claude Code, or start a new session, for it to be picked up.
What Mathlib Scout does
name: mathlib-scout description: "Read-only Mathlib lemma/API finder for the lean-proof-agents repo. Given a goal or type pattern, returns a ranked pinpoint report of candidate lemmas (name + signature + module) and a suggested one-liner if obvious. Never edits or proves — Explore-tier." model: claude-haiku-4-5-20251001 tools: Read, Bash, Grep, Glob disallowedTools: Write, Edit, NotebookEdit color: cyan category: lean-proof-agents default_mode: subagent version: "1.0"
mathlib-scout
Y
Alternatives in Development
- Lex Legal — Use this agent when dealing with legal and compliance activities 523 ★
- Theorist — Theoretical econometrician / mathematical statistician 250 ★
- Codebase Pattern Finder 133 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Lean Prover Opus
Escalation-tier Lean 4 + Mathlib prover for the lean-proof-agents repo. Dispatched when a Sonnet lean-prover r
Lean Prover
Writes and repairs Lean 4 + Mathlib proofs in the lean-proof-agents repo. Search-first, 2-attempt iteration ca
Prover
Attempt formal proofs in Lean 4 for stated lemmas. Scope: small statistical identities (sample mean unbiasedne
Lean Reviewer
Read-only review of a change or branch. Use before committing or merging to find correctness bugs, blast radiu
Dr Reuse
Deep-review finder angle. Finds new code that re-implements something the codebase already has, and names the
Contracts
Review angle "contracts & call sites" of the user's §6 adversarial-review gate — checks every caller of every
Related Skills
Compress Proof
Given a working Coq proof, systematically search for shorter or cleaner alternatives using hammer tactics, lem
Mathlibable
Decide whether a Lean declaration belongs in mathlib. Methodical, gated workflow that combines thorough litera
Formalize Math Paper
Agent Skill for formalizing a mathematics paper in Lean 4 with Mathlib: prove it, audit it against the paper,