onescience-cli

onescience-cli is a skill for Claude Code from onescience-ai/OneSkills. It costs 97 tokens per session (4,045 once invoked), scanned A, original, MIT.

A skill for running OneScience command-line commands on remote SSH or SLURM systems. SSH is a way to use another computer remotely, while SLURM schedules jobs on shared computing clusters.

In plain words
What is it for?
Use it to discover, precheck, and execute any OneScience CLI subcommand remotely. It does not install the tool or environment, request compute nodes, submit SLURM jobs, or modify remote code.
Why use it?
It selects a suitable execution path and checks that the remote shell, environment, and compute node are ready before running a command.

Skill for Claude Code

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

Part of the oneskills plugin — 28 skills shipped together

Good fit Use it to discover, precheck, and execute any OneScience CLI subcommand remotely. It does not install the tool or environment, request compute nodes, submit SLURM jobs, or modify remote code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/onescience-ai/oneskills/onescience-cli
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-cli
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 28 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-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/onescience-ai/oneskills/onescience-cli/github.svg)](https://agentmods.dev/skills/onescience-ai/oneskills/onescience-cli)
Your own site
<a href="https://agentmods.dev/skills/onescience-ai/oneskills/onescience-cli"><img src="https://agentmods.dev/badge/skills/onescience-ai/oneskills/onescience-cli/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-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/onescience-ai/oneskills/onescience-cli"><img src="https://agentmods.dev/badge/skills/onescience-ai/oneskills/onescience-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,045 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 warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 335
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 336
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00097 $0.04045
Opus 5.5 $0.00039 $0.01618
Sonnet 5.5 $0.00019 $0.00809
Haiku 4.5 $0.00010 $0.00404

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

Security

Grade A, and why

onescience-cli 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.

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-cli/SKILL.md · 374 lines

How it starts

The opening of the file, as written. The whole thing — 374 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 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 负责)
  • 修改远端代码、配置或依赖
  • 安装系统级组件或驱动
  • 深度诊断训练/测试失败的业务原因
  • 决定当前命令步骤之外的后续业务 executor 或全局工作流下一阶段

2. 固定阶段

阶段 触发条件 目标 关键输出
discover 每次执行 命令级别判定 + 连接远端环境,收集运行目标与环境事实 execution_mode、hardware_profile、remote_access_info、command_level
precheck 非 lightweight 级别 检查环境是否满足运行条件(先计算节点 → 再环境) env_ready、on_compute_node、precheck_outcome
execute precheck 通过或 lightweight 快速通道 通过 onescience 命令执行用户请求的子命令 onescience_command、execution_state、output

三阶段按顺序推进,每阶段向用户实时汇报当前步骤。lightweight 级别跳过 precheck 直接进入 execute 快速通道。

precheck 发现不在计算节点时,交由 onescience-runtime 通过 sbatch 提交作业处理。precheck 发现环境未加载时,提示调用 onescience-installer。

CLI 只允许在当前命令步骤内进行这些显式委托:onescience-runtime 用于计算节点申请 / 提交 / 运行治理,onescience-installer 用于环境初始化。除这两类窄委托外,CLI 不得自行决定其他 downstream 业务技能;若后续问题超出 CLI 当前命令执行边界,必须返回 onescience-orchestrator 决策。

Read the full file on GitHub · 374 lines

Files

What ships with it

3 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 · +37 lines 74474bb49048
  2. 3mo ago First seen · 337 lines · 97 tokens per session scan A 93516f6e1572

Subscribe to this mod's changes

onescience-cli is a skill published in the GitHub repository onescience-ai/OneSkills (24 stars, last pushed 4d ago), licensed MIT. It adds 97 tokens to every session and 4,045 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

onescience-cli compared with skills from other repositories

onescience-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
onescience-clionescience-ai/OneSkillsSkill244d agoMITA97Claude Code
nsfc-budgethuangwb8/ChineseResearchLaTeXSkill3.1k5d agoMITA138Claude Code, Codex
paper-select-journalhuangwb8/ChineseResearchLaTeXSkill3.1k5d agoMITA194Claude Code, Codex
research-literature-radarhuangwb8/ChineseResearchLaTeXSkill3.1k5d agoMITA96Codex
bio-ortholog-inferencePKU-YuanGroup/OpenAI4SSkill675todayMITA141Claude Code, Codex
bioprobenchPKU-YuanGroup/OpenAI4SSkill675todayMITA46Claude Code, Codex
paper-searchopenags/paper-search-mcpSkill3.2k2mo agoMITA62Claude Code, Codex