lean-physics SKILL.md skillA
lean-physics from xi-zhao/openquantum is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add xi-zhao/openquantum/lean-physics@git:20261028.63a9d5aPins git:20261028.63a9d5a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- xi-zhao/openquantum
- Path
.agents/skills/lean-physics/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261028.63a9d5a, committed Oct 28, 2026
- Size
- 5,302 bytes
- Repository stars
- 71
- License
- MIT
用 Lean 4、mathlib 与 physlib 形式化数学或物理命题、复用定理并检查证明与依赖公理;适用于量子信息、Pauli 矩阵与物理推导的形式化审计。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Lean 数学与物理证明 <!-- BEGIN NATIVE SDK ACCESS --> ## 原生 SDK 路径 本能力使用 **Lean 4 / mathlib / physlib 的原生公开 API**。用户需要 数学与物理命题、Pauli 矩阵关系、量子信息定理与依赖公理审计 时,由 Agent 在固定依赖环境中编写和运行任务代码。 使用 `node scripts/sdk-access.mjs inspect lean-physics` 定位环境,按[完整 SDK 工作流](../quantum-sdk-workbench/references/workflow.md)执行。模块导航:`Mathlib`、`Physlib`、`QuantumInfo`;导航不是 API 白名单。 固定兼容的 Lean 4.35.0 与 Lake 依赖锁;显式准备导入闭包。形式证明仅覆盖给定定义和假设,不代表真实物理或科学验收。 本入口复用宿主文件与代码工具,没有新增通用执行 Tool。原生 SDK 受上游版本、可选依赖、宿主资源与用户授权约束。已禁用或被拒绝的动作不能借代码路径绕过。执行状态和科研验收分别报告。 <!-- END NATIVE SDK ACCESS --> ## 选择与边界 当用户要检查形式推导、定义中的假设或复用已有定理时使用。本 Skill 复用宿主文件与代码工具, 没有专用证明 Tool 或 MCP Server。数值模拟继续使用对应量子 SDK;Lean 接受证明项不表示 形式定义符合真实物理系统,也不验证数值实现、硬件或科研结论。科学状态保持 `not_evaluated`。 ## 固定环境与准备 使用 `node scripts/sdk-access.mjs inspect lean-physics` 只读定位环境。Lean/Lake 为 **4.35.0**, mathlib 为 `56a005855ea17e0b0958f73ec801ae140b0a1679`,physlib 为 `6fd50cbcfafb503e4b96435e49bedb0e220f09e2`,间接依赖见 [Lake 锁](lake-manifest.json)。 三者作为兼容组升级;不能单独改工具链或取另一个提交的缓存。 显式准备前指定 `OPENQUANTUM_LEAN_BIN` 为该版本实际 Lean 可执行文件的绝对路径, `OPENQUANTUM_LEAN_ENV_ROOT` 为本任务环境目录;需要工具链时从官方 release 获取并核对摘要。 不修改全局 elan、编辑器或已有用户 Lean 项目。遵守宿主安装授权、资源预算与外置盘规则。 …
Read the whole file at its exact version.
How to install
mdr add xi-zhao/openquantum/lean-physics@sha256:6928f2fb25ed8b2cThe line at the top of this page pins the label git:20261028.63a9d5a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_sbd6dqa5ftbauxr5)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 28, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5302 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
xi-zhao/openquantum · 71 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_sbd6dqa5ftbauxr5 GET https://markdownregistry.com/api/v1/resolve?ref=xi-zhao/openquantum/lean-physics GET https://markdownregistry.com/api/v1/blob/6928f2fb25ed8b2c0cfb703a537ddf991740861935069f50fb24b7a0c30c45a4
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.