← 返回 Skills 市场
openmath-submit-theorem
作者
shentu-org
· GitHub ↗
· v1.0.7
· MIT-0
252
总下载
0
收藏
1
当前安装
8
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openmath-submit-theorem - 安装完成后,直接呼叫该 Skill 的名称或使用
/openmath-submit-theorem触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 252 次。
如何安装 openmath-submit-theorem?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openmath-submit-theorem」即可一键安装,无需额外配置。
openmath-submit-theorem 是免费的吗?
是的,openmath-submit-theorem 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
openmath-submit-theorem 支持哪些平台?
openmath-submit-theorem 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 openmath-submit-theorem?
由 shentu-org(@bennyzhe)开发并维护,当前版本 v1.0.7。
推荐 Skills