| name | vasp-workflows |
|---|---|
| description | Use when the task involves VASP density-functional theory workflows, including INCAR, POSCAR, KPOINTS, and POTCAR preparation, relax, static, DOS, band, and optics setups, OUTCAR or OSZICAR review, restart handling, convergence checks, and Slurm or PBS job scripts. |
This skill handles practical VASP setup, review, and recovery. Use it when the request is clearly VASP-specific and needs auditable file choices rather than generic DFT commentary.
Use this skill when the user mentions or implies:
VASP,INCAR,POSCAR,KPOINTS,POTCAR,OUTCAR,OSZICAR,vasprun.xml- structure relaxations, static energies, DOS, band structures, convergence tests, restarts, or scheduler scripts in VASP
- smearing choices,
MAGMOM,ICHARG,WAVECAR,CHGCAR,NELM, or common VASP failure modes
Prioritize missing information in this order:
- task:
relax,static,dos,band, or restart - material class: metal, semiconductor, insulator, magnetic system, correlated system, slab, or charged cell
- reproducibility choices: PAW set, functional,
+U, SOC, vdW treatment - runtime environment: scheduler, MPI launcher, scratch handling, and restart files
Never silently invent:
POTCARavailability, version, or licensingMAGMOM,LDAU*, SOC, hybrid, or vdW settings- whether a structure should be metallic or insulating when the evidence is weak
- a band path without a real source
- Setup: generate or edit VASP inputs and stage layout.
- Review: inspect an existing VASP directory and summarize status.
- Recovery: identify the likely failure mode and recommend the smallest safe restart.
Before recommending settings, establish:
- structure source and whether the system is bulk, slab, or molecule-in-box
- target observable: relaxed geometry, total energy, DOS, or band structure
- pseudo policy and whether the project has a standard PAW set
- whether magnetism, correlation, SOC, or dispersion is relevant
- scheduler environment and expected walltime
scripts/make_vasp_inputs.pyGenerate conservativerelax,static,dos,band, oropticsworkflow skeletons.scripts/check_vasp_job.pyCheck one VASP directory or staged workflow root for missing files and restart dependencies.scripts/summarize_vasp_run.pySummarize a VASP run usingINCAR,OSZICAR, andOUTCAR.scripts/recommend_vasp_recovery.pyTurn incomplete or failed VASP runs into concrete restart and recovery guidance.scripts/export_status_report.pyExport a shareable markdown status report from a VASP run or staged workflow.scripts/export_input_suggestions.pyExport conservative VASP input snippets based on detected recovery patterns.
- VASP workflow and file guidance:
references/vasp.md - convergence planning:
references/convergence.md - VASP failures and restarts:
references/failure-modes.md - scheduler notes:
references/schedulers.md
Whenever you recommend edits or restarts, include:
- the assumed task and parent-child stage relationship
- unresolved physics choices the user must still confirm
- exact files changed or generated
- what output or artifact must exist before the next stage can run
- Separate exploratory relaxation settings from production-quality final energies.
- DOS and band workflows are child calculations, not first calculations.
- If
ICHARG=11or restart files are involved, say explicitly which parent artifacts are required. - If the run is not reproducible because key metadata is missing, say so directly.
- Prefer conservative defaults over flashy guesses.
- Distinguish VASP syntax advice from material-specific physics advice.
- Diagnose from the actual logs when logs are available.