
Cameronfreer Lean4 Skills
- 343 repo stars
- Updated July 22, 2026
- cameronfreer/lean4-skills
cameronfreer-lean4-skills is a Claude Code plugin that adds Lean 4 formalization, LSP-first proving, and agent workflows for auto-prove, refactor, and review.
About
cameronfreer-lean4-skills is a Claude Code plugin bundle that equips AI coding agents with Lean 4 theorem-proving skills and structured workflows. It targets developers and researchers who treat formal verification as part of the product—protocol specs, critical algorithms, or math-heavy libraries—rather than as a side hobby. The pack emphasizes LSP-first interaction so the agent respects the Lean language server before falling back to heavier autoformalize or autoprove steps, with explicit checkpoints and user confirmation on drafts. Commands cover formalizing informal statements, attempting proofs, refactoring lemmas, generating doctor-style diagnostics, and packaging snippets for GitHub issues or collaboration. With two plugins and a unified keyword surface across prove, review, scripts, and learn flows, it is an advanced agent-tooling layer for Lean 4, not a replacement for reading Mathlib docs or designing proof architecture yourself.
- Two-plugin Lean 4 pack: unified formalize, prove, refactor, and review commands for agents
- LSP-first workflow with fallback paths before heavy automation
- Autoformalize and autoprove flows with checkpoint and draft confirmation gates
- Lean4 doctor and insight reports to diagnose broken proofs before you submit
- GitHub-oriented snippets for issues, share, and contribute requests around proof work
Cameronfreer Lean4 Skills by the numbers
- Data as of Jul 27, 2026 (Skillselion catalog sync)
/plugin install cameronfreer-lean4-skills@cameronfreer/lean4-skillsAdd your badge
Show developers this plugin is listed on Skillselion. Paste this into your README.
| repo stars | ★ 343 |
|---|---|
| Last updated | July 22, 2026 |
| Repository | cameronfreer/lean4-skills ↗ |
What it does
Install this pack when you want Claude Code to formalize math claims in Lean 4, run LSP-first proof workflows, and auto-prove or refactor theorems with checkpointed scripts.
Who is it for?
Best when you're shipping verified Lean 4 libraries, coursework formalizations, or agent-assisted proof maintenance.
Skip if: Casual app developers with no Lean toolchain or projects with zero formal verification requirements.
What you get
After install, Claude Code can run gated Lean 4 workflows—formalize, prove with LSP feedback, checkpoint, and report—before you merge sensitive formal code.
- Formalized Lean 4 statements and proof scripts with checkpoint history
- Diagnostic or doctor reports summarizing proof blockers
- Review-ready snippets or issue text for GitHub collaboration
By the numbers
- Bundle contains 2 plugins
- Lean 4-focused skill and workflow pack for AI coding agents
- Source repository: cameronfreer/lean4-skills
Recommended Plugins
How it compares
Lean 4 agent workflow pack with two plugins, not a generic linter or single-shot Copilot snippet.
FAQ
Who is Cameronfreer Lean4 Skills for?
Developers and researchers who already use or plan to use Lean 4 and want Claude Code to follow structured prove, formalize, and review rituals.
When should I use Cameronfreer Lean4 Skills?
Use it during Build when drafting or repairing Lean 4 proofs, autoformalizing statements, or preparing GitHub-ready proof artifacts.
How do I add Cameronfreer Lean4 Skills to my agent?
Install the cameronfreer/lean4-skills plugin marketplace entry in Claude Code, ensure Lean 4 and LSP are on your machine, then invoke the pack’s prove or doctor commands in session.