onescience-primitives

onescience-primitives is a skill for Claude Code from onescience-ai/OneSkills. It costs 99 tokens per session (16,403 once invoked), scanned A, original, MIT.

A resource-search tool for finding reusable OneScience building blocks. It searches a catalogue for the most relevant scientific workflow components and returns their supporting details and usage contracts.

In plain words
What is it for?
Use it to find OneScience primitives related to a request, then resolve their implementation parts, contracts, locations, and companion resources. It does not create an implementation plan, edit code, or run scripts.
Why use it?
It reduces the need to search through resource files manually or choose components without checking their intended scope. It also enforces a controlled process for retrieving those resources.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the oneskills plugin — 26 skills shipped together

Good fit Use it to find OneScience primitives related to a request, then resolve their implementation parts, contracts, locations, and companion resources. It does not create an implementation plan, edit code, or run scripts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/onescience-ai/oneskills/onescience-primitives
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add onescience-ai/OneSkills --skill onescience-primitives
Clone the repo
git clone --depth 1 https://github.com/onescience-ai/OneSkills

Made for: Claude Code.

Or install oneskills, the plugin that ships this one along with the rest of its 26 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for onescience-primitives

README.md
[![agentmods](https://agentmods.dev/badge/skills/onescience-ai/oneskills/onescience-primitives/github.svg)](https://agentmods.dev/skills/onescience-ai/oneskills/onescience-primitives)
Your own site
<a href="https://agentmods.dev/skills/onescience-ai/oneskills/onescience-primitives"><img src="https://agentmods.dev/badge/skills/onescience-ai/oneskills/onescience-primitives/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for onescience-primitives

Your own site · 80×15
<a href="https://agentmods.dev/skills/onescience-ai/oneskills/onescience-primitives"><img src="https://agentmods.dev/badge/skills/onescience-ai/oneskills/onescience-primitives.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 16,403 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00099 $0.16403
Opus 5.5 $0.00040 $0.06561
Sonnet 5.5 $0.00020 $0.03281
Haiku 4.5 $0.00010 $0.01640

Measured 1mo ago against content hash 21961af2ade5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

onescience-primitives scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 12 executable files (assets/bio/application/bio_cell_imaging_cytometry_app/script/bio_cell_imaging_tools/cytometry_table_qc.py, assets/bio/application/bio_cell_imaging_cytometry_app/script/bio_cell_imaging_tools/label_mask_measurements.py, assets/bio/application/bio_lab_quality_asm_app/script/bio_lab_quality_tools/convert_to_asm.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/onescience-primitives/SKILL.md · 543 lines

How it starts

The opening of the file, as written. The whole thing — 543 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OneScience Primitives Resource

Primitive Unification Scope

This skill is the unified OneSkills primitive registry. A primitive is any reusable scientific capability that can be recalled, bound into a plan, handed to an executor, or used as planning evidence. Primitives may be first-party OneScience resources or third-party tools, packages, databases, services, datasets, workflow patterns, output formats, validation contracts, and execution templates.

Task-Centric Knowledge Layer: TC 知识对象与传统资源原语同构同址——一律是 assets/<domain>/<category>/<primitive>/ 下的 metadata.json + knowledge.md 文档组,不新增 metadata 字段、不改字段名,因此 catalog_search 逻辑不变。对象类型由 type 区分:

  • Task(type: task,category tasks/):科研能力单元(如 material-property-prediction),含目标、输入输出契约、方法路线、操作序列、验证契约、实体槽
  • Workflow(type: workflow,category workflow/):以 Task 为节点的编排(如 material-screening-workflow)
  • Scenario(type: scenario,category scenario/):需求绑定与验收口径(如 material-candidate-screening)
  • Resource(type: model | tool | dataset | ...,各资源 category):被 Task 引用的资源,含带可运行脚本的资源卡
  • Method / Operation / Validation:不单独建卡,作为 Task 卡 knowledge.md 的章节 + tags 词表边存在

知识图的全部连接关系编码在 tags 里(命名空间前缀 edge: / slot: / atom:),字段契约见 references/tc/card_contract.md。

Third-party tools can be primitives. Record the source through provider / provenance metadata and expose only distilled content through resource_retrieval_result; do not require a permanent bridge skill unless the provider needs its own retrieval backend, credentials, lifecycle, or access policy.

Use onescience-primitive-distiller when a new external scientific agent skill or third-party capability needs to be converted into primitive assets. This skill remains retrieval-only: it returns existing primitive content through the resource contract and does not perform distillation, migration, file creation, or script promotion itself.

When an application or workflow primitive depends on a specific primitive such as bio.tools.scanpy, expose that relationship through primitive_dependencies in the consumer metadata and mention the primitive_id in the consumer spec or workflow notes.

Read the full file on GitHub · 543 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 lines 21961af2ade5
  2. 1mo ago Changed · +184 lines · +20 tokens per session 1a3403f01886
  3. 1mo ago Changed · +4 lines 5e4588ffeb01
  4. 1mo ago Changed · +22 lines c866d59a57f4
  5. 1mo ago Changed · +24 lines 9402b834e177
  6. 1mo ago Changed · -11 lines a3eb389b6204
  7. 1mo ago First seen · 318 lines · 79 tokens per session scan A 372766492f20

Subscribe to this mod's changes

onescience-primitives is a skill published in the GitHub repository onescience-ai/OneSkills (23 stars, last pushed today), licensed MIT. It adds 99 tokens to every session and 16,403 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

paper-select-journal

A workflow for choosing suitable SCI journals for a scientific manuscript. It reviews the paper, filters possible journals using impact-factor data, and checks journal scope and recent publications.

huangwb8/ChineseResearchLaTeX · 194 tokens

research-literature-radar

A research workflow for finding, judging, classifying, tracking, and archiving important research papers. It treats bioRxiv and similar sources as places where researchers share papers, and combines database searches with other discovery signals.

huangwb8/ChineseResearchLaTeX · 96 tokens

nsfc-budget

A tool that creates an editable LaTeX budget justification and renders it as a PDF for an NSFC research-funding application. NSFC is China’s National Natural Science Foundation, and a budget justification explains why proposed costs are needed.

huangwb8/ChineseResearchLaTeX · 138 tokens

paper-search

Search, download, and read academic papers from 20+ sources (arXiv, PubMed, Semantic Scholar, CrossRef, etc). Use when the user asks to find papers, search for research, look up academic literature, download a paper PDF, or extract text from a paper.

openags/paper-search-mcp · 62 tokens

bio-ortholog-inference

Pull pre-computed ortholog calls from public databases (OrthoDB, Ensembl Compara, OMA browser, eggNOG, PANTHER, KEGG Orthology, HomoloGene) via their REST APIs. Use when orthologs are already curated upstream, when the question is "what is the X ortholog of Y" rather than "how to infer orthology de novo", when…

PKU-YuanGroup/OpenAI4S · 141 tokens

bioprobench

Score an LLM's biological-protocol reasoning on the BioProBench benchmark: protocol QA, step ordering, error detection, protocol generation, and LLM-judged error reasoning; or generate the responses.

PKU-YuanGroup/OpenAI4S · 46 tokens