chem-spectrum-matcher
Installation
SKILL.md
Spectrum Matcher
Goal
To retrieve or generate reference spectra for a set of candidate molecules and rank them by similarity to an experimental query spectrum. The skill abstracts a common three-component pattern:
- Prediction — generate reference spectra from structure (SMILES) via empirical predictors or QM.
- Reference DB — cache computed spectra locally; fall back to public databases for known compounds.
- Similarity metric — score each candidate against the query and rank.
This pattern applies to any spectral modality: 1H NMR, 13C NMR, IR, mass spectrometry, UV-Vis, Raman. The concrete implementation here covers 1H NMR and IR, with the NMR path fully implemented and IR sketched for extension.
When to Use This Skill
- Confirm a proposed structure against an experimental spectrum.
- Screen a shortlist of candidates and rank by spectral similarity.
- Avoid re-running expensive predictions by retrieving cached spectra from the local catalog.
- Fetch experimental reference spectra from public databases (NMRShiftDB2, NIST WebBook) before committing to a prediction run.