Convert and manipulate atomic simulation data formats using dpdata CLI. Use when converting between DFT/MD output formats or preparing DeePMD-kit training data. Supports 50+ formats including deepmd, xyz or extxyz, ABACUS, VASP, LAMMPS, CP2K, etc.
Please install the OpenClaw skill "dpdata-cli" on the OpenClaw host.
Steps:
- Download: https://skills.jinzhezeng.group/skill-zips/dpdata-cli.zip
- Unzip it to get dpdata-cli/
- Run: npx -y skills add ./dpdata-cli -a openclaw -y
- Start a NEW OpenClaw session so the skill is loaded
Then verify:
openclaw skills list --eligible
openclaw skills info dpdata-cli
Prerequisites: Requires uvx (uv) for running dpdata
If you have shell access on the OpenClaw host, run the commands below.
·Direct download
# Download
wget -O dpdata-cli.zip https://skills.jinzhezeng.group/skill-zips/dpdata-cli.zip
# Unzip. You will get a folder like:
# dpdata-cli/
unzip dpdata-cli.zip
# Install into the current OpenClaw workspace's ./skills/ directory
npx -y skills add ./dpdata-cli -a openclaw -y
# Start a NEW OpenClaw session so the skill is loaded
# Verify:
openclaw skills list --eligible
openclaw skills info dpdata-cli
Prerequisites: Requires uvx (uv) for running dpdata
dpdata CLI
dpdata is a tool for manipulating multiple atomic simulation data formats. This skill enables format conversion between various DFT/MD software outputs via command line.
Important: Plain xyz is a different, simpler format that stores atom species and coordinates but does not provide per-frame properties such as energies, forces, cell information, or periodic boundary conditions. Do not confuse xyz with extxyz.
CLI Examples for extxyz
# Multi-frame extxyz trajectory → deepmd/npy (--multi preserves all frames)uvx dpdata data.xyz -i extxyz -O deepmd_data -o deepmd/npy --multi# Heterogeneous extxyz (mixed compositions) → deepmd/npy/mixeduvx dpdata data.xyz -i extxyz -O deepmd_data -o deepmd/npy/mixed --multi# Convert extxyz to VASP POSCAR (single-frame input only)uvx dpdata data.xyz -i extxyz -O POSCAR -o vasp/poscar# Convert a single-frame extxyz with explicit type mapuvx dpdata data.xyz -i extxyz -O deepmd_data -o deepmd/npy -t H C N O
Tips for extxyz
Use -i extxyz explicitly when working with .xyz files that contain extended XYZ data. Using -i xyz retains only atom species and coordinates, omitting per-frame properties such as energies, forces, and cell information.
Use --multi for any multi-frame extxyz file. Without --multi, the CLI constructs a LabeledSystem that keeps only the first frame. This applies to all multi-frame trajectories, not just heterogeneous (mixed-composition) files. dpdata groups frames by chemical formula internally.
All alias names behave identically — -i mace/xyz, -i nequip/xyz, -i gpumd/xyz, -i quip/gap/xyz, -i quip/gap/xyz_file, and -i extxyz produce the same result.
Tips
Auto-detection: Use -i auto (default) to let dpdata detect format automatically
Type mapping: Use -t to specify atom type order for deepmd formats
Multi-system: Use --multi for directories containing multiple systems
Compressed output: Use deepmd/npy or deepmd/hdf5 for smaller file sizes