pyopenms

pyopenms is a skill for Claude Code from K-Dense-AI/scientific-agent-skills. It costs 72 tokens per session (3,062 once invoked), scanned A, original, MIT.

A Python interface to OpenMS for analyzing mass-spectrometry data used in proteomics and metabolomics. It supports spectra and feature files, peptide and protein identification, quantification, and LC-MS/MS workflows.

In plain words
What is it for?
Use it to inspect and convert MS data, detect features, identify peptides and proteins, quantify samples, annotate compounds, and export common scientific result formats.
Why use it?
It brings established mass-spectrometry processing steps into Python, reducing the need to connect separate tools for file handling, detection, identification, and measurement.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to inspect and convert MS data, detect features, identify peptides and proteins, quantify samples, annotate compounds, and export common scientific result formats.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/k-dense-ai/scientific-agent-skills/pyopenms
About the project

Scientific Agent Skills is a collection of reusable procedures that give AI agents capabilities for scientific research across areas such as biology, chemistry, medicine, and drug discovery. It is used by researchers and by people building AI scientist workflows with compatible coding agents. The catalogue contains many of the project's skills and supporting instructions.

K-Dense-AI/scientific-agent-skills · 58,946 stars · on GitHub · arxiv.org

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 K-Dense-AI/scientific-agent-skills --skill pyopenms
Clone the repo
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills

Made for: Claude Code.

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 pyopenms

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/pyopenms"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/pyopenms.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,062 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
  • Socket pass 24 Oct 2026
  • Snyk pass 24 Oct 2026
  • 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.00072 $0.03062
Opus 5.5 $0.00029 $0.01225
Sonnet 5.5 $0.00014 $0.00612
Haiku 4.5 $0.00007 $0.00306

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

Security

Grade A, and why

pyopenms 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 17 executable files (scripts/_common.py, scripts/accurate_mass_search.py, scripts/align_link_quantify.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.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

  • pyopenms — 100% identical, 88 lines differ
  • pyopenms — 88% identical, 107 lines differ
  • pyopenms — 88% identical, 107 lines differ
skills/pyopenms/SKILL.md · 231 lines

How it starts

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

PyOpenMS

Overview

PyOpenMS provides Python bindings to the OpenMS library for computational mass spectrometry, enabling analysis of proteomics and metabolomics data. Use it to read/write MS file formats, process raw spectra, detect and quantify features, identify peptides and proteins, and run end-to-end LC-MS/MS pipelines.

This skill ships ready-to-run scripts in scripts/ covering the most common high-level workflows. Prefer running a script over writing new code—each is a parameterized CLI tool that handles loading, processing, and export. Drop into the Python API (and the references/) only when no script fits.

Installation

uv venv --python 3.13
uv pip install "pyopenms==3.6.0" pandas numpy matplotlib

Verify (note: __version__ works, but the bundled binary prints a one-line memory-status notice on import that is harmless):

import pyopenms as ms
print(ms.__version__)  # 3.6.0

Scripts (start here)

Run with python scripts/<name>.py --help for full options. Input formats differ by script; inspect its help. Commands below run from the skill directory with the environment activated. Native regression tests use tiny synthetic files; instrument-specific detection/search performance is not validated.

Inspect & convert

Script What it does
inspect_ms_data.py Summarize any mzML/mzXML/featureXML/consensusXML/idXML (counts, RT/m/z ranges, TIC, metadata); optional per-spectrum CSV.
convert_format.py Convert between mzML/mzXML/MGF with optional MS-level, RT, and intensity filtering.
process_spectra.py Configurable signal-processing chain: smoothing (Gauss/SGolay), centroiding (PeakPickerHiRes), normalization, S/N and intensity thresholds.

Feature detection & quantification

Script What it does
detect_features_metabo.py Untargeted metabolomics feature finding: MassTraceDetection → ElutionPeakDetection → FeatureFindingMetabo.
detect_features_centroided.py Peptide/centroided feature detection via FeatureFinderAlgorithmPicked.
align_link_quantify.py Multi-sample pipeline: detect (or load) features → RT alignment → consensus linking → quant matrix CSV.
consensus_to_matrix.py consensusXML → wide intensity matrix + metadata, with optional median/quantile normalization and long format.

Read the full file on GitHub · 231 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. 1mo ago Changed · +30 lines · -2 tokens per session 020e7392adbb
  2. 2mo ago Changed · +4 lines a76f64404e5c
  3. 2mo ago First seen · 197 lines · 74 tokens per session scan A 5a95655547c4

Subscribe to this mod's changes

pyopenms is a skill published in the GitHub repository K-Dense-AI/scientific-agent-skills (58,946 stars, last pushed 7d ago), licensed MIT. It adds 72 tokens to every session and 3,062 once invoked, about $0.0003 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-09-03.

Related

pyopenms compared with skills from other repositories

pyopenms next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pyopenmsK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA72Claude Code
discovery-toolboxdekan-aleksandr/biodiscovery-skillsSkill113mo agoMITA122Claude Code
rdkit-qsar-pharmacophoreYuliaNuzhnenko/bioinformatics-agent-skillsSkill103mo agoMITA46Claude Code, Codex
discovery-directordekan-aleksandr/biodiscovery-skillsSkill113mo agoMITA114Claude Code
bulk-rnaseq-counts-to-de-deseq2hossainlab/omics-skillsSkill24mo agoMITA141Claude Code, Codex
seurat-skillAgents365-ai/seurat-skillSkill46mo agoMITA167Claude Code, Codex
gene-protein-expression-matrix-normalizationaipoch/medical-research-skillsSkill2.1k10d agoMITA63Claude Code, Codex