mat-raman-spectra

mat-raman-spectra is a skill for Claude Code, Codex from learningmatter-mit/AtomisticSkills. It costs 42 tokens per session (2,182 once invoked), scanned A, original, MIT.

A workflow that predicts the vibrational frequencies of a crystal’s Raman-active modes and uses them to simulate a Raman spectrum. Raman spectroscopy identifies materials by how light interacts with their atomic vibrations.

In plain words
What is it for?
It is used to predict Raman peak positions from machine-learning phonon calculations and, when needed, calculate intensities using electronic-structure calculations.
Why use it?
It helps assign measured Raman peaks to crystal vibrations and can optionally calculate more realistic peak intensities with density-functional theory.

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/mat-raman-spectra
Any agent
npx skills add learningmatter-mit/AtomisticSkills --skill mat-raman-spectra
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 mat-raman-spectra

README.md
[![agentmods](https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/mat-raman-spectra.svg)](https://agentmods.dev/skills/learningmatter-mit/atomisticskills/mat-raman-spectra)
Your own site
<a href="https://agentmods.dev/skills/learningmatter-mit/atomisticskills/mat-raman-spectra"><img src="https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/mat-raman-spectra.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,182 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.00042 $0.02182
Opus 5 $0.00021 $0.01091
Sonnet 5 $0.00008 $0.00436
Haiku 4.5 $0.00004 $0.00218

Measured yesterday against content hash 6c59339e20ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mat-raman-spectra 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 yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (examples/tio2-rutile/replot.py, scripts/analyze_raman_modes.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/mat-raman-spectra/SKILL.md · 179 lines

How it starts

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

Raman Spectra Calculation

Goal

To calculate the Raman spectrum of a crystalline material by:

  1. Identifying Raman-active phonon modes via group-theory symmetry analysis of Γ-point phonons (MLIP-only path)
  2. Optionally computing full Raman scattering intensities using DFT-level Born effective charges and dielectric tensors (DFT path)

Physical background: Raman scattering intensity of mode $\nu$ is proportional to $|(\hat{e}i \cdot \alpha\nu \cdot \hat{e}s)|^2$, where $\alpha\nu = d\boldsymbol{\alpha}/dQ_\nu$ is the Raman tensor (derivative of polarizability with respect to mode coordinate $Q_\nu$). Computing $\alpha_\nu$ requires DFT-level dielectric calculations; phonon frequencies alone can be obtained with MLIPs.

[!IMPORTANT] Two-tier approach:

  • MLIP tier (Step 1–3): Predicts Raman peak positions (frequencies). Intensities are set equal as a placeholder. Sufficient for peak assignment and comparison with experiment when known structure is available.
  • DFT tier (Step 4): Computes actual Raman intensities via Born charges and dielectric tensor from VASP DFPT. Required for quantitative intensity matching.

Prerequisites

  • Pymatgen, phonopy installed in base-agent (for symmetry analysis and plotting)
  • MLIP environment (mace-agent, matgl-agent, or fairchem-agent) for phonon calculation

Instructions

1. Relax Structure

Before computing phonons, ensure the structure is fully relaxed. Use the MCP tool for your chosen MLIP:

# Env: mace-agent
mcp_mace_load_model(model_name="MACE-MH-1")
mcp_mace_relax_structure(
    structure_data="input_structure.cif",
    relax_cell=True,
    fmax=0.001,       # tight convergence for phonons
    output_dir="relaxation/"
)

[!IMPORTANT] Use a tight force convergence (fmax ≤ 0.001 eV/Å) for phonon calculations. Poorly relaxed structures produce imaginary frequencies that indicate a false structural instability.

2. Calculate Phonons (MLIP)

Use the mat-phonon skill to compute Γ-point phonons. The output phonon.yaml is the required input for this skill.

Read the full file on GitHub · 179 lines

Files

What ships with it

6 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. yesterday First seen · 179 lines · 42 tokens per session scan A 6c59339e20ee

Subscribe to this mod's changes

mat-raman-spectra is a skill published in the GitHub repository learningmatter-mit/AtomisticSkills (158 stars, last pushed yesterday), licensed MIT. It adds 42 tokens to every session and 2,182 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-09-03.

Related

Other skills, from other repositories

cd-calculator

Python calculators for geometry analysis, structural checking, solar calculations, panel optimization, mesh analysis, material estimation, and fabrication cost estimation for AEC computational design.

Abhinavbwj/Claude-skills-for-Computational-Designers · 30 tokens

cd-calculator

Python calculators for geometry analysis, structural checking, solar calculations, panel optimization, mesh analysis, material estimation, and fabrication cost estimation for AEC computational design.

marcinfinitesimal533/Claude-skills-for-Computational-Designers · 30 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens

auditing-subgroup-fairness

Audit an OpenMed NER or de-identification model for performance disparities across demographic subgroups (sex, age band, race/ethnicity when available) using openmed.eval.fairnessreport. Use when the user wants per-subgroup recall and leakage, wants to check whether de-identification under-protects a group, wants to…

maziyarpanahi/openmed · 148 tokens