onescience-infer SKILL.md skillA
onescience-infer from onescience-ai/oneskills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add onescience-ai/oneskills/onescience-infer@git:20261030.3665286Pins git:20261030.3665286 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- onescience-ai/oneskills
- Path
skills/onescience-infer/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261030.3665286, committed Oct 30, 2026
- First version recorded
- Jul 14, 2026
- Size
- 14,351 bytes
- Repository stars
- 24
- License
- MIT
OneScience 科学模型推理执行技能。用于用户希望运行或构建 HuggingFace 模型、官方文档模型、本地 checkpoint 或项目原生 runner 的推理工作流时,覆盖气象/地球系统、生信、材料、流体和通用科研模型等领域,包括模型卡与配置发现、输入数据准备、checkpoint 加载、推理入口生成或复用、执行、结果验证、可视化和 baseline 对比。接收格式与 onescience-orchestrator 调用执行技能时的 step_handoff 保持一致,返回 execution_result。需要时协调交接给 onescience-coder、onescience-runtime 以及数据准备类技能。.
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
## 输入获取方式
本技能支持两种输入方式:
1. **上下文 handoff**(默认):从调用方传入的 `step_handoff` 获取任务信息。
2. **文件 handoff**(autonomous_mode):从 `.onescience/handoff/step_{step_id}.yaml`
读取任务信息。执行后,将结果写入 `.onescience/handoff/step_{step_id}_result.yaml`。
启动时优先检查 `.onescience/handoff/` 目录是否存在对应的交接文件;若存在则使用文件模式,否则使用上下文模式。
文件交接格式参见 `skills/onescience-orchestrator/references/file_handoff_contract.md`。
# OneScience Infer
## 职责
将本技能作为科学模型推理任务的执行工作流。把 orchestrator 交给本技能的当前步骤,例如“为 HuggingFace checkpoint 生成推理入口”“使用本地 checkpoint 跑一次材料性质预测”“准备生信模型输入并执行推理”“验证流体仿真 surrogate 输出”,转化为从模型知识获取到结果验证的可追踪闭环。
本技能只消费当前执行步骤,不重新规划完整用户目标。本技能负责推理工作流契约和阶段顺序;当代码实现、数据构建或运行提交由已有执行技能更适合负责时,应将当前步骤交接给对应技能。依赖包、硬件和运行环境需求不单独成阶段,而是在推理执行阶段交给 `onescience-runtime`。
## 工作流
创建或更新工作目录:
**产物路径规则:**
- `repro_artifact_dir`:所有可复现推理产物的根目录,默认 `<work_dir>/repro_artifacts/<run_id>/`。该目录与源码目录(如 `paper_cases/`)强制隔离,不得将推理脚本、输出结果散落在案例源码目录中。
- `repro_artifact_dir/code/`:生成的推理启动器脚本、runner 等代码产物(默认 = `code_save_dir`)
- `repro_artifact_dir/outputs/`:推理输出结果(mmCIF、confidence JSON、ranking CSV 等)
- `repro_artifact_dir/logs/`:运行日志
- `repro_artifact_dir/.infer_work/`:中间知识产物(= `infer_workdir`)
…Read the whole file at its exact version.
How to install
mdr add onescience-ai/oneskills/onescience-infer@sha256:ecf469f5185d11e9The line at the top of this page pins the label git:20261030.3665286, 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_5quowcaundfwj4ux)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Jul 14, 2026 and Oct 30, 2026, about one every 22 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261030.3665286 latest | 2026-10-30 | 3665286 | 14,351 B | A | view · diff |
| git:20260814.1419d1c | 2026-08-14 | 1419d1c | 11,398 B | A | view · diff |
| git:20260728.f9c9d02 | 2026-07-28 | f9c9d02 | 10,793 B | A | view · diff |
| git:20260728.0404723 | 2026-07-28 | 0404723 | 10,517 B | A | view · diff |
| git:20260725.0af4234 | 2026-07-25 | 0af4234 | 8,890 B | A | view · diff |
| git:20260714.dc6bcb9 | 2026-07-14 | dc6bcb9 | 7,596 B | A | view |
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 (14351 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
onescience-ai/oneskills · 24 stars · license MIT · pushed 2026-11-04 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_5quowcaundfwj4ux GET https://markdownregistry.com/api/v1/resolve?ref=onescience-ai/oneskills/onescience-infer GET https://markdownregistry.com/api/v1/blob/ecf469f5185d11e9ef36840af59f242120beea3ded7a4eb00cf1eefafc44a92f
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.