nmr-compound-inference

nmr-compound-inference is a skill for Claude Code, Codex from synthetic-sciences/openscience. It costs 80 tokens per session (907 once invoked), scanned A, original, Apache-2.0.

A workflow for analysing one-dimensional proton or carbon-13 NMR data, a chemistry method that measures signals from atomic nuclei. It creates plots and peak tables, compares results with reference libraries, and ranks likely compounds with evidence and caveats.

In plain words
What is it for?
Use it with supported local NMR files to make spectrum reports, compare peaks with BMRB, HMDB, SDBS, or nmrshiftdb2, and infer likely compounds.
Why use it?
It turns raw spectrum files into a documented shortlist instead of requiring manual peak inspection and separate library searches.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it with supported local NMR files to make spectrum reports, compare peaks with BMRB, HMDB, SDBS, or nmrshiftdb2, and infer likely compounds.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/synthetic-sciences/openscience/nmr-compound-inference
About the project

synthetic-sciences/openscience is an AI workbench that carries out scientific research by reading papers, forming hypotheses, writing and running code, conducting experiments, analyzing results, and preparing reports. Researchers use it for work in machine learning, biology, physics, and chemistry with remote or local models. Catalogue add-ons extend its scientific workflows through skills and instructions.

synthetic-sciences/openscience · 4,457 stars · on GitHub · openscience.sh

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.

Any agent
npx skills add synthetic-sciences/openscience --skill nmr-compound-inference
Clone the repo
git clone --depth 1 https://github.com/synthetic-sciences/openscience

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 nmr-compound-inference

README.md
[![agentmods](https://agentmods.dev/badge/skills/synthetic-sciences/openscience/nmr-compound-inference/github.svg)](https://agentmods.dev/skills/synthetic-sciences/openscience/nmr-compound-inference)
Your own site
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/nmr-compound-inference"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/nmr-compound-inference/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nmr-compound-inference

Your own site · 80×15
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/nmr-compound-inference"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/nmr-compound-inference.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 907 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00080 $0.00907
Opus 5.5 $0.00032 $0.00363
Sonnet 5.5 $0.00016 $0.00181
Haiku 4.5 $0.00008 $0.00091

Measured 2mo ago against content hash e141bfa42857, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nmr-compound-inference 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/nmr_candidate_report.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.

backend/cli/skills/chemistry/nmr-compound-inference/SKILL.md · 104 lines

How it starts

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

NMR Compound Inference

Use this skill to analyze a local 1D NMR dataset, generate a figure and peak list, search standard reference libraries, and infer the most likely compound or a short ranked candidate list.

Best fit

  • 1H and 13C 1D spectra
  • Bruker processed pdata, Bruker raw fid, NMRPipe 1D files, or two-column ppm,intensity text exports
  • Samples with one dominant component

Required inputs

  • local spectrum path
  • preferably nucleus, solvent, and field strength
  • any sample context that narrows candidate chemistry

Dependencies

Install the dependencies into the active Python environment:

python3 -m pip install nmrglue numpy matplotlib

This skill depends on the upstream nmrglue package and does not bundle the nmrglue source code.

Workflow

  1. Run the helper script to generate the evidence package:
python3 scripts/nmr_candidate_report.py \
  --input "<path-to-spectrum>" \
  --output-dir "./outputs/$(date +%F)" \
  --nucleus "1H"

Optional metadata for better matching:

python3 scripts/nmr_candidate_report.py \
  --input "<path-to-spectrum>" \
  --output-dir "./outputs/$(date +%F)" \
  --nucleus "1H" \
  --solvent "D2O" \
  --field-mhz 600
  1. Review the generated outputs:

    • spectrum.png — Plot of the processed spectrum
    • peak_table.csv — Extracted peak positions and intensities
    • analysis_summary.json — Structured summary for downstream processing
    • analysis_report.md — Human-readable report with search recommendations
  2. Read references/standard-libraries.md and search the relevant library sites:

  3. Return a report with:

    • problem type
    • what data was analyzed
    • plot path
    • major peaks
    • library links searched
    • top 1-3 candidate compounds
    • confidence, mismatch notes, and what would disambiguate the call

Read the full file on GitHub · 104 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 104 lines · 80 tokens per session scan A e141bfa42857

Subscribe to this mod's changes

nmr-compound-inference is a skill published in the GitHub repository synthetic-sciences/openscience (4,457 stars, last pushed yesterday), licensed Apache-2.0. It adds 80 tokens to every session and 907 once invoked, about $0.0003 per session on Opus 5.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-09-30.

Related

nmr-compound-inference compared with skills from other repositories

nmr-compound-inference next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nmr-compound-inferencesynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A80Claude Code, Codex
nmr-analysisxjtulyc/awesome-rosetta-skillsSkill387mo agononeA34Claude Code, Codex
admet_geneticPKU-YuanGroup/OpenAI4SSkill675todayMITA63Claude Code, Codex
synplanner-usageLaboratoire-de-Chemoinformatique/SynPlannerSkill617d agoMITA182Claude Code, Codex
selftuneselftune-dev/selftuneSkill196d agoMITA148Claude Code, Codex
math-olympiadfuxicodex/FuxiSkill3.2k6d agononeA163Claude Code, Codex
pubchem-guidecyanheads/pubchem-mcp-serverSkill136d agoApache-2.0A87Claude Code