dft-phonons

dft-phonons is a skill for Claude Code, Codex from SFETNI/Deep-Matter-Chem-Skills. It costs 5 tokens per session (14,646 once invoked), scanned A, original, MIT.

A workflow for calculating how atoms vibrate inside a solid using density functional theory (DFT), a computer method for estimating electron behavior. It produces vibration curves, vibration distributions, and related thermal properties.

In plain words
What is it for?
Use it to build displaced crystal supercells, calculate forces with Phonopy, VASP, or Quantum ESPRESSO, and process phonon and thermal-property results.
Why use it?
It helps detect unstable crystal structures and provides reference results for checking machine-learning models that predict material behavior.

Skill for Claude CodeCodex

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

Good fit Use it to build displaced crystal supercells, calculate forces with Phonopy, VASP, or Quantum ESPRESSO, and process phonon and thermal-property results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sfetni/deep-matter-chem-skills/dft-phonons
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 SFETNI/Deep-Matter-Chem-Skills --skill dft-phonons
Clone the repo
git clone --depth 1 https://github.com/SFETNI/Deep-Matter-Chem-Skills

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 dft-phonons

README.md
[![agentmods](https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/dft-phonons/github.svg)](https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/dft-phonons)
Your own site
<a href="https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/dft-phonons"><img src="https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/dft-phonons/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 dft-phonons

Your own site · 80×15
<a href="https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/dft-phonons"><img src="https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/dft-phonons.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 14,646 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.00005 $0.14646
Opus 5 $0.00003 $0.07323
Sonnet 5 $0.00001 $0.02929
Haiku 4.5 $0.00001 $0.01465

Measured 12d ago against content hash 05bd4a73cbbd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

dft-phonons 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 12d ago.

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.

skills/electronic-structure/dft-phonons/SKILL.md · 972 lines

How it starts

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

DFT Phonon Calculations

Description

This skill covers lattice dynamics from first principles: computing phonon dispersion curves, phonon density of states (PDOS), and thermal properties using the finite-displacement method (Phonopy + VASP/QE) and density functional perturbation theory (DFPT via Quantum ESPRESSO ph.x or VASP IBRION=7/8). It covers the full workflow from supercell construction and displaced-supercell DFT calculations through force constant extraction, acoustic sum rule enforcement, non-analytical corrections for polar materials, and phonon band structure post-processing. Invoke this skill when computing harmonic phonon properties, diagnosing dynamical instabilities, validating ML interatomic potentials against DFT phonons, or generating phonon reference data for materials databases.

Domain Context

Phonons are the quantum of lattice vibration. They are essential for predicting thermodynamic stability, heat capacity, thermal conductivity, electron-phonon coupling, and phase transitions. Two formally equivalent but practically distinct methods are used in DFT practice:

Finite-displacement (supercell) method: Construct symmetry-inequivalent displaced supercells → run DFT single-point calculations → extract forces → build real-space force constants → Fourier transform to get the dynamical matrix D(q) at arbitrary q-points → diagonalize to get phonon frequencies ω(q). Implemented by Phonopy, which is DFT-code-agnostic.

DFPT (Density Functional Perturbation Theory): Compute the response of the charge density to an atomic displacement as a perturbation at a given wavevector q directly, without supercells. Gives the dynamical matrix at specified q-points directly from a single calculation. Native to Quantum ESPRESSO (ph.x) and also available in VASP (IBRION=7/8). More expensive per q-point than finite displacement for a single structure but avoids the supercell approximation entirely.

Dynamical matrix: D_αβ(q) = (1/√(m_α m_β)) Σ_R Φ_αβ(0,R) e^{iq·R}, where Φ_αβ are the interatomic force constants (second derivatives of the total energy). Eigenvalues of D(q) give ω²(q,s) for each phonon branch s. Negative eigenvalues (imaginary frequencies) signal dynamical instability at that q-point.

Read the full file on GitHub · 972 lines

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. 12d ago First seen · 972 lines · 5 tokens per session scan A 05bd4a73cbbd

Subscribe to this mod's changes

dft-phonons is a skill published in the GitHub repository SFETNI/Deep-Matter-Chem-Skills (6 stars, last pushed 1mo ago), licensed MIT. It adds 5 tokens to every session and 14,646 once invoked, about $0.0000 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-08-31.

Related

Other skills, from other repositories

datamol

Pythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, descriptors, fingerprints, clustering, 3D conformers, parallel processing. Returns native rdkit.Chem.Mol objects. For advanced control or custom parameters…

synthetic-sciences/openscience · 67 tokens

smiles-validation

Strict SMILES validation, structural comparison, and modification verification. Catches invalid LLM-generated molecules.

synthetic-sciences/openscience · 24 tokens

patsnap-biological-modality

Biological sequence and modality intelligence via Patsnap MCP.

patsnap/mcp · 19 tokens

patsnap-scientific-translational-evidence

Patsnap Scientific & Translational Evidence MCP for AI agents. Retrieval platform focusing on scientific literature and translational outcomes, covering academic publication queries and translational medicine record tracking.

patsnap/mcp · 47 tokens

patsnap-target-disease

Patsnap Target & Disease MCP for AI agents. Target and disease profiling tool, covering target characterization, disease profiling, and epidemiology evidence retrieval.

patsnap/mcp · 37 tokens

patsnap-solution-engine

Patsnap TRIZ Concept Solution Engine MCP for AI agents. Generates innovation or product cost-reduction concepts through asynchronous TRIZ and TRIZ/DFMA workflows. Use for engineering problem solving, concept alternatives, cost-reduction analysis, task-progress retrieval, and selected-solution details.

patsnap/mcp · 64 tokens