← Back to Skills Marketplace
bennyzhe

openmath-lean-theorem

by shentu-org · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ Security Clean
217
Downloads
0
Stars
1
Active Installs
3
Versions
Install in OpenClaw
/install openmath-lean-theorem
Description
Configures Lean environments, installs external proof skills, runs preflight checks, and guides the workflow for proving downloaded OpenMath Lean theorems lo...
Usage Guidance
This skill appears to do what it says: check your Lean workspace, verify toolchains, and (optionally) install missing proof skills. Before using auto-install: (1) prefer the manual 'npx leanprover-skills install ...' approach; (2) if you do use --auto-install-skills, always pass an explicit --install-dir (or set OPENMATH_LEAN_SKILL_INSTALL_DIR) and review the upstream repo (default: https://github.com/leanprover/skills.git); (3) be aware the script will probe common agent/skills directories under your home directory to detect installed skills; and (4) do not set OPENMATH_LEAN_SKILL_REPO_URL to an untrusted location unless you want to clone from it.
Capability Analysis
Type: OpenClaw Skill Name: openmath-lean-theorem Version: 1.0.3 The skill bundle provides a legitimate environment for proving Lean theorems, including a preflight script (scripts/check_theorem_env.py) that validates toolchains and manages dependencies. While the script includes a capability to clone a remote repository (https://github.com/leanprover/skills.git) and install additional skills, this behavior is explicitly documented in SKILL.md as a side effect, requires opt-in flags (--auto-install-skills), and enforces the use of an explicit installation directory to prevent unauthorized modifications. The code uses safe subprocess handling, includes safety checks for directory creation, and lacks any indicators of data exfiltration, persistence, or malicious intent.
Capability Assessment
Purpose & Capability
The skill name/description (configure Lean, run preflight, install proof skills) matches the provided assets: a SKILL.md describing preflight/install steps and a preflight Python script that detects toolchains, checks for required skills, optionally clones the official leanprover/skills repo, and runs build checks. Required binaries and actions (lean, lake, elan, python3, git for auto-install) are appropriate to the stated purpose.
Instruction Scope
Runtime instructions tell the agent to run a local preflight script which: inspects the workspace (files like lean-toolchain, lakefile.lean, theorem.json), searches common skill directories under the user's home and repo, optionally performs a lake build, and — only when --auto-install-skills plus an explicit install dir (or OPENMATH_LEAN_SKILL_INSTALL_DIR) are provided — clone the configured skill repo and copy missing skill directories into the chosen install dir. These steps are within scope for preparing a Lean proving environment, but they do touch the user's home-directory skill paths and will perform network cloning if the explicit auto-install path is used.
Install Mechanism
This is an instruction-only skill with an included Python script; there is no package install spec. The script may run 'git clone' of the DEFAULT_LEAN_SKILL_REPO_URL (default: https://github.com/leanprover/skills.git) into a temporary directory and copy selected skill subdirectories into an explicit install dir. Cloning a well-known GitHub repo is reasonable here, but the repo URL can be overridden via env var, so users should review the upstream repository before allowing auto-install.
Credentials
The registry shows no required env vars, but the SKILL.md and script use/recognize optional environment variables (OPENMATH_SKILL_DIRS, OPENMATH_LEAN_SKILL_INSTALL_DIR, OPENMATH_LEAN_SKILL_REPO_URL). Those are reasonable for customizing search/install locations. The script also enumerates and probes common skill directories under the user's home; this file-system inspection is expected for finding installed skills but is worth noting. No secrets or unrelated credentials are requested.
Persistence & Privilege
The skill is not always-enabled and does not request permanent platform privileges. It only writes files when the user explicitly runs the preflight with --auto-install-skills and supplies an explicit install directory (or sets OPENMATH_LEAN_SKILL_INSTALL_DIR). The script does not modify other skills' configs beyond copying selected skill directories into the user-specified target.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openmath-lean-theorem
  3. After installation, invoke the skill by name or use /openmath-lean-theorem
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.3
Require explicit install dir for Lean preflight auto-install
v1.0.2
Require explicit install dir for Lean preflight auto-install
v1.0.0
Initial release of OpenMath Lean Theorem skill. - Guides setup of Lean and associated toolchains for proving OpenMath theorems. - Provides step-by-step workflow checklist, including environment verification, external skill installation, preflight checks, proof submission, and build verification. - Supports LEAN4 benchmarking: setup, solve, check, validate, and analyze results with scoping options. - Documents required and optional external Lean proof skills, along with links and installation steps. - Includes references for detailed preflight, proof playbook, and benchmarking agent guides.
Metadata
Slug openmath-lean-theorem
Version 1.0.3
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 3
Frequently Asked Questions

What is openmath-lean-theorem?

Configures Lean environments, installs external proof skills, runs preflight checks, and guides the workflow for proving downloaded OpenMath Lean theorems lo... It is an AI Agent Skill for Claude Code / OpenClaw, with 217 downloads so far.

How do I install openmath-lean-theorem?

Run "/install openmath-lean-theorem" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is openmath-lean-theorem free?

Yes, openmath-lean-theorem is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does openmath-lean-theorem support?

openmath-lean-theorem is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created openmath-lean-theorem?

It is built and maintained by shentu-org (@bennyzhe); the current version is v1.0.3.

💬 Comments