← Back to Skills Marketplace
bennyzhe

openmath-submit-theorem

by shentu-org · GitHub ↗ · v1.0.7 · MIT-0
cross-platform ⚠ pending
252
Downloads
0
Stars
1
Active Installs
8
Versions
Install in OpenClaw
/install openmath-submit-theorem
Description
Submits proofs to the OpenMath platform using a two-stage commit-reveal flow. Use when the user wants to commit a proof hash or reveal a Lean/Rocq proof on t...
Usage Guidance
What to check before installing/using this skill: - Review the included scripts locally (they are plain Python and readable). They call the local shentud CLI and use subprocess to run it; the scripts do not download remote code or auto-install binaries. - Verify the shentud binary you use: follow the official Shentu releases page and install a vetted binary to $HOME/bin/shentud or set OPENMATH_SHENTUD_BIN to an absolute path you trust. Do not point this to a binary from an untrusted source. - Understand key access: the skill relies on shentud --keyring-backend os to read/use local keys. That means the CLI (not these scripts) will access keys in your OS keyring when you run signing commands. Do not run these scripts on a machine where private keys are exposed or where you don't want the agent to be able to invoke shentud commands. - Config file safety: openmath-env.json contains addresses and config. Keep it in a location you control (project or user path). If you set OPENMATH_ENV_CONFIG to point to a file, ensure it is a file you trust — the skill treats that as authoritative and will stop on missing/invalid files. - Operational caution: the skill prints and generates shentud txs and may run shentud queries. It enforces a 'first-run gate' and does not auto-broadcast inner txs in authz mode (it generates JSON and prints the shentud tx authz exec command). Still, be careful when broadcasting transactions and ensure the prover/fee-granter addresses and amounts are correct. - If you allow the agent autonomous invocation, know that it could run the readiness checks and any shentud commands permitted by your local keyring and authz grants. That is expected for an agent that can perform submissions, but review and limit autonomous permissions if you are concerned. If you want an extra safety step: run the scripts manually in a sandboxed or test environment first (no real keys, or use a testnet key) to observe behavior before using production keys or balances.
Capability Assessment
Purpose & Capability
The name/description match the actual behavior: the package provides scripts to calculate a proof hash, check authz/feegrant readiness, generate shentud tx JSON/commands, and query status. Required tools (python3, shentud) and local keyring access are expected for on-chain submission and are proportionate to the stated purpose.
Instruction Scope
SKILL.md and the scripts restrict actions to reading shared openmath-env.json, invoking shentud (queries and generate-only inner txs), calculating hashes from local proof files, and querying the Shentu RPC. The docs explicitly require explicit user approval before writing configs or creating/recovering keys; the scripts enforce a 'first-run gate' (check_authz_setup.py) and do not auto-create keys or auto-install binaries in normal flow.
Install Mechanism
There is no install spec and no network download of arbitrary code; the skill is delivered as scripts and docs. That lowers install risk compared to arbitrary installers or remote downloads.
Credentials
The skill does not request unrelated credentials. It uses the local OS keyring (via shentud --keyring-backend os) and optional environment overrides (OPENMATH_ENV_CONFIG, OPENMATH_SHENTUD_BIN, SHENTU_NODE_URL, etc.) which are reasonable for configuring which local binary and config file to use. Access to the local keyring is necessary for signing/authz flows but should be considered sensitive and is handled via the shentud CLI rather than by the scripts directly.
Persistence & Privilege
The skill does not request always:true, does not attempt to persist itself or change other skills' configs, and documents that installations and key creation are manual user steps. It runs as user-invocable and does not declare elevated or persistent privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openmath-submit-theorem
  3. After installation, invoke the skill by name or use /openmath-submit-theorem
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.7
Tighten submit theorem setup guidance
v1.0.6
add shentud detection
v1.0.5
Declare OPENMATH_SHENTUD_BIN for submit theorem skill
v1.0.4
Declare OPENMATH_SHENTUD_BIN for submit theorem skill
v1.0.3
Clarify submit theorem requirements and deprecate legacy checker
v1.0.2
submit the proven theorems on openmath
v1.0.1
Version 1.0.1 - Documentation and instructions updated for clarity in SKILL.md. - Improved reference to config discovery and authz/feegrant behaviors. - No changes to submission flow or script commands. - No breaking changes; backwards compatible with v1.0.0.
v1.0.0
Initial release of openmath-submit-theorem v1.0.0: - Enables two-stage proof submission (commit/reveal) to OpenMath on the Shentu network. - Enforces a mandatory first-run gate: requires a valid `openmath-env.json` config and readiness check before any submission. - Provides a step-by-step CLI workflow with included scripts for proof generation, broadcasting, and status queries. - Authz + feegrant mode is default for secure submission; supports direct signing as fallback. - Includes references and guidance for environment setup, config structure, and advanced submission steps. - Built-in safety: scripts refuse to proceed until all identity/authz fields are correctly set and validated.
Metadata
Slug openmath-submit-theorem
Version 1.0.7
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 8
Frequently Asked Questions

What is openmath-submit-theorem?

Submits proofs to the OpenMath platform using a two-stage commit-reveal flow. Use when the user wants to commit a proof hash or reveal a Lean/Rocq proof on t... It is an AI Agent Skill for Claude Code / OpenClaw, with 252 downloads so far.

How do I install openmath-submit-theorem?

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

Is openmath-submit-theorem free?

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

Which platforms does openmath-submit-theorem support?

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

Who created openmath-submit-theorem?

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

💬 Comments