Skip to content

Python package for cleaning, comparing, and searching tandem mass spectra with matchms 0.33.1.

CCM score
67 of 100
skills.sh installs
2.2K
GitHub stars
58.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers MS/MS file I/O, metadata harmonization, peak filtering, spectral similarity, library matching, score matrices, and molecular-similarity networks
  • Includes cosine, modified-cosine, neutral-loss, approximate, and entropy scoring, with references/migration.md for mapping pre-0.33 API names
  • Enforces guardrails such as ModifiedCosineGreedy over the removed ModifiedCosine and explicit dropping of invalid spectra after require_* filters
  • Designed for MS/MS library search and analog matching; use pyopenms for LC-MS feature detection or proteomics pipelines

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill matchms -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Matchms

Purpose and Scope

Matchms is a Python package for importing, cleaning, processing, and comparing tandem mass spectra. This skill targets matchms 0.33.1, released 2026-06-08, verified again on 2026-10-01. Older tutorials can use removed names; see the migration reference.

Use matchms for:

  • MS/MS library search and query-versus-reference scoring
  • Metadata harmonization, adduct/precursor handling, and peak filtering
  • Cosine, modified-cosine, neutral-loss, approximate, and entropy scoring
  • Structured score matrices, top-hit extraction, and spectral networks
  • MGF, MSP, mzML, mzXML, JSON, mzSpecLib, and metabolomics-USI workflows

Do not use matchms as a replacement for:

  • LC-MS feature detection, chromatographic alignment, peptide identification, or protein quantification — use pyopenms
  • Vendor raw-file conversion — convert to mzML/mzXML first
  • A validated compound-identification protocol — similarity is evidence, not proof of identity

Install the Verified Release

Create or activate an environment, then install the release used by this skill:

uv pip install "matchms==0.33.1"

Verify the runtime:

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Data Science & Analytics, Research & Academic
First seen
Jun 3, 2026

Questions

What does the matchms skill help an agent do?

The matchms skill guides an agent through processing, cleaning, comparing and searching tandem mass spectra with the matchms Python package. It covers MS/MS file input and output, metadata harmonization, peak filtering, spectral similarity scoring, library matching and molecular-similarity networks.

When should I use matchms instead of pyopenms?

Use matchms for MS/MS file handling, spectral similarity, library matching and score matrices. The skill says to use pyopenms instead for LC-MS feature detection or proteomics pipelines.

How do I install the matchms skill?

Run npx -y skills add k-dense-ai/scientific-agent-skills --skill matchms -y in a project. The skill then guides the agent through installing and verifying the matchms 0.33.1 Python package, which needs Python 3.10 to 3.14.

What does the matchms skill need to run?

Local file workflows need no credentials, but the skill requires Python 3.10 to 3.14, uv and matchms 0.33.1. Loading spectra from metabolomics USI identifiers needs network access.

Where does the matchms skill sit in its category?

The matchms skill is listed in the Data Science and Analytics category on Claude Marketplaces, alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. It focuses on mass spectrometry data rather than general analytics.

More from k-dense-ai/scientific-agent-skills

All 132