onescience-modelscope-publish SKILL.md skillA
onescience-modelscope-publish 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-modelscope-publish@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-modelscope-publish/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261030.3665286, committed Oct 30, 2026
- First version recorded
- Jul 24, 2026
- Size
- 18,760 bytes
- Repository stars
- 24
- License
- MIT
OneScience ModelScope 模型发布技能。将论文复现模型产物重组为 ModelScope 标准目录结构,检查核心目录内容完整性,生成平台必需的配置模板和审计工具,并输出 modelscope upload 命令引导用户推送到魔搭平台。作为 onescience-orchestrator 的执行技能使用。.
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 ModelScope 模型发布
## 职责边界
本技能负责将论文复现后的模型产物按 ModelScope(魔搭)仓库规范重组为标准目录结构,引导用户推送模型。**不执行 `modelscope upload` 命令本身**。
- 作为执行技能:由 `onescience-orchestrator` 调用,接收标准化输入,返回标准化输出。
- 核心职责:产物扫描归类、目标目录创建、文件复制组织、空目录检查、平台模板生成、上传命令输出。
- 不负责:模型训练、推理验证、ModelScope 账号认证、token 管理、手动分类纠错后的重新打包。
## 输入输出接口
### 输入(从 onescience-orchestrator 接收)
```yaml
pack_handoff:
source_dir: <论文复现产物根目录(绝对路径)>
model_name: <ModelScope 上的模型名称,如 "MARIO">
target_dir: <目标输出目录,可选,默认为当前工作目录>
modelscope_org: <ModelScope 组织名,可选,默认为 "OneScience">
```
### 输出(返回给 onescience-orchestrator)
```yaml
execution_result:
skill: onescience-modelscope-publish
status: <success | partial | failed>
artifacts:
target_dir: <目标目录绝对路径>
directories_created: [model, weight, scripts, conf]
files_copied_count: <归类复制的文件总数>
…Read the whole file at its exact version.
How to install
mdr add onescience-ai/oneskills/onescience-modelscope-publish@sha256:1e0e98b4c6479b77The 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_aejq6ceqkhtz6ces)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jul 24, 2026 and Oct 30, 2026, about one every 49 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261030.3665286 latest | 2026-10-30 | 3665286 | 18,760 B | A | view · diff |
| git:20260814.1419d1c | 2026-08-14 | 1419d1c | 18,021 B | A | view · diff |
| git:20260724.3b67ed8 | 2026-07-24 | 3b67ed8 | 17,390 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 (18760 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_aejq6ceqkhtz6ces GET https://markdownregistry.com/api/v1/resolve?ref=onescience-ai/oneskills/onescience-modelscope-publish GET https://markdownregistry.com/api/v1/blob/1e0e98b4c6479b77d0a30a465176742e7ae912013625dd996172f42afe8cc359
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.