lean4-skills
01Plugin Claude Code
Plugin marketplace listing 2 plugins: lean4, lean4-contribute.
Plugin Claude Code
Plugin marketplace listing 2 plugins: lean4, lean4-contribute.
Plugin Claude Code
Draft and submit bug reports, feature requests, and insights for lean4-skills as GitHub issues. Commands may share Lean code snippets with GitHub — review every draft before confirming.
Command
Draft a bug report issue for lean4-skills.
Command
Draft a feature request issue for lean4-skills.
Command
Draft a shareable insight from your session as a GitHub issue.
Plugin Claude Code
Unified Lean 4 plugin (draft, formalize, autoformalize, prove, autoprove, disprove, checkpoint, review, refactor, golf, learn, diagnose) — LSP-first, scripts fallback.
Agent
Remove nonconstructive axioms by refactoring proofs to structure (kernels, measurability, etc.). Use after checking axiom hygiene to systematically eliminate custom axioms.
Agent
Golf Lean 4 proofs after they compile; improve proofs for directness, clarity, performance, and brevity without changing semantics. Use after successful compilation to achieve 30-40% size reduction.
Agent
Compiler-guided iterative proof repair with two-stage repair escalation (fast → strong). Use for error-driven proof fixing with small sampling budgets (K=1).
Agent
Strategic resolution of stubborn sorries; may refactor across files within the header fence. Use when fast pass fails or for complex proofs.
Command
Autonomous end-to-end formalization from informal sources.
Command
Autonomous multi-cycle theorem proving with explicit stop budgets.
Command
Save progress with a safe commit checkpoint.
Command
Diagnostics, cleanup, and migration help.
Command
Guided counterexample search with certified refutation.
Command
Draft Lean declaration skeletons from informal claims.
Command
Interactive formalization — drafting plus guided proving.
Command
Improve Lean proofs for directness, clarity, performance, and brevity.
Command
Interactive teaching and mathlib exploration.
Command
Guided cycle-by-cycle theorem proving with explicit checkpoints.
Command
Leverage mathlib, extract helpers, simplify proof strategies.
Command
Read-only code review of Lean proofs.
Hook
Runs when a session starts on startup, executing bootstrap.sh. From cameronfreer/lean4-skills.
Hook
Runs when you submit a prompt, before the agent sees it, executing validate_user_prompt.py. From cameronfreer/lean4-skills.