quantum-espresso

quantum-espresso is a skill for Claude Code, Codex from SFETNI/Deep-Matter-Chem-Skills. It costs 4 tokens per session (8,562 once invoked), scanned A, original, MIT.

A workflow guide for Quantum ESPRESSO, an open-source program that simulates the electronic structure of materials using density functional theory, a physics method for estimating material properties.

In plain words
What is it for?
Use it to prepare inputs, choose pseudopotentials, run self-consistent calculations, relax structures, and produce band-structure or density-of-states results.
Why use it?
It helps avoid setup and convergence mistakes in calculations that require carefully chosen inputs, pseudopotentials, and computing resources.

Skill for Claude CodeCodex

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

Good fit Use it to prepare inputs, choose pseudopotentials, run self-consistent calculations, relax structures, and produce band-structure or density-of-states results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sfetni/deep-matter-chem-skills/quantum-espresso
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 quantum-espresso
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 quantum-espresso

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/quantum-espresso"><img src="https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/quantum-espresso.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,562 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00004 $0.08562
Opus 5 $0.00002 $0.04281
Sonnet 5 $0.00001 $0.01712
Haiku 4.5 $0.00000 $0.00856

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

Security

Grade A, and why

quantum-espresso scanned grade A with 1 finding 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.run(["bands.x", "-in", "bands_pp.in"], check=True)
skills/electronic-structure/quantum-espresso/SKILL.md · 550 lines

How it starts

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

Quantum ESPRESSO Workflow

Description

This skill covers end-to-end DFT calculations using Quantum ESPRESSO (QE), from input file construction and pseudopotential selection through SCF convergence, structural relaxation, band structure, and DOS workflows. QE is the dominant open-source plane-wave DFT code and the standard backend for many high-throughput databases, phonon codes (PHonon/DFPT), and ML potential pipelines. Invoke this skill when setting up or debugging a QE calculation, selecting pseudopotentials, parallelizing across HPC resources, or generating DFT reference data with an open-source code.

Domain Context

Quantum ESPRESSO solves the Kohn-Sham DFT equations using a plane-wave basis set on a regular real-space grid, with pseudopotentials or PAW datasets representing core electrons. The plane-wave expansion is controlled by ecutwfc (wavefunction cutoff, in Ry) and ecutrho (charge density cutoff, in Ry). Unlike VASP, QE uses open pseudopotential libraries (SSSP, PseudoDojo) rather than bundled PAW datasets, making pseudopotential choice an explicit user responsibility.

Key physical approximations and their consequences:

  • Pseudopotential approximation: Core electrons are replaced by a smooth effective potential. The cutoff radius and the number of valence electrons depend on the pseudopotential. Harder (smaller cutoff radius) pseudopotentials require higher ecutwfc but are more transferable. Softer (larger cutoff radius) pseudopotentials are cheaper but may fail for highly compressed lattices or unusual oxidation states.
  • Ultrasoft vs. norm-conserving vs. PAW: Ultrasoft pseudopotentials (USPP) achieve low ecutwfc at the cost of requiring a separately converged ecutrho (typically 8–12× ecutwfc). Norm-conserving (NC) pseudopotentials use ecutrho = 4 × ecutwfc and are required for linear-response properties and many GW/TDDFT applications. PAW reconstructs all-electron wavefunctions and gives accuracy close to all-electron at moderate cost.
  • Periodic boundary conditions: QE assumes 3D periodicity. Molecules, surfaces, and wires in a box must be handled with sufficient vacuum and, for charged systems or polar slabs, Makov-Payne or Martyna-Tuckerman corrections.
  • Density functional: The functional is selected via the pseudopotential — each PP is generated for a specific functional (PBE, PBEsol, LDA, etc.). Unlike VASP, the input_dft tag in &SYSTEM can override this, but should only be used with care and for compatible PP/functional pairs.

Read the full file on GitHub · 550 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 · 550 lines · 4 tokens per session scan A 20326cf47c98

Subscribe to this mod's changes

quantum-espresso is a skill published in the GitHub repository SFETNI/Deep-Matter-Chem-Skills (6 stars, last pushed 1mo ago), licensed MIT. It adds 4 tokens to every session and 8,562 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). 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