onescience-cli SKILL.md skillA
onescience-cli 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-cli@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-cli/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261030.3665286, committed Oct 30, 2026
- First version recorded
- Jun 5, 2026
- Size
- 14,064 bytes
- Repository stars
- 24
- License
- MIT
在远程 SSH/SLURM 环境中通过 `onescience` 命令执行任意 OneScience 子命令。根据命令级别(lightweight/normal/compute)自动选择执行通道。环境初始化由 `onescience-installer` 技能处理,计算节点申请与作业提交由 `onescience-runtime` 技能处理。本技能只负责 `onescience` 命令的调度与执行。.
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 CLI 技能
**本技能根目录:** 与当前 `SKILL.md` 同目录。资产路径均按本技能根目录解析,不按当前工作目录猜测。
需要环境检测与远程连接细则时,读取 `./references/cli_rules.md`。
需要可渲染命令模板时,读取 `./references/cli_flow.md`。
## 1. 职责与边界
本技能是在远端环境执行任意 `onescience` 命令的统一入口。`onescience` 命令需预先安装,本技能不检查或安装 `onescience` 工具。本技能不限制子命令范围,任何 `onescience` 支持的子命令均可透传执行。
**负责:**
- 执行 `discover -> precheck(先检查计算节点 → 再检查环境)-> execute` 运行闭环
- 根据命令级别(lightweight/normal/compute)自动选择执行通道
- 轻量命令(help/list/info/config)走快速通道,跳过环境探测与检查
- 消费 `execution_mode`、`access_mode`、`execution_channel`、`hardware_profile`
- 连接远端环境(参照 `onescience-installer` 的主机发现与连接方式)
- 环境检查:确认当前 shell 在计算节点上、环境已加载
- 调用 `onescience` 命令执行用户请求的子命令
- 返回执行结果与状态
**不负责:**
- 安装或修复 OneScience 完整环境(由 `onescience-installer` 负责)
- 安装或修复 `onescience` 工具
- 计算节点申请与 SLURM 作业提交(由 `onescience-runtime` 负责)
- 修改远端代码、配置或依赖
…Read the whole file at its exact version.
How to install
mdr add onescience-ai/oneskills/onescience-cli@sha256:74474bb49048462cThe 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_uetbwkxzalr2c7tu)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jun 5, 2026 and Oct 30, 2026, about one every 37 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261030.3665286 latest | 2026-10-30 | 3665286 | 14,064 B | A | view · diff |
| git:20260814.1419d1c | 2026-08-14 | 1419d1c | 13,266 B | A | view · diff |
| git:20260728.0404723 | 2026-07-28 | 0404723 | 12,661 B | A | view · diff |
| git:20260708.9ba4099 | 2026-07-08 | 9ba4099 | 11,844 B | A | view · diff |
| git:20260605.a0a2e39 | 2026-06-05 | a0a2e39 | 11,829 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 (14064 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_uetbwkxzalr2c7tu GET https://markdownregistry.com/api/v1/resolve?ref=onescience-ai/oneskills/onescience-cli GET https://markdownregistry.com/api/v1/blob/74474bb49048462c0226e994f165eb2c07b41aab40b2837a5a422b31d3772f51
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.