mat-dft-vasp

mat-dft-vasp is a skill for Claude Code, Codex from learningmatter-mit/AtomisticSkills. It costs 34 tokens per session (778 once invoked), scanned A, original, MIT.

A workflow for preparing VASP input files, running density-functional theory (DFT) calculations, and reading their results. VASP is a software package for simulating materials at the atomic and electronic level.

In plain words
What is it for?
Use it to prepare calculations from structure files, run them locally or remotely, and parse VASP output.
Why use it?
It removes the need to assemble calculation files and extract energies, forces, stresses, and final structures by hand.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/mat-dft-vasp.svg)](https://agentmods.dev/skills/learningmatter-mit/atomisticskills/mat-dft-vasp)
Your own site
<a href="https://agentmods.dev/skills/learningmatter-mit/atomisticskills/mat-dft-vasp"><img src="https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/mat-dft-vasp.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 778 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00034 $0.00778
Opus 5 $0.00017 $0.00389
Sonnet 5 $0.00007 $0.00156
Haiku 4.5 $0.00003 $0.00078

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

Security

Grade A, and why

mat-dft-vasp 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 today.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/parse_vasp_results.py, scripts/prepare_vasp_inputs.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-dft-vasp/SKILL.md · 60 lines

How it starts

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

mat-dft-vasp

Goal

To prepare VASP input files (INCAR, POTCAR, KPOINTS, POSCAR) locally for a structure or list of structures, and to parse the resulting VASP output files (vasprun.xml, OUTCAR) to extract the final energies, forces, stress, and geometries.

[!TIP] Atomate2 Recommendation: It is highly recommended to run VASP through the atomate2 MCP server/tools instead of manually using this skill. atomate2 natively handles automatic SLURM job submission, dynamic error handling and on-the-fly corrections, automated result parsing, and MongoDB cloud storage.

Instructions

Step 1. Prepare VASP Inputs

Use the prepare_vasp_inputs.py script to generate local input files from a structure (CIF, XYZ, POSCAR) or a directory of structures.

# Env: base-agent
python .agents/skills/mat-dft-vasp/scripts/prepare_vasp_inputs.py \
    <structure-path> \
    <output-dir> \
    --preset_type matpes-r2scan \
    --calculation_type relaxation

Parameters:

  • structure_path: Path to a single structure or a directory of structures.
  • output_dir: Location to write the inputs. If structure_path is a directory, subdirectories will be created.
  • --preset_type: Standard VASP presets. Options include omat, mp, matpes-pbe, and matpes-r2scan.
  • --calculation_type: Defaults to relaxation. Use static for SCF static single-point.

(Note: Once inputs are generated, you can submit the VASP jobs to an HPC or local cluster. If you instead want to run VASP jobs automatically through Jobflow on configured remote resources, consider using the mcp_atomate2_run_atomate2_vasp_calculation MCP tool).

Step 2. Parse VASP Results

After the VASP calculation has concluded, extract the output data (energy, forces, stress, structure) using parse_vasp_results.py. This handles both single directories (containing a vasprun.xml) and root directories with multiple subdirectories.

# Env: base-agent
python .agents/skills/mat-dft-vasp/scripts/parse_vasp_results.py \
    <vasp-output-dir> \
    --save_to_file parsed_results.json

Read the full file on GitHub · 60 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. today First seen · 60 lines · 34 tokens per session scan A badf4f187ab2

Subscribe to this mod's changes

mat-dft-vasp is a skill published in the GitHub repository learningmatter-mit/AtomisticSkills (158 stars, last pushed yesterday), licensed MIT. It adds 34 tokens to every session and 778 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

evaluating-with-leakage-gates

Evaluate an OpenMed de-identification or clinical NER model against the leakage-first release gates G1a through G8, which gate releases on residual PHI leakage rather than on F1. Use when the user wants to run the OpenMed eval harness on a synthetic golden set, decide whether a de-id model is RELEASABLE or…

maziyarpanahi/openmed · 158 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

mixed-precision

Use FP16/BF16 mixed precision to accelerate training and reduce memory. Use when optimizing GPU performance.

aiming-lab/AutoResearchClaw · 25 tokens

tooluniverse-drug-research

Comprehensive drug profiling — mechanism, primary/secondary targets, drug interactions, clinical-trial status, adverse events (FAERS), pharmacogenomics, and approval history. Use for full drug investigation reports, 'tell me about drug X' queries, and assembling drug profiles for clinicians, researchers, or regulatory…

mims-harvard/ToolUniverse · 71 tokens