chem-nmr-analysis

chem-nmr-analysis is a skill for Claude Code, Codex from learningmatter-mit/AtomisticSkills. It costs 36 tokens per session (2,248 once invoked), scanned A, original, MIT.

A set of scripts for analysing one-dimensional proton nuclear magnetic resonance (1H NMR) spectra, which show signals from hydrogen atoms in chemical samples. It can separate mixture spectra using reference spectra, predict reaction products, track reaction speed, and plot spectra.

In plain words
What is it for?
Use it for 1H solution-state mixture analysis, reaction-product prediction, reaction kinetics over multiple time points, and spectral plotting.
Why use it?
It helps quantify known components and follow reactions when the relevant reference or time-series data are available.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/learningmatter-mit/atomisticskills/chem-nmr-analysis
Any agent
npx skills add learningmatter-mit/AtomisticSkills --skill chem-nmr-analysis
Clone the repo
git clone --depth 1 https://github.com/learningmatter-mit/AtomisticSkills

Made for: Claude Code, Codex.

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 chem-nmr-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/chem-nmr-analysis.svg)](https://agentmods.dev/skills/learningmatter-mit/atomisticskills/chem-nmr-analysis)
Your own site
<a href="https://agentmods.dev/skills/learningmatter-mit/atomisticskills/chem-nmr-analysis"><img src="https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/chem-nmr-analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,248 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00036 $0.02248
Opus 5 $0.00018 $0.01124
Sonnet 5 $0.00007 $0.00450
Haiku 4.5 $0.00004 $0.00225

Measured 5d ago against content hash b0f14dfd464f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

chem-nmr-analysis 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 5d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/deconvolve.py, scripts/kinetics.py, scripts/plot.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.

.agents/skills/chem-nmr-analysis/SKILL.md · 182 lines

How it starts

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

NMR Mixture Analysis

When to Use This Skill

The agent should use this skill's scripts when:

  • A workflow (e.g., reaction-to-nmr-quantification.md or nmr-reaction-kinetics.md) calls for deconvolution, product prediction, kinetics analysis, or spectral plotting.
  • The user already has reference spectra and a mixture spectrum and wants to quantify component proportions directly.
  • The user has multiple time-point spectra and wants to track reaction progress via NMR.

For end-to-end workflows that chain this skill with other skills, see: .agents/workflows/reaction-to-nmr-quantification.md and .agents/workflows/nmr-reaction-kinetics.md.

When NOT to Use This Skill

  • 13C NMR, 2D NMR (COSY, HSQC, etc.), or solid-state NMR -- this skill handles 1H solution-state NMR only.
  • Structure elucidation of unknown compounds -- this skill requires knowing (or predicting) what compounds are in the mixture. It does not identify unknowns from scratch.
  • Pure compound characterization -- if the user has a single pure compound and just wants to assign peaks, this skill is not appropriate. The agent should interpret the spectrum directly.
  • Mass spectrometry data -- despite the Wasserstein algorithm's origins in mass spec, this skill operates on NMR chemical shift axes only.
  • Digitizing spectrum images -- the agent should use the general-plot-digitizer skill for that step.
  • Predicting NMR spectra from SMILES -- the agent should use the chem-nmr-predict skill for that step.
  • Resolving compound names to SMILES -- the agent should use the drug-db-pubchem skill for that step.

Scripts Reference

Script Purpose Key Inputs Key Outputs
predict_products.py Predict reaction products via ReactionT5 (HuggingFace API) --reactant_smiles, --reagent_smiles JSON with predicted product SMILES
deconvolve.py Wasserstein deconvolution of mixture against references mixture file + reference files + --protons proportions, Wasserstein distance, plot
kinetics.py Time-series deconvolution across multiple time points --refs, --timepoints, --times kinetics.csv + kinetics_plot.png
plot.py Overlay or stack NMR spectra for visual comparison spectrum files + --labels plot image
spectra.py I/O utilities (imported by other scripts, not called directly) -- --

Read the full file on GitHub · 182 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. 5d ago First seen · 182 lines · 36 tokens per session scan A b0f14dfd464f

Subscribe to this mod's changes

chem-nmr-analysis is a skill published in the GitHub repository learningmatter-mit/AtomisticSkills (160 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 2,248 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

datamol

Pythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, descriptors, fingerprints, clustering, 3D conformers, parallel processing. Returns native rdkit.Chem.Mol objects. For advanced control or custom parameters…

synthetic-sciences/openscience · 67 tokens

hypogenic

Automated LLM-driven hypothesis generation and testing on tabular datasets. Use when you want to systematically explore hypotheses about patterns in empirical data (e.g., deception detection, content analysis). Combines literature insights with data-driven hypothesis testing. For manual hypothesis formulation use…

synthetic-sciences/openscience · 69 tokens

rdkit

Cheminformatics toolkit for fine-grained molecular control. SMILES/SDF parsing, descriptors (MW, LogP, TPSA), fingerprints, substructure search, 2D/3D generation, similarity, reactions. For standard workflows with simpler interface, use datamol (wrapper around RDKit). Use rdkit for advanced control, custom…

synthetic-sciences/openscience · 80 tokens

deepchem

Molecular ML with diverse featurizers and pre-built datasets. Use for property prediction (ADMET, toxicity) with traditional ML or GNNs when you want extensive featurization options and MoleculeNet benchmarks. Best for quick experiments with pre-trained models, diverse molecular representations. For graph-first…

synthetic-sciences/openscience · 78 tokens

molfeat

Molecular featurization for ML (100+ featurizers). ECFP, MACCS, descriptors, pretrained models (ChemBERTa), convert SMILES to features, for QSAR and molecular ML.

synthetic-sciences/openscience · 47 tokens

torchdrug

PyTorch-native graph neural networks for molecules and proteins. Use when building custom GNN architectures for drug discovery, protein modeling, or knowledge graph reasoning. Best for custom model development, protein property prediction, retrosynthesis. For pre-trained models and diverse featurizers use deepchem…

synthetic-sciences/openscience · 67 tokens