Agent skill · Audited from source
Spectroscopy Analysis Guide
skill · brycewang-stanford/Auto-Empirical-Research-SkillsNOASSERTION licenceAudited 8 Oct 2026 · source e1ba289846fd
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit e1ba289846fd and found no filesystem, network or shell access and no hard-coded secrets. What it does: Spectral data analysis for NMR, IR, mass spectrometry, and UV-Vis
Cite
Cite this page
ModelsAtlas. “Spectroscopy Analysis Guide (brycewang-stanford/Auto-Empirical-Research-Skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/brycewang-stanford/spectroscopy-analysis-guide
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha e1ba289846fd · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherbrycewang-stanford GitHub userOwner of the repository this skill is read from
- Source folderbrycewang-stanford/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/domains/chemistry/spectroscopy-analysis-guideThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdicte1ba289846fdA new audit runs when the source changes
- Repository statusNot archivedLast push 3 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Spectral data analysis for NMR, IR, mass spectrometry, and UV-Vis
---
name: spectroscopy-analysis-guide
description: "Spectral data analysis for NMR, IR, mass spectrometry, and UV-Vis"
metadata:
openclaw:
emoji: "🔬"
category: "domains"
subcategory: "chemistry"
keywords: ["spectroscopy", "nmr", "mass-spectrometry", "infrared", "uv-vis", "analytical-chemistry"]
source: "wentor"
---
# Spectroscopy Analysis Guide
A skill for processing and interpreting spectroscopic data in chemistry research. Covers NMR, IR, mass spectrometry, and UV-Vis spectroscopy including data formats, baseline correction, peak detection, spectral matching, and structure elucidation workflows.
## Spectral Data Formats
### Common File Formats
| Format | Spectroscopy | Description |
|--------|-------------|-------------|
| JCAMP-DX (.jdx, .dx) | All types | IUPAC standard exchange format |
| Bruker (1r, fid, acqu) | NMR | Raw and processed Bruker data |
| mzML / mzXML | MS | Open mass spectrometry format |
| SPC (.spc) | IR, UV-Vis | Galactic/Thermo spectral format |
| CSV / TXT | All | Simple x,y pairs (wavelength/wavenumber, intensity) |
### Reading Spectral Data
```python
import numpy as np
from scipy.signal import find_peaks, savgol_filter
def read_jcamp(filepath: str) -> dict:
"""
Read a JCAMP-DX spectral file.
Returns x (wavenumber/chemical shift/m/z) and y (intensity) arrays.
"""
x_data, y_data = [], []
metadata = {}
with open(filepath, "r") as f:
for line in f:
line = line.strip()
if line.startswith("##"):
key_val = line[2:].split("=", 1)
if len(key_val) == 2:
metadata[key_val[0].strip()] = key_val[1].strip()
elif line and not line.startswith("$$"):
parts = line.split()
try:
values = [float(v) for v in parts]
if len(values) >= 2:
x_data.append(values[0])
y_data.extend(values[1:])
except ValueError:
continue
return {
"x": np.array(x_data),
"y": np.array(y_data[:len(x_data)]),
"metadata": metadata,
}
```
## NMR Spectroscopy
### 1H NMR Processing
```python
import nmrglue as ng
def process_1h_nmr(bruker_dir: str) -> dict:
"""
Process 1H NMR data from Bruker format using nmrglue.
bruker_dir: path to Bruker experiment directory
"""
# Read raw data
dic, data = ng.bruker.read(bruker_dir)
# Apply processing
data = ng.bruker.remove_digital_filter(dic, data)
data = ng.proc_base.zf_size(data, 65536) # zero-fill
data = ng.proc_base.fft(data) # Fourier transform
data = ng.proc_autophase.autops(data, "acme") # automatic phasing
data = ng.proc_base.rev(data) # reverse spectrum
data = ng.proc_base.di(data) # discard imaginary
# Generate chemical shift axis (ppm)
udic = ng.bruker.guess_udic(dic, data)
uc = ng.fileiobase.uc_from_udic(udic)
ppm = uc.ppm_scale()
return {
"ppm": ppm,
"spectrum": data.real,
"sf": dic["acqus"]["SFO1"], # spectrometer frequency (MHz)
"sw_ppm": dic["acqus"]["SW"], # sweep width (ppm)
}
def pick_nmr_peaks(ppm: np.ndarray, spectrum: np.ndarray,
threshold: float = 0.05) -> list[dict]:
"""
Automatic peak picking for 1H NMR.
threshold: minimum peak height as fraction of max intensity.
"""
min_height = threshold * np.max(spectrum)
indices, properties = find_peaks(
spectrum, height=min_height, distance=10, prominence=min_height * 0.5
)
peaks = []
for idx in indices:
peaks.append({
"ppm": round(float(ppm[idx]), 3),
"intensity": float(spectrum[idx]),
})
# Sort by chemical shift (high to low, NMR convention)
peaks.sort(key=lambda p: p["ppm"], reverse=True)
return peaks
```
### Common 1H NMR Chemical Shift Ranges
| Chemical Shift (ppm) | Functional Group |
|----------------------|-----------------|
| 0.8-1.0 | CH3 (methyl, alkyl) |
| 1.2-1.4 | CH2 (methylene, alkyl chain) |
| 2.0-2.5 | CH next to C=O |
| 3.3-3.9 | CH next to O or N (ethers, amines) |
| 4.5-5.5 | Vinyl C=CH2, OCH |
| 6.5-8.5 | Aromatic H |
| 9.0-10.0 | Aldehyde CHO |
| 10.0-12.0 | Carboxylic acid OH |
## Mass Spectrometry
### Processing MS Data
```python
from pyteomics import mzml
import numpy as np
def read_mzml_spectra(filepath: str, ms_level: int = 1) -> list[dict]:
"""
Read mass spectra from an mzML file.
ms_level: 1 for MS1 (survey scans), 2 for MS/MS
"""
spectra = []
with mzml.read(filepath) as reader:
for spectrum in reader:
if spectrum.get("ms level") == ms_level:
spectra.append({
"scan": spectrum["index"],
"rt": spectrum["scanList"]["scan"][0].get(
"scan start time", 0
),
"mz": spectrum["m/z array"],
"intensity": spectrum["intensity array"],
"tic": np.sum(spectrum["intensity array"]),
})
return spectra
def find_molecular_ion(mz: np.ndarray, intensity: np.ndarray,
expected_mw: float = None,
tolerance_da: float = 0.5) -> list[dict]:
"""
Identify molecular ion peaks ([M+H]+, [M+Na]+, [M-H]-).
"""
# Find top peaks
top_indices = np.argsort(intensity)[::-1][:20]
candidates = []
adducts = {
"[M+H]+": 1.00728,
"[M+Na]+": 22.98922,
"[M+K]+": 38.96316,
"[M-H]-": -1.00728,
"[M+NH4]+": 18.03437,
}
for idx in top_indices:
peak_mz = mz[idx]
peak_int = intensity[idx]
if expected_mw:
for adduct_name, adduct_mass in adducts.items():
calc_mw = peak_mz - adduct_mass
if absExcerpt, first 6,001 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit e1ba289
git clone https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills git -C Auto-Empirical-Research-Skills checkout e1ba289846fd
The author documents no install command, so this uses the repository directly. Our verdict covers commit e1ba289846fd only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| OpenClaw | Mentioned in its text, not tested | Skills for OpenClaw · About OpenClaw |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
e1ba289846fd
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/brycewang-stanford/spectroscopy-analysis-guide/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
brycewang-stanford/Auto-Empirical-Research-Skills
GIS analysis and remote sensing workflows for geospatial research applications
brycewang-stanford/Auto-Empirical-Research-Skills
Run and manage Google Colab notebooks for Python and ML research
brycewang-stanford/Auto-Empirical-Research-Skills
Advanced Google Scholar search techniques for comprehensive literature discovery
brycewang-stanford/Auto-Empirical-Research-Skills
Ethical Google Scholar data collection techniques and best practices
brycewang-stanford/Auto-Empirical-Research-Skills
Autonomous agent for comprehensive deep research on any topic
brycewang-stanford/Auto-Empirical-Research-Skills
Practical advice for thriving in PhD programs and academic research
Add this badge to your README
[](https://modelsatlas.com/skills/brycewang-stanford/spectroscopy-analysis-guide/)
<a href="https://modelsatlas.com/skills/brycewang-stanford/spectroscopy-analysis-guide/"><img src="https://modelsatlas.com/skills/brycewang-stanford/spectroscopy-analysis-guide/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Spectroscopy Analysis Guide
What does the Spectroscopy Analysis Guide skill do?
Is Spectroscopy Analysis Guide safe to install?
What can Spectroscopy Analysis Guide access on my machine?
Which assistants does Spectroscopy Analysis Guide work with?
How current is this page?
Sources
- github.com/brycewang-stanford/Auto-Empirical-Research-Skills/tre — the audited source at commit e1ba289846fd and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Spectroscopy Analysis Guide skill do?
- Is Spectroscopy Analysis Guide safe to install?
- What can Spectroscopy Analysis Guide access on my machine?