chem-nmr-predict
Predict 1H NMR spectra from SMILES strings via NMRdb.org SPINUS neural network prediction and nmrsim quantum mechanical spin simulation.
Skill by learningmatter-mit
Chalk Labs
Need help deploying chem-nmr-predict?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/learningmatter-mit-chem-nmr-predict
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 2
codeload.github.com· found in install commandnmrdb.org· found in code
Files it touches
~/.claude/skills/chem-nmr-predict
What's inside
- Skill name
chem-nmr-predict- Description
- Predict 1H NMR spectra from SMILES strings via NMRdb.org SPINUS neural network prediction and nmrsim quantum mechanical spin simulation.
- License
- MIT
- Instructions
- 129 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (14)
- SKILL.md
- README.md · examples/ethyl_acetate_ethanol_cdcl3/
- compare_to_literature.py · examples/ethyl_acetate_ethanol_cdcl3/
- comparison.csv · examples/ethyl_acetate_ethanol_cdcl3/
- ethanol.xy · examples/ethyl_acetate_ethanol_cdcl3/
- ethanol_signals.csv · examples/ethyl_acetate_ethanol_cdcl3/
- ethyl_acetate.xy · examples/ethyl_acetate_ethanol_cdcl3/
- ethyl_acetate_signals.csv · examples/ethyl_acetate_ethanol_cdcl3/
- input_configs.yaml · examples/ethyl_acetate_ethanol_cdcl3/
- literature_cdcl3.csv · examples/ethyl_acetate_ethanol_cdcl3/
- nmr_vs_literature.png · examples/ethyl_acetate_ethanol_cdcl3/
- nmr_vs_literature.svg · examples/ethyl_acetate_ethanol_cdcl3/
- predictions.json · examples/ethyl_acetate_ethanol_cdcl3/
- predict_nmr.py · scripts/
SKILL.md (first lines)
# 1H NMR Spectrum Prediction
## When to Use This Skill
The agent should use this skill when:
- A SMILES string is known and the agent needs a predicted 1H NMR spectrum (ppm vs intensity) for that compound.
- The agent needs a signal list (chemical shifts, multiplicities, coupling constants, proton counts) for a compound.
- Reference spectra are needed for mixture deconvolution (called by the `chem-nmr-analysis` skill).
- The user wants to compare a predicted spectrum against an experimental one for structure confirmation.
## When NOT to Use This Skill
- **The user already has an experimental or digitized spectrum file** — no prediction is needed; the agent should use the existing file directly.
- **The user has a compound name but not a SMILES** — the agent should first resolve the name to SMILES using the `drug-db-pubchem` skill, then call this skill.
- **13C NMR prediction** — this skill predicts 1H NMR only. The NMRdb.org SPINUS endpoint does not support 13C.
- **Polymers, organometallics, or molecules with >50 heavy atoms** — the SPINUS neural network may not produce reliable predictions, and nmrsim QM simulation is limited to ~11 coupled spins per spin system.
- **The user asks about reaction products or mixture composition** — the agent should use `chem-nmr-analysis` instead, which calls this skill internally.
---
## Workflow: SMILES → Predicted 1H NMR
### Step 1 — Ensure SMILES Are Available
If the user provides compound names instead of SMILES, the agent should first resolve them:
```bash
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/../drug-db-pubchem/scripts/query_pubchem.py \
--name "camphor" --outdir <research_dir>/pubchem/
```
The agent should extract `CanonicalSMILES` from the JSON output.
**If PubChem returns no results**, the agent should try alternate names or ask the user to provide the SMILES directly.
### Step 2 — Predict NMR Spectra
```bash
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/predict_nmr.py \
--smiles "<smiles_1>" "<smiles_2>" \
--names "compound1" "compound2" \
--field_mhz 400 \
--output_dir <research_dir>/nmr_predictions/
```
**Arguments:**
- `--smiles` (required): one or more SMILES strings.
- `--names`: human-readable labels for filenames. If omitted, defaults to `comp0`, `comp1`, etc. The agent should always provide meaningful names.
- `--field_mhz`: spectrometer frequency in MHz (default: 400). The agent should match the field strength of the user's experimental spectrum if known.
- `--linewidth`: Lorentzian FWHM in Hz (default: 1.0). The agent should increase this (e.g., 2.0–5.0) if the user's experimental spectrum has broad lines.
- `--n_points`: spectrum resolution (default: 8192). The agent should not change this unless the user requests higher resolution.
- `--output_dir`: where to save results.
**Outputs per compound:**
- `<name>.xy` — two-column tab-separated file (ppm, intensity), descending ppm. Compatible with all NMR processing tools and the `chem-nmr-analysis` deconvolution scripts.
- `<name>_signals.csv` — signal table with columns: `shift_ppm`, `multiplicity`, `J_Hz`, `nH`.
- `predictions.json` — manifest listing all found/failed compounds and parameters.
### Step 3 — Verify Predictions
After prediction, the agent must:
1. **Check the manifest** (`predictions.json`) for any failed compounds.
2. **Read the signal table** (`_signals.csv`) and verify it is chemically reasonable:
- The total number of protons across all signals should match the molecular formula.
- Chemical shifts should be in expected ranges (e.g., alkyl 0–2 ppm, aromatic 6–8 ppm, aldehyde 9–10 ppm).
3. **If the user has an experimental spectrum**, the agent should overlay them using `chem-nmr-analysis`'s `plot.py` for visual comparison.
**If SPINUS returns no atoms for a SMILES** → the SMILES may be invalid, the molecule may lack hydrogen atoms (e.g., CCl4), or the molecule may be too complex. The agent should:
1. Verify the SMILES is valid (try parsing with RDKit).
2. Check if the molecule actually has hydrogen atoms.
3. If valid but SPINUS fails, inform the user that prediction is unavailable for this compound.
**If nmrsim simulation fails** → the script falls back to a stick spectrum (chemical shifts only, no multiplet structure). The agent should note this in its response — the predicted spectrum will lack splitting patterns but chemical shifts will still be approximate.
---
## If/Then: Field Strength Matching
- **If the user's experimental spectrum was recorded at 300 MHz** → the agent should set `--field_mhz 300`. Second-order effects are more pronounced at lower field, and nmrsim handles these correctly.
- **If the user's experimental spectrum was recorded at 600 MHz** → the agent should set `--field_mhz 600`. Peaks will be better resolved.
- **If the field strength is unknown** → the agent should use the default (400 MHz) and note this assumption.
## If/Then: Linewidth
- **If the user's spectrum shows sharp, well-resolved peaks** → use default `--linewidth 1.0`.
- **If the user's spectrum shows broad peaks** (e.g., viscous sample, paramagnetic species) → increase to `--linewidth 3.0` or higher.
- **If predicting for deconvolution against a digitized reference** → use `--linewidth 1.0` (digitized spectra typically have natural linewidths).
---
## Failure Modes
| Failure | Symptom | Agent Action |
|---|---|---|
| Invalid SMILES | Script prints FAILED with "Invalid SMILES" | The agent should verify the SMILES with RDKit and correct it. |
| SPINUS returns no atoms | "SPINUS returned no atoms" error | Molecule may lack H atoms or be too complex. The agent should check and inform the user. |
| SPINUS network timeout | HTTP timeout error | The agent should retry once. If it fails again, NMRdb.org may be down. The agent should inform the user. |
| nmrsim QM simulation fails | WARNING in output, falls back to stick spectrum | Spin system too large (>11 spins) or numerical issue. The agent should note reduced accuracy. |
| Total nH in signals does not match molecular formula | Signal table has wrong proton count | Grouping heuristic may have failed. The agent should flag this to the user. |
---
## Examples
- [Ethyl acetate and ethanol vs. experimental CDCl3 shifts](examples/ethyl_acetate_ethanol_cdcl3/README.md) — 400 MHz prediction validated per signal (δ, multiplicity, J, nH) against Fulmer et al., *Organometallics* 2010.
---
## Environment
Environment: `cpu` (created on first use by `venv/run`; no separate install)
Required packages: `numpy`, `rdkit`, `requests`, `nmrsim`.
---
## ReferencesFrom learningmatter-mit/AtomisticSkills, MIT.
More from learningmatter-mit/AtomisticSkills
- 0.681score
drug-complex-system-builder
learningmatter-mit
Build a solvated, charge-neutralized protein-ligand complex for OpenMM molecular dynamics simulation.
SkillAFreshness: A★ 183Claude Code +9 - 0.681score
drug-binding-site-definition
learningmatter-mit
Define a docking search box (center coordinates + box dimensions in Angstroms) from a co-crystal ligand, binding-site residues, or a saved JSON specification.
SkillAFreshness: A★ 183Claude Code +9 - 0.681score
drug-mmpbsa-gbsa
learningmatter-mit
Compute single-trajectory MM-GBSA and / or MM-PBSA binding free energy estimates from a protein-ligand MD trajectory.
SkillAFreshness: A★ 183Claude Code +9 - 0.681score
drug-pocket-detection
learningmatter-mit
Identify and rank ligandable pockets on a protein structure or model using geometry (fpocket) or an ML predictor (P2Rank).
SkillAFreshness: A★ 183Claude Code +9 - 0.678score
chem-sorption-relax
learningmatter-mit
Prepares supercells for porous frameworks based on minimum interplanar distance and relaxes them using standard MLIP relaxation tools.
SkillAFreshness: A★ 183Claude Code +9 - 0.678score
drug-protein-ligand-md
learningmatter-mit
Run a protein-ligand MD simulation in OpenMM with energy minimization, restrained equilibration, and production NPT, producing trajectory and checkpoint files…
SkillAFreshness: A★ 183Claude Code +9 - 0.678score
chem-db-qmof
learningmatter-mit
Query the Quantum MOF (QMOF) database via Materials Project's MPContribs platform for DFT-computed properties (bandgap) and optimized crystal structures of…
SkillAFreshness: A★ 183Claude Code +9 - 0.678score
chem-bond-dissociation
learningmatter-mit
Calculate homolytic and heterolytic bond dissociation energies (BDEs) for all single bonds in a molecule using MLIPs with RDKit fragmentation.
SkillAFreshness: A★ 183Claude Code +9 - 0.678score
chem-hazard-toxicity
learningmatter-mit
Extract explicit safety warnings, GHS classifications, LD50 toxicity profiles, and acute oral toxicity triage from PubChem PUG VIEW.
SkillAFreshness: A★ 183Claude Code +9 - 0.678score
drug-redocking-rmsd
learningmatter-mit
Compute symmetry-corrected heavy-atom RMSD between docked poses and a reference crystal ligand to validate docking protocols.
SkillAFreshness: A★ 183Claude Code +9 - 0.678score
drug-pose-validation
learningmatter-mit
Validate docked or generated ligand poses for physical plausibility using PoseBusters, filtering out chemically invalid or clashing poses before downstream…
SkillAFreshness: A★ 183Claude Code +9 - 0.678score
chem-dft-orca-optimization
learningmatter-mit
Run DFT geometry optimization (minimization or TS search) on a molecular structure using ORCA via SCINE/ReaDuct wrapper.
SkillAFreshness: A★ 183Claude Code +9
Signals
- Stars
- 183
- Forks
- 31
- Open issues
- 0
- Last commit (this folder)
- Oct 10, 2026 (20 days ago)
- Last release
- Oct 6, 2026 (24 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Website
- arxiv.org/abs/2605.24002
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from learningmatter-mit
- 0.681score
drug-binding-site-definition
learningmatter-mit
Define a docking search box (center coordinates + box dimensions in Angstroms) from a co-crystal ligand, binding-site residues, or a saved JSON specification.
SkillAFreshness: A★ 183Claude Code +9 - 0.681score
drug-complex-system-builder
learningmatter-mit
Build a solvated, charge-neutralized protein-ligand complex for OpenMM molecular dynamics simulation.
SkillAFreshness: A★ 183Claude Code +9 - 0.681score
drug-mmpbsa-gbsa
learningmatter-mit
Compute single-trajectory MM-GBSA and / or MM-PBSA binding free energy estimates from a protein-ligand MD trajectory.
SkillAFreshness: A★ 183Claude Code +9 - 0.681score
drug-pocket-detection
learningmatter-mit
Identify and rank ligandable pockets on a protein structure or model using geometry (fpocket) or an ML predictor (P2Rank).
SkillAFreshness: A★ 183Claude Code +9 - 0.678score
drug-pose-validation
learningmatter-mit
Validate docked or generated ligand poses for physical plausibility using PoseBusters, filtering out chemically invalid or clashing poses before downstream…
SkillAFreshness: A★ 183Claude Code +9 - 0.678score
chem-sorption-relax
learningmatter-mit
Prepares supercells for porous frameworks based on minimum interplanar distance and relaxes them using standard MLIP relaxation tools.
SkillAFreshness: A★ 183Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get chem-nmr-predict running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
chem-nmr-predict skill. Agent Mart. https://agentmart.dev/skills/learningmatter-mit-chem-nmr-predict (last updated 2026-10-24)