A specialized technical skill for configuring Lean environments and executing formal mathematical proof workflows within AI agent ecosystems.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install openmath-lean-theorem
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install openmath-lean-theorem using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The OpenMath Lean Theorem skill is a robust configuration and workflow orchestrator designed for developers and mathematicians working with Lean 4. It provides the necessary plumbing to bridge OpenMath theorem downloads with local formal verification, ensuring that the toolchain, including lean, lake, and elan, is perfectly synchronized with the workspace requirements.
By leveraging this entry in the Openclaw Skills library, users can automate the tedious aspects of environment validation and external dependency management. It serves as the functional bridge between raw theorem data and a verified, buildable Lean project, allowing AI agents to operate within a stable and predictable proving loop.
Ensure all system requirements are met before initializing the skill. You can manually install the required proof dependencies or use the preflight script for automated setup.
# Manual installation of required Openclaw Skills
npx leanprover-skills install lean-proof
npx leanprover-skills install mathlib-build
# Run the preflight check to validate your environment
python3 scripts/check_theorem_env.py <workspace_path>
# Optional: Auto-install missing skills into a specific directory
python3 scripts/check_theorem_env.py <workspace_path> --auto-install-skills --install-dir .codex/skills
The skill manages environment metadata and local workspace configurations through a structured hierarchy:
| Component | Description | Metadata/Taxonomy |
|---|---|---|
lean-toolchain |
Version Pinning | Ensures consistency with leanprover/lean4:v4.28.0. |
scripts/ |
Tooling | Contains check_theorem_env.py for environment state validation. |
.codex/skills |
Dependency Storage | Default or custom directory for external Lean proof skills. |
references/ |
Knowledge Base | Markdown guides for preflight and proof playbooks. |
Loading
A high-performance research agent that automates bilingual web searches and synthesizes complex information into cited, structured reports.

A high-end design engineering skill that generates production-ready frontend code with a focus on bold, non-generic aesthetics.

A professional-grade A-Share data retrieval tool powered by BaoStock for fetching K-line data and comprehensive technical indicators.

A local, zero-dependency reference tool providing instant access to devtools documentation, implementation patterns, and best practices.

A zero-dependency reference tool providing instant access to Shell AI concepts, implementation patterns, and best practices.

A local, zero-dependency reference tool providing instant access to HTTP Client best practices, patterns, and debugging guides.








































