If you're doing metabolomics and need to identify unknown compounds from mass spectra, this handles the grunt work of loading data from mzML, MGF, or MSP files, cleaning it up with 40+ filters, and running similarity searches against spectral libraries. The modified cosine similarity accounts for precursor mass differences, which matters for fragment matching. It's built for reproducible pipelines, so you can chain filters together and process entire libraries consistently. Note this is for small molecule metabolomics, if you're doing proteomics LC-MS/MS work, you want pyopenms instead. The SpectrumProcessor class makes it easy to standardize everything before similarity scoring.
- skills.sh installs
- 2K
- GitHub stars
- 56.6K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add k-dense-ai/scientific-agent-skills --skill matchms --agent claude-codeInstalls into .claude/skills of the current project.
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:
Sponsors
Details
- Repository
- github.com/k-dense-ai/scientific-agent-skills
- Categories
- AI & Agent Building, Data Science & ML
- First seen
- Jun 3, 2026
More from k-dense-ai/scientific-agent-skills
All 137- Protocolsio Integration2K
- Histolab2K
- Polars Bio2K
- Neuropixels Analysis2K
- Pyopenms2K
- Dnanexus Integration2K
- Latchbio Integration2K
- Qutip2K
- Rowan2K
- Omero Integration2K
- Opentrons Integration2K
- Tiledbvcf2K
- Pylabrobot2K
- Primekg2K
- Glycoengineering2K
- Ginkgo Cloud Lab2K
- Hugging Science1.9K
- Autoskill1.9K
- Pdf1.8K
- Docx1.8K
- Pptx1.8K
- Exa Search1.8K
- Xlsx1.8K
- Iso 13485 Certification915
