dft-qe
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "dft-qe" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-4ceac2352f5a0eb6245f7c134521f5a39760c2f6af25fbaa282878f956c679aa. Verify the upstream source and version against https://github.com/jinzhezenggroup/computational-chemistry-agent-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Quantum ESPRESSO Task Generator: generates Quantum ESPRESSO DFT input tasks from user-provided structures and DFT settings (pseudopotentials, functional, cutoff energy, k-points, smearing, spin/charge state, convergence parameters, etc.) for SCF, NSCF, relax, vc-relax, MD, band, DOS, or phonon calculations. This skill only generates QE tasks; use a separate submission skill to submit them.
Introduction source: third_party · jinzhezenggroup · 1.0 Reference
SkillPi interpretation
- Tasks
- Generate Quantum ESPRESSO DFT input tasks from a user-provided structure plus user-specified DFT settings. Use when the user wants to prepare QE calculations such as SCF, NSCF, relax, vc-relax, MD, bands, DOS, or phonons starting from a structure file or coordinates together with pseudopotentials, functional choice, cutoffs, k-point settings, smearing, spin/charge, and convergence parameters. This skill prepares the QE task only; use a separate submission skill such as dpdisp-submit to submit the generated task.
- Inputs and outputs
- Use this bundled example-plus-layout pattern as the reference: generated QE input example: `assets/pw-water-0.in` user-provided structure staging pattern: `openclaw_input/` containing files such as `structure.xyz` and `CELL` Treat this as the canonical pattern for what the user is expected to provide and what this skill is expected to generate. The structure format does **not** need to be fixed to xyz. If the user provides another reasonable atomistic structure format, convert or normalize it as needed. When format conversion is needed, use the `dpdata-cli` skill. For periodic systems, ensure cell information is preserved. If a plain xyz file is used, cell data must be provided separately, f
- Software, accounts and paid services
- The user must provide a structure. Do not generate a QE task without a user-provided structure source. If the structure is missing, stop and ask for it.
- Testing
- Not tested
Browse files
Frontmatter
name: dft-qe
description: Generate Quantum ESPRESSO DFT input tasks from a user-provided structure plus user-specified DFT settings. Use when the user wants to prepare QE calculations such as SCF, NSCF, relax, vc-relax, MD, bands, DOS, or phonons starting from a structure file or coordinates together with pseudopotentials, functional choice, cutoffs, k-point settings, smearing, spin/charge, and convergence parameters. This skill prepares the QE task only; use a separate submission skill such as dpdisp-submit to submit the generated task.
compatibility: Requires a user-provided initial structure and enough DFT parameters to build a scientifically meaningful QE input.
license: LGPL-3.0-or-later
metadata:
author: Yi-FanLi
version: '1.0'
repository: https://gitlab.com/QEF/q-e
qe_docs: https://www.quantum-espresso.org/Doc/user_guide/DFT with Quantum ESPRESSO
Use this skill to build a QE DFT task from a user-provided structure and DFT settings.
Scope
This skill should:
- require a user-provided structure
- read or normalize the structure input
- identify the target calculation type
- collect the minimum required DFT settings
- generate the QE input file
- organize the task directory in a way that can be handed off to a submission skill
- state assumptions and unresolved choices
This skill should not:
- submit jobs
- manage schedulers
- handle remote execution
- invent critical scientific parameters
If the user wants the task submitted, hand off to another skill such as dpdisp-submit after the QE task is generated.
Hard requirement
The user must provide a structure.
Do not generate a QE task without a user-provided structure source. If the structure is missing, stop and ask for it.
Structure input convention
Use this bundled example-plus-layout pattern as the reference:
- generated QE input example:
assets/pw-water-0.in - user-provided structure staging pattern:
openclaw_input/containing files such asstructure.xyzandCELL
Treat this as the canonical pattern for what the user is expected to provide and what this skill is expected to generate.
The structure format does not need to be fixed to xyz. If the user provides another reasonable atomistic structure format, convert or normalize it as needed. When format conversion is needed, use the dpdata-cli skill.
For periodic systems, ensure cell information is preserved. If a plain xyz file is used, cell data must be provided separately, for example through a CELL file.
For a concrete file-oriented workflow, see references/commands-and-workflow.md.
Expected workflow
- Start from a user-provided structure.
- Normalize the structure into the task layout if needed.
- Determine the target QE calculation type.
- Collect only the missing critical DFT parameters.
- Generate the QE input file.
- Place the generated task in a runnable task directory.
- If submission is requested, pass that directory to
dpdisp-submit.
DFT parameters to collect
Must provide
Do not generate a formal QE task unless these are known or explicitly confirmed:
calculationinput_dftecutwfcpseudo_dir- pseudopotential file for each element
Usually should be explicit
These should normally be confirmed rather than guessed:
vdw_corrwhen dispersion may matterecutrhowhen relevant to the pseudopotential family or workflowK_POINTSsetting, for examplegammaor an automatic mesh- occupation / smearing settings for metallic or ambiguous systems
conv_threlectron_maxstep
Task-specific additions
Also collect task-dependent parameters when relevant.
For relax / vc-relax:
forc_conv_thretot_conv_thrcell_dofreeforvc-relax
For md:
nstepdtion_temperaturetempwion_dynamics
For spin-polarized or magnetic systems:
nspinstarting_magnetization- charge or spin-related settings if requested
For advanced workflows if explicitly requested:
- Hubbard U settings
- hybrid-functional settings
- electric field settings such as
edir,emaxpos, or related controls
Do not ask for everything at once; ask only for the missing essentials.
Required behavior
- Inspect the provided structure if accessible.
- Determine elements, cell information, and coordinate representation.
- If format normalization is needed, convert the structure using
dpdata-cli. - Confirm the QE task type.
- Gather only the missing critical DFT settings.
- Generate the QE input yourself.
- Explain assumptions clearly.
- Flag unresolved scientific choices instead of hiding them.
- Prepare the task directory so another skill can submit it.
Template pattern
Use the QE example input included in this repository:
assets/pw-water-0.in
as the reference pattern for how a QE task is organized and how the pw.x input is laid out.
In this workflow:
- the user provides the structure in
openclaw_input-style form - this skill generates the QE input task, analogous to files like
assets/pw-water-0.in - a separate submission skill handles the job script and submission stage
Do not hard-code the example chemistry. Reuse only the workflow pattern.
Defaulting policy
Allowed only for low-risk, clearly labeled assumptions.
Reasonable provisional defaults:
calculation='scf'for a plain single-point request- standard electronic convergence threshold when the user does not care
- basic verbosity settings
Do not silently invent:
- structure data
- pseudopotential filenames
- production cutoffs
- production k-point meshes
- magnetic state for open-shell systems
- Hubbard / vdW / hybrid settings
- metallic smearing behavior when the system character is unclear
Expected output
Provide:
- the full QE input file
- a short summary of the chosen settings
- explicit assumptions
- any decisions the user should still confirm
- the generated task directory or file set for the next skill
- if submission is requested, explicitly say the next step is
dpdisp-submit
Minimal pw.x structure
&CONTROL
calculation = 'scf'
prefix = 'system'
outdir = './'
/
&SYSTEM
ibrav = 0
nat = ...
ntyp = ...
ecutwfc = ...
ecutrho = ...
/
&ELECTRONS
conv_thr = 1.0d-8
/
ATOMIC_SPECIES
...
CELL_PARAMETERS angstrom
...
ATOMIC_POSITIONS angstrom
...
K_POINTS automatic
kx ky kz 0 0 0
Handoff rule
When the user asks to submit the generated QE task, do not implement submission logic here. Instead:
- finish generating the QE task directory and input file
- tell the user the task is ready for submission
- hand off to
dpdisp-submit
Common failure points
- missing user-provided structure
- missing cell for periodic systems
- incomplete pseudopotential mapping
nat/ntypinconsistent with the structure- missing or poor cutoffs
- missing or inappropriate smearing
- omitted spin settings for magnetic cases
- requesting post-processing or phonons without prerequisite context
Current listing version
1.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 直接解决用户在第一性原理计算中准备Quantum ESPRESSO输入文件的明确痛点
- 适用于科研与材料计算场景,具有广泛实用价值
- 功能定位清晰,专注于输入文件生成而非任务提交
Highlights
- 触发词精准完整,覆盖多种变体,边界清晰
- description中明确列出了适用场景和参数要求
- 触发条件清晰,用户容易理解何时使用此技能
Highlights
- Phase/步骤清晰,有出口条件,含端到端示例
- frontmatter完整,单文件≤500行
- 文档结构良好,包含Scope、Expected workflow、DFT parameters to collect等清晰章节
Highlights
- 工具来源明确,参数正确,覆盖主要异常
- 不可逆操作有确认机制
- 技能明确要求用户提供结构,并详细列出了必须提供的参数
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- gitlab.com
- www.quantum-espresso.org
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
The user must provide a structure. Do not generate a QE task without a user-provided structure source. If the structure is missing, stop and ask for it.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.