Skip to content
Back to skills

Spectroscopy

ASecurity

'Skills for computing spectroscopic observables from first principles:

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentspythonbash

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill spectroscopy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spectroscopy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Spectroscopy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-spectroscopy/badge)](https://www.skillsdirectory.com/skills/majiayu000-spectroscopy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: spectroscopy
description: 'Skills for computing spectroscopic observables from first principles:
  vibrational spectra (IR, Raman) and core-level X-ray absorption spectra (XAS/XANES).
  These connect atomistic simulations to experimental measurements.'
---

---
name: spectroscopy
description: Spectroscopy Simulation (2 sub-skills: raman-ir, xas-xanes)
---

# Spectroscopy Simulation

## Overview

Skills for computing spectroscopic observables from first principles: vibrational spectra (IR, Raman) and core-level X-ray absorption spectra (XAS/XANES). These connect atomistic simulations to experimental measurements.

## Sub-skills

| Skill | Path | Description |
|-------|------|-------------|
| [Raman & IR Spectroscopy](raman-ir/SKILL.md) | `raman-ir/` | Compute infrared and Raman spectra from Gamma-point phonons. Uses QE `ph.x` or MACE + finite differences. Includes Born effective charges, dielectric tensors, and Lorentzian broadening. |
| [XAS/XANES Spectroscopy](xas-xanes/SKILL.md) | `xas-xanes/` | Simulate X-ray absorption near-edge structure using QE `xspectra.x`. Core-hole pseudopotential approach for K-edge and L-edge spectra. |

## Typical Workflow

1. **Relax structure** with QE `pw.x` or MACE.
2. **IR/Raman**: Compute Gamma-point phonons, extract intensities, plot spectra.
3. **XAS/XANES**: Run core-hole SCF, then `xspectra.x` for absorption cross-section.

## Prerequisites

```bash
# QE binaries: pw.x, ph.x, pp.x, dynmat.x, xspectra.x
# Python: ase, pymatgen, phonopy (pip install phonopy), numpy, scipy, matplotlib
# MACE: mace-torch (for finite-difference approach)
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.