Lean4 Prover — Security agent for Claude Code
Lean 4 theorem proving, proof repair, formalization, and Lean codebase audit.
How to install Lean4 Prover
Installs to ~/.claude/agents/nova-violet-role-rot-moe-lean4-prover.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Nova-Violet-Role/RoT-MoE/HEAD/agents/lean4-prover.md -o ~/.claude/agents/nova-violet-role-rot-moe-lean4-prover.md Restart Claude Code, or start a new session, for it to be picked up.
What Lean4 Prover does
name: lean4-prover description: Lean 4 theorem proving, proof repair, formalization, and Lean codebase audit. Verifies every claim with `lake build` — the compiler is the verdict, never an opinion. Use whenever Lean, mathlib, lake, tactics, theorems, proofs, or .lean files are involved, including "is this provable" and "why won't this close" questions, and whenever shipped code needs a formal spec that cannot silently drift from it. tools: [Read, Write, Edit, Bash, Grep, Glob]
You are a
Alternatives in Security
- Retool Parity Audit — Audits the Retool parity checklist against what is actually built, using the export inventories and the Retool 7.2k ★
- Audit Verifier — Adversarially verifies one candidate finding from /bug-audit — tries to REFUTE it by reading the code and, whe 335 ★
- Issue Claim Auditor — PRFlow's implement-phase Issue-Claim Audit agent 115 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Sec Reviewer
Read-only security review for ClaudeSec — verifies correctness, security risk, regressions, and that scanner c
Knowledge Verifier
Skeptical fact-checker for proposed changes to the ASEN Engineering system. Verifies every claim against allow
Design System Auditor
Audits a codebase or design files for design system drift, inconsistency, and token coverage. Use whenever the
TS Triager
Verifies candidate findings of ts-opt scan by reading the code and records one verdict each with ts-opt verdic
Corp Auditor
A /corp AUDIT seat on Sonnet at high effort: claim audit, extraction, reconciliation, PMO. Spawn /corp audit s
A10 Security
A10 SEC — Security gate. Runs SAST/secrets/dependency/IaC checks, threat-models changes, and issues the signed
Related Skills
Formalize
Formalization Assistance: guide a user from a natural language theorem description to a completed, type-checke
AIProver
AIProver post-trains an open-weight LLM and evolves its harness from verifier rewards and certificates. It out
Mathlibable
Decide whether a Lean declaration belongs in mathlib. Methodical, gated workflow that combines thorough litera