Qe workflows
Agent skill for Quantum ESPRESSO workflow setup, convergence checks, restarts, and scheduler scripts.
npx -y skills add chatmaterials/qe-workflowsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when the task involves Quantum ESPRESSO workflows, including pw.x input preparation, scf, relax, dos.x, projwfc.x, and bands.x setups, pseudopotential and scratch layout checks, restart handling, pw.x output review, convergence checks, and Slurm or PBS job scripts.
SKILL.md
3.9 KB, as published. Nobody here has run it
QE Workflows
This skill handles practical Quantum ESPRESSO setup, review, and recovery. Use it when the request is clearly about pw.x, dos.x, bands.x, .UPF management, or QE stage orchestration.
When to use
Use this skill when the user mentions or implies:
Quantum ESPRESSO,QE,pw.x,dos.x,bands.x,projwfc.x,.UPFscf,relax,vc-relax,nscf, DOS, band structure, restart, or scheduler scripts in QEecutwfc,ecutrho,occupations,degauss,prefix,pseudo_dir,outdir, or scratch-tree issues
Operating stance
Prioritize missing information in this order:
- task:
scf,relax,dos,band, or restart - pseudo family and exchange-correlation consistency
- occupations, smearing, and whether the system is metallic or not
- parent-child file flow through
prefix,pseudo_dir, andoutdir - scheduler and MPI launcher
Never silently invent:
.UPFfilenames, versions, or pseudo families- whether a system should be fixed occupations or smearing when the class is unclear
- a band path without a real source
- whether missing QE scratch data can be reconstructed when it is gone
Workflow
1. Classify the request
- Setup: generate or edit QE inputs and stage layout.
- Review: inspect an existing QE directory and summarize status.
- Recovery: identify the likely failure mode and recommend the smallest safe restart.
2. Gather the minimum viable context
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 a standard pseudo family already exists
- whether the system is metallic, insulating, magnetic, or unknown
- scheduler environment and scratch handling
3. Use the bundled helpers
scripts/make_qe_inputs.pyGenerate conservativescf,relax,dos,projwfc, orbandworkflow skeletons.scripts/check_qe_job.pyCheck one QE directory or staged workflow root for missing inputs and pseudo or restart dependencies.scripts/summarize_qe_run.pySummarize a QE run using the input andpw.xoutput.scripts/recommend_qe_recovery.pyTurn incomplete or failed QE runs into concrete restart and recovery guidance.scripts/export_status_report.pyExport a shareable markdown status report from a QE run or staged workflow.scripts/export_input_suggestions.pyExport conservative QE input snippets based on detected recovery patterns.
4. Load focused references only when needed
- QE workflow and file guidance:
references/qe.md - convergence planning:
references/convergence.md - QE failures and restarts:
references/failure-modes.md - scheduler notes:
references/schedulers.md
5. Deliver an auditable answer
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 scratch or output artifacts must exist before the next stage can run
Guardrails
- DOS and band workflows are dependent child calculations, not first calculations.
- Keep
prefix,pseudo_dir, andoutdirconsistent across related stages. - If the workflow depends on scratch data that is gone, say plainly that the parent stage may need to rerun.
- If the band path is unresolved, say so instead of fabricating one.
Quality bar
- Prefer conservative defaults over flashy guesses.
- Distinguish QE syntax advice from material-specific physics advice.
- Diagnose from the actual logs when logs are available.