onescience-installer

onescience-installer is a skill for Claude Code, Codex from onescience-ai/OneSkills. It costs 98 tokens per session (2,897 once invoked), scanned A, original, MIT.

An installer and checker for OneScience environments and related scientific software. It reads an onescience.json file and can work with local or remote execution sites.

In plain words
What is it for?
It helps create or reuse conda environments, install Python packages and OneScience components, install software such as GROMACS or LAMMPS, and verify the resulting setup.
Why use it?
It handles environment discovery, configuration checks, package installation, and validation in one documented flow, including missing remote SSH or run-site details.

Skill for Claude CodeCodex

Part of the oneskills plugin — 18 skills shipped together

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.

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

Made for: Claude Code, Codex.

Or install oneskills, the plugin that ships this one along with the rest of its 18 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-installer

README.md
[![agentmods](https://agentmods.dev/badge/skills/onescience-ai/oneskills/onescience-installer.svg)](https://agentmods.dev/skills/onescience-ai/oneskills/onescience-installer)
Your own site
<a href="https://agentmods.dev/skills/onescience-ai/oneskills/onescience-installer"><img src="https://agentmods.dev/badge/skills/onescience-ai/oneskills/onescience-installer.svg" alt="Measured on agentmods" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,897 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00098 $0.02897
Opus 5 $0.00049 $0.01448
Sonnet 5 $0.00020 $0.00579
Haiku 4.5 $0.00010 $0.00290

Measured 4d ago against content hash 86ded9c03634, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

onescience-installer 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 4d ago.

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-installer/SKILL.md · 107 lines

How it starts

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

输入获取方式

本技能支持两种输入方式:

  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 安装器

主流程

  1. 读取根目录 onescience.json
  2. 校验运行站点配置:
    • 必须能从 onescience.json.runtime.execution_profile.run_site 获取 localremote
    • run_site=remote 时,必须能从 onescience.json.runtime.ssh 获取 SSH 信息。
    • 如果缺少 run_site,或 run_site=remote 但 SSH 信息不完整,读取 ./references/runsite-handoff.md,调用 skills/onescience-runsite 补齐配置;只有 runsite 成功写回或更新 onescience.json 后,才能继续安装流程。
  3. 读取 ./references/discover-route.md,识别用户意图、安装领域、Python 包列表、runtime.conda 状态和目标环境路径。
  4. 根据“意图 + 环境路径 + conda 状态”读取对应分支文件,并且只读取命中的分支文件。
  5. 需要渲染探测、下载、安装、验证命令时,读取 ./references/install_flow.md
  6. OneScience 自身是特殊 bootstrap 目标,不属于普通 Python 包:安装 onescienceOneScience 环境earth/cfd/bio/matchem/all 时必须先执行 workspace_bootstrap_profiles.json.wheel.download_wheel_command 下载 wheel,再从已下载 wheel 的 METADATA 探测 Provides-Extra,然后按领域 + 加速卡选择匹配 extra,并通过 pip install "onescience[{resolved_extra}]" -i http://mirrors.onescience.ai:3141/pypi/simple/ --trusted-host mirrors.onescience.ai 安装;不得把下载下来的 wheel 当作安装载体,也不得渲染 pip install onesciencepython -m pip install onescience 或把 onescience 放入 {python_packages}
  7. 检测成功、安装成功且验证成功后,若 install_intentbootstrappython_packages,读取 ./references/writeback-conda-state.md 写回 onescience.json.runtime.conda。若 install_intent=hpc_software,跳过 conda 写回(HPC 软件不依赖 conda 环境)。
  8. 写回成功后,若当前任务带有上游 handoff / resume 信息,则返回调用它的技能继续执行;若没有明确调用方,则交回 onescience-orchestrator 规划后续任务。installer 不得自行推断新的业务 downstream skill;除文档中已明确的 runsite 补齐调用外,后续由谁执行一律由 caller 或 onescience-orchestrator 决定。

必要资产

  • ./assets/backend_profiles.json:环境名、Python 版本、module 顺序、verify 口径。
  • ./assets/workspace_bootstrap_profiles.json:OneScience wheel 来源、extras 探测与安装入口。
  • ./assets/install_domains.jsonearth/cfd/bio/matchem/all 到领域意图的映射。
  • ./assets/hpc_software_profiles.json:HPC 科学计算软件(GROMACS、LAMMPS 等)的定义、下载地址、安装配置与验证命令。
  • ./assets/conda_env.example.json:成功写回格式示例。

Read the full file on GitHub · 107 lines

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. 4d ago First seen · 107 lines · 98 tokens per session scan A 86ded9c03634

Subscribe to this mod's changes

onescience-installer is a skill published in the GitHub repository onescience-ai/OneSkills (18 stars, last pushed 20d ago), licensed MIT. It adds 98 tokens to every session and 2,897 once invoked, about $0.0005 per session on Opus 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

nsfc-budget

当用户明确要求“写/生成 NSFC 预算说明书”“写预算说明”“生成 budget.tex / budget.pdf”“写国自然预算 justification”时使用。基于用户标书正文或补充材料,输出一份可提交的预算说明书 LaTeX 项目并渲染 budget.pdf。若用户未指定工作目录,必须暂停并先要求其指定。⚠️ 不适用:用户只是想了解预算原则;用户仅要预算表数字而不写说明书;或用户是 2026 青年 A/B/C 默认包干制且无需预算说明书的场景。.

huangwb8/ChineseResearchLaTeX · 138 tokens

paper-select-journal

当用户明确要求“推荐投稿期刊”“帮我的论文选 SCI 杂志”“这篇 manuscript 适合投哪些 journal”“期刊匹配/选刊/投稿建议”时必须使用。适用于用户提供全文、摘要、Markdown、LaTeX、PDF、Word 或混合材料的场景;本 skill 会基于 manuscript 与用户偏好,先用内置 2023IF.xlsx 做最小硬过滤生成候选池,再由宿主模型自主规划 Set1/Set2/Set3,并联网核验 scope / 质量 / 近 3 个月 PubMed 论文,最后输出 1 份按推荐度排序的 Markdown 选刊报告。⚠️…

huangwb8/ChineseResearchLaTeX · 194 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

paper-planning

Guides pre-writing planning for academic papers with 4 structured steps: story design (task-challenge-insight-contribution-advantage), experiment planning (comparisons + ablations), figure design (pipeline + teaser), and 4-week timeline management. Includes counterintuitive planning tactics (write a mock rejection…

EvoScientist/EvoSkills · 166 tokens

evo-memory

Manages persistent research memory across ideation and experimentation cycles. Maintains two stores: Ideation Memory MI (feasible/unsuccessful directions) and Experimentation Memory ME (reusable strategies for data processing, model training, architecture, debugging). Three evolution mechanisms: IDE (after…

EvoScientist/EvoSkills · 186 tokens

paper-review

Guides self-review of YOUR OWN academic paper before submission with adversarial stress-testing. Core method: 5-aspect checklist (contribution sufficiency, writing clarity, results quality, testing completeness, method design), counterintuitive protocol (reject-first simulation, delete unsupported claims, score trust…

EvoScientist/EvoSkills · 177 tokens