Predict 1H NMR spectra from SMILES strings via NMRdb.org SPINUS neural network prediction and nmrsim quantum mechanical spin simulation.

MITAuto-check passedResearch & Science

Install Chem Nmr Predict

skills CLI
$ npx skills add learningmatter-mit/AtomisticSkills --skill chem-nmr-predict -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install learningmatter-mit/AtomisticSkills chem-nmr-predict --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/learningmatter-mit/AtomisticSkills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/chem-nmr-predict .claude/skills/chem-nmr-predict && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
chem-nmr-predict
GitHub stars
176
Token cost
~1.8k tokens
SKILL.md length
896 words
Files
2 (incl. scripts)
Skills in repo
129
Repo updated
First seen
Licence
MIT

At a glance

Predict 1H NMR spectra from SMILES strings via NMRdb.org SPINUS neural network prediction and nmrsim quantum mechanical spin simulation.

  • Works in 3 steps: Ensure SMILES Are Available → Predict NMR Spectra → Verify Predictions
  • Tasks that involve Drug discovery and cheminformatics
  • SKILL.md covers When to Use This Skill, When NOT to Use This Skill, Workflow: SMILES → Predicted… and If/Then: Field Strength Matching, plus 4 more sections
  • Runs Python scripts from its folder

What it does

Chem Nmr Predict is an agent skill from learningmatter-mit/AtomisticSkills. Predict 1H NMR spectra from SMILES strings via NMRdb.org SPINUS neural network prediction and nmrsim quantum mechanical spin simulation.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/predict_nmr.py`).

It sits in Research & Science, covering Drug discovery and cheminformatics and Deep learning. The repository describes itself as: Integrating AtomisticSkills into Agentic IDEs (Cursor, Claude Code, Codex, Google Antigravity, Hermes Agent, etc). The licence is MIT.

When your agent uses it

  • Tasks that involve Drug discovery and cheminformatics
  • Tasks that involve Deep learning

Example prompts

  • “/chem-nmr-predict”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Ensure SMILES Are Available
  2. Predict NMR Spectra
  3. Verify Predictions

What it can do on your machine

Read from SKILL.md and the folder at commit 6257444. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Chem Nmr Predict loads about 1.8k tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 896 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from learningmatter-mit/AtomisticSkills at commit 6257444, republished under its MIT licence (© learningmatter-mit). 896 words, ~1,770 tokens.

Download SKILL.mdSave it as .claude/skills/chem-nmr-predict/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
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.
metadata.category
chemistry
metadata.venv
cpu

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.


Show full SKILL.md (319 more words)Show less

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

FailureSymptomAgent Action
Invalid SMILESScript prints FAILED with "Invalid SMILES"The agent should verify the SMILES with RDKit and correct it.
SPINUS returns no atoms"SPINUS returned no atoms" errorMolecule may lack H atoms or be too complex. The agent should check and inform the user.
SPINUS network timeoutHTTP timeout errorThe agent should retry once. If it fails again, NMRdb.org may be down. The agent should inform the user.
nmrsim QM simulation failsWARNING in output, falls back to stick spectrumSpin system too large (>11 spins) or numerical issue. The agent should note reduced accuracy.
Total nH in signals does not match molecular formulaSignal table has wrong proton countGrouping heuristic may have failed. The agent should flag this to the user.

Environment

bash

Environment: cpu (created on first use by venv/run; no separate install)

Required packages: numpy, rdkit, requests, nmrsim.


References

  • Banfi, D. & Patiny, L., "www.nmrdb.org: Resurrecting and processing NMR spectra on-line", Chimia, 2008.
  • Aires-de-Sousa, J. et al., "SPINUS: prediction of 1H NMR spectra by neural networks", J. Chem. Inf. Model., 2002.
  • Sametz, G., "nmrsim: a Python library for NMR simulation", github.com/sametz/nmrsim.

Author: Jesus Diaz Sanchez Contact: GitHub @jdsanc

© learningmatter-mit, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in skills/chem-nmr-predict of learningmatter-mit/AtomisticSkills.

  • SKILL.md
  • scripts/predict_nmr.py

Open the folder on GitHubat commit 6257444

Compare with similar skills

Chem Nmr Predict next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Chem Nmr Predict compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Chem Nmr Predict this skilllearningmatter-mit/AtomisticSkills176—~1.8kAutomated safety check: PassMIT
Torchdrugdavila7/claude-code-templates32k12 repos~3.5kAutomated safety check: PassMIT
Torchdrug Englishaipoch/medical-research-skills2k—~2.6kAutomated safety check: PassMIT
Rowanlamm-mit/scienceclaw2444 repos~3.1kAutomated safety check: WarnProprietary
Deepchemdavila7/claude-code-templates32k11 repos~4.4kAutomated safety check: PassMIT
tangermeme Genomic Model Analysisjmschrei/tangermeme311—~1.6kAutomated safety check: PassMIT

Similar skills

  • Torchdrug

    davila7/claude-code-templates

    Graph-based drug discovery toolkit. An agent skill from davila7/claude-code-templates.

    32k GitHub starsUsed in 12 repos~3.5k tokens
    Research & ScienceAuto-check passed
  • Torchdrug English

    aipoch/medical-research-skills

    PyTorch-native Graph Neural Network framework for molecules and proteins.

    2k GitHub stars~2.6k tokensUpdated 21 days ago
    Research & ScienceAuto-check passed
  • Rowan

    lamm-mit/scienceclaw

    Cloud-based quantum chemistry platform with Python API. An agent skill from lamm-mit/scienceclaw.

    244 GitHub starsUsed in 4 repos~3.1k tokens
    Research & ScienceAuto-check: warnings
  • Deepchem

    davila7/claude-code-templates

    Molecular machine learning toolkit. An agent skill from davila7/claude-code-templates.

    32k GitHub starsUsed in 11 repos~4.4k tokens
    Research & ScienceAuto-check passed
  • Routes agents to the right tangermeme reference for analyzing trained genomic deep learning models, from attributions and motif experiments to variant effects and design.

    311 GitHub stars~1.6k tokensUpdated today
    Research & ScienceAuto-check passed
  • Hcls Build Agent

    aws-samples/amazon-bedrock-agents-healthcare-lifesciences

    Official

    A skill your agent uses when a developer wants to build a new healthcare or life sciences agent, structure tools and system prompts for an HCLS workflow, or create a Strands agent with…

    274 GitHub stars~885 tokensUpdated 6 days ago
    Research & ScienceAuto-check passed

More from learningmatter-mit/AtomisticSkills

All 129 skills in this repo
  • Drug Binding Site Definition

    learningmatter-mit/AtomisticSkills

    Define a docking search box (center coordinates + box dimensions in Angstroms) from a co-crystal ligand, binding-site residues, or a saved JSON specification.

    176 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Drug Complex System Builder

    learningmatter-mit/AtomisticSkills

    Build a solvated, charge-neutralized protein-ligand complex for OpenMM molecular dynamics simulation.

    176 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Drug Pocket Detection

    learningmatter-mit/AtomisticSkills

    Identify and rank ligandable pockets on a protein structure or model using geometry (fpocket) or an ML predictor (P2Rank).

    176 GitHub stars~4k tokensUpdated today
    Auto-check passed
  • Chem Bond Dissociation

    learningmatter-mit/AtomisticSkills

    Calculate homolytic and heterolytic bond dissociation energies (BDEs) for all single bonds in a molecule using MLIPs with RDKit fragmentation.

    176 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Chem Conformer Search

    learningmatter-mit/AtomisticSkills

    Generate molecular conformers with RDKit ETKDG, relax with MLIPs, and rank by energy with Boltzmann weighting.

    176 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Chem DB Mof

    learningmatter-mit/AtomisticSkills

    Query multiple MOF databases (QMOF via MPContribs; ARC-MOF DB7/Majumdar et al.

    176 GitHub stars~1.9k tokensUpdated today
    Auto-check passed

Questions about Chem Nmr Predict

What does Chem Nmr Predict do?

Predict 1H NMR spectra from SMILES strings via NMRdb.org SPINUS neural network prediction and nmrsim quantum mechanical spin simulation. Chem Nmr Predict is an agent skill from learningmatter-mit/AtomisticSkills.org SPINUS neural network prediction and nmrsim quantum mechanical spin simulation.

When should I use Chem Nmr Predict?

Chem Nmr Predict fits situations like: tasks that involve Drug discovery and cheminformatics; tasks that involve Deep learning.

How do I install Chem Nmr Predict in Claude Code?

Run `npx skills add learningmatter-mit/AtomisticSkills --skill chem-nmr-predict -a claude-code`. Or copy the skill folder (skills/chem-nmr-predict in learningmatter-mit/AtomisticSkills) into .claude/skills/chem-nmr-predict in your project. Claude Code loads it when a task matches its description.

How do I install Chem Nmr Predict in Codex?

Run `npx skills add learningmatter-mit/AtomisticSkills --skill chem-nmr-predict -a codex`. Or copy the skill folder (skills/chem-nmr-predict in learningmatter-mit/AtomisticSkills) into .agents/skills/chem-nmr-predict in your project. Codex loads it when a task matches its description.

Can I use Chem Nmr Predict in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add learningmatter-mit/AtomisticSkills --skill chem-nmr-predict -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/chem-nmr-predict, .gemini/skills/chem-nmr-predict, .github/skills/chem-nmr-predict and .opencode/skills/chem-nmr-predict in your project.

What does Chem Nmr Predict need to run?

Going by SKILL.md and its folder, Chem Nmr Predict needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Chem Nmr Predict access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Chem Nmr Predict safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Chem Nmr Predict use?

Chem Nmr Predict is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Chem Nmr Predict use?

About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Chem Nmr Predict?

Skills that share tags, products or a category with Chem Nmr Predict: Torchdrug (davila7/claude-code-templates, 32k stars), Torchdrug English (aipoch/medical-research-skills, 2k stars), Rowan (lamm-mit/scienceclaw, 244 stars) and Deepchem (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Chem Nmr Predict?

learningmatter-mit (a GitHub organization) maintains it in learningmatter-mit/AtomisticSkills, which has 176 GitHub stars. The repository holds 129 skills in this directory. The repository was last updated on October 7, 2026.

Source: learningmatter-mit/AtomisticSkills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.