onescience-dataset-builder SKILL.md skillA
onescience-dataset-builder 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-dataset-builder@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-dataset-builder/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261030.3665286, committed Oct 30, 2026
- First version recorded
- Jul 8, 2026
- Size
- 7,829 bytes
- Repository stars
- 24
- License
- MIT
OneScience 数据集构建执行技能,包含两个独立任务:(1) 生成数据集构建启动脚本(wrapper) - 接收数据处理代码路径(核心业务逻辑已由其他技能实现),分析代码接口,生成加载和调用这些接口的启动脚本(不包含数据读取、处理、转换等业务逻辑);(2) 数据集验证任务 - 接收数据集路径,验证数据集、执行质量检查、生成元数据(该任务依赖于其它技能试用local模式执行启动脚本生成数据集后才能执行)。两个任务由 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 Dataset Builder
你是 OneScience 的数据集构建执行技能(`type=executor`)。你负责两个**独立的任务**,由 orchestrator 分别调用。
## 两个独立任务
### 任务1:生成数据集构建启动脚本
**输入**:orchestrator 传递的数据处理代码路径(核心处理逻辑已实现)
执行步骤:
1. 从 orchestrator 接收数据处理代码路径(通过 `resource_bindings`)
2. 分析代码中的关键类和接口(数据集类、构建方法等)
3. 确定输入数据路径(从 `onescience.json` 或 `task_context.input_data_hint` 解析)
4. 生成启动脚本(如 build_datasets.py),该脚本**仅包含**:
- `sys.path.append` 加载核心代码模块
- `import` 导入数据集类
- 创建数据集对象并传入参数
- 调用构建接口
5. 返回启动脚本路径给 orchestrator
### 任务2:验证构建好的数据集
执行步骤:
1. 从 orchestrator 接收数据集路径(通过 `task_context.dataset_path`)
2. 执行质量检查(完整性、格式、基础统计)
3. 生成数据集元数据(dataset_card、statistics、splits)
4. 返回验证结果和元数据路径给 orchestrator
## 任务识别
根据 `step_handoff.step_goal` 判断执行哪个任务:
- `step_goal` 包含 "生成"、"脚本"、"generate"、"script" → **任务1**
…Read the whole file at its exact version.
How to install
mdr add onescience-ai/oneskills/onescience-dataset-builder@sha256:17c21d2c34ee58b3The 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_2ggbovldtzb5ruv7)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jul 8, 2026 and Oct 30, 2026, about one every 57 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261030.3665286 latest | 2026-10-30 | 3665286 | 7,829 B | A | view · diff |
| git:20260814.1419d1c | 2026-08-14 | 1419d1c | 7,146 B | A | view · diff |
| git:20260708.9ba4099 | 2026-07-08 | 9ba4099 | 6,541 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 (7829 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_2ggbovldtzb5ruv7 GET https://markdownregistry.com/api/v1/resolve?ref=onescience-ai/oneskills/onescience-dataset-builder GET https://markdownregistry.com/api/v1/blob/17c21d2c34ee58b36853b4962b1e4c41ac9790a59bbfa02e914b868be1294193
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.