/atomistic-skills:chem-vibrationfrom Atomistic Skills
Calculates vibrational frequencies, normal modes, zero-point energy, and IR spectra for molecules and clusters using MLIPs (MACE, MACE-MP-0, ORB, etc.) within the harmonic approximation.
Ships in Atomistic Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Calculate the vibrational frequencies ($\nu$), normal modes, and zero-point energy (ZPE) of non-periodic (finite) systems — molecules, clusters, and adsorbates — within the harmonic approximation using Machine Learning Interatomic Potentials (MLIPs).
[!IMPORTANT] This skill is for molecules and finite systems only. For periodic crystals, use the phonon skill instead.
In the harmonic approximation, the potential energy surface near a local minimum is approximated as $V \approx V_0 + \frac{1}{2} \sum_{ij} H_{ij} \Delta r_i \Delta r_j$, where $H_{ij} = \frac{\partial^2 V}{\partial r_i \partial r_j}$ is the Hessian (force constant) matrix. Diagonalizing the mass-weighted Hessian yields $3N$ eigenvalues: for a nonlinear molecule, $3N-6$ are real vibrational modes (and $3N-5$ for linear molecules), while the remaining eigenvalues correspond to translational and rotational degrees of freedom (near zero).
MACEWrapper, MatGLWrapper, or FAIRCHEMWrapper).mlip and fairchem environments.[!IMPORTANT]
- Use OMAT or MatPES trained models (e.g.,
MACE-OMAT-0-small). These are optimized for forces and give reliable Hessians.- The harmonic approximation requires a well-converged equilibrium geometry. Always relax with tight force tolerance (fmax ≤ 0.001 eV/Å) before computing vibrations.
Refer to the foundation-potentials skill for details.
Use ASE's built-in molecule database or provide a structure file:
# Built-in molecules: H2O, CO2, CH4, NH3, CH3OH, C2H6, etc.
# Or provide a .xyz / .cif / POSCAR file
${CLAUDE_SKILL_DIR}/../../venv/run mlip python ${CLAUDE_SKILL_DIR}/scripts/calculate_vibrations.py \
--molecule H2O \
--model_type mace \
--model_name MACE-OMAT-0-small \
--output_dir research/my_folder/vibrations
With a structure file instead:
${CLAUDE_SKILL_DIR}/../../venv/run mlip python ${CLAUDE_SKILL_DIR}/scripts/calculate_vibrations.py \
--structure path/to/molecule.xyz \
--model_type mace \
--model_name MACE-OMAT-0-small \
--no_relax \
--output_dir research/my_folder/vibrations
Key Parameters:
--molecule: ASE built-in molecule name (e.g., H2O, CO2, CH4)--structure: Path to structure file (alternative to --molecule)--delta: Finite-difference displacement in Å (default: 0.01)--nfree: Number of displacements per degree of freedom, 2 or 4 (default: 2)--relax / --no_relax: Whether to relax before vibration analysis (default: relax)--fmax: Force convergence for relaxation (default: 0.001 eV/Å)vibration_results.json: Summary including:
frequencies_cm1: All frequencies in cm⁻¹frequencies_meV: All frequencies in meVreal_modes: Indices and frequencies of real vibrational modesimaginary_modes: Indices and frequencies of imaginary modes (should be near zero)zero_point_energy_eV: Zero-point energy in eVn_atoms, formula, is_linearvib.N.traj: Trajectory files for each vibrational mode (for visualization)See examples/H2O/ for a water molecule vibration analysis.
${CLAUDE_SKILL_DIR}/../../venv/run mlip python ${CLAUDE_SKILL_DIR}/scripts/calculate_vibrations.py \
--molecule H2O \
--model_type mace \
--model_name MACE-OMAT-0-small \
--output_dir ${CLAUDE_SKILL_DIR}/examples/H2O
Expected H2O vibrational modes (experimental reference):
| Mode | Type | Experimental (cm⁻¹) |
|---|---|---|
| Bending | ν₂ | ~1595 |
| Symmetric stretch | ν₁ | ~3657 |
| Asymmetric stretch | ν₃ | ~3756 |
venv/run <venv> ...):
mlip for MACE and MatGL/CHGNet modelsfairchem for FairChem/UMA modelsAuthor: Bowen Deng Contact: GitHub @learningmatter-mit
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub learningmatter-mit/atomisticskills --plugin atomistic-skills133 skills in this plugin
/chem-bond-dissociationCalculate homolytic and heterolytic bond dissociation energies (BDEs) for all single bonds in a molecule using MLIPs with RDKit fragmentation./chem-conformer-searchGenerate molecular conformers with RDKit ETKDG, relax with MLIPs, and rank by energy with Boltzmann weighting./chem-db-mofQuery multiple MOF databases (QMOF via MPContribs; ARC-MOF DB7/Majumdar et al. via Materials Cloud) and download CIF structures with optional element or identifier filters./chem-db-qmofQuery the Quantum MOF (QMOF) database via Materials Project's MPContribs platform for DFT-computed properties (bandgap) and optimized crystal structures of Metal-Organic Frameworks./chem-db-spectraSearch and download experimental InfraRed (IR), Mass spectra, and UV-Vis spectra data (JCAMP-DX format) for molecules./chem-dft-orca-advanced-calculationWrite and run custom ORCA input files for advanced electronic structure methods or settings not available through the SCINE wrapper, including multi-reference methods, excited states, relativistic effects, advanced SCF, NMR/EPR, and more.Other plugins' skills for the same job