一键导入
structure-conversion
Convert crystal structure files between extxyz and CIF, including splitting multi-frame extxyz into per-frame CIF files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Convert crystal structure files between extxyz and CIF, including splitting multi-frame extxyz into per-frame CIF files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Prepare, validate, and submit UMA/fairchem machine-learning interatomic potential calculations on Genkai with the established PJM launcher and UMA virtual environment. Use for MLIP or UMA structure relaxation, molecular dynamics, energy/force inference, GPU calculations, PJM submission, restart preparation, or locating and reporting calculation outputs.
Read surface-research PDFs or JSON records and extract structured reaction, material, and modeling information for downstream agent workflows.
Build realistic oxide-surface candidates: oxygen-vacancy landscapes, adsorbate coverage landscapes, and metal-cluster-on-surface starting structures using ASE, Optuna, and optional UMA/FAIRChem calculators.
Filter and normalize paperread surface-extraction outputs into Agent-ready modeling inputs, including facet equivalence, loaded nanoparticle species, material class, reaction type, and executable modeling task mapping.
Prepare, stage, and summarize LOBSTER bonding-analysis calculations from completed VASP, CP2K, or Quantum ESPRESSO outputs.
Skill for executing ABACUS DFT materials calculations. Help users set up, run, and analyze ABACUS calculations.
| name | structure-conversion |
| description | Convert crystal structure files between extxyz and CIF, including splitting multi-frame extxyz into per-frame CIF files. |
| metadata | {"tools":["run_python_file"],"tags":["structure","conversion","extxyz","cif","ASE"]} |
Use the CLI script structure_conversion_tools.py (located alongside this file) to convert structure files between extxyz and cif. It mirrors the behavior of the former ase_structure_convert_tool and is especially useful for turning MatterGen multi-frame extxyz outputs into per-frame cif files.
Every command writes a JSON object to stdout and exits 0 on success or 1 on error. Always parse the JSON output and confirm "status": "success".
python skills/structure_conversion/structure_conversion_tools.py convert <input_file> <output_path> [options]
cif -> extxyzextxyz or xyz -> single cifextxyz or xyz -> directory of per-frame cif filesextxyz or xyz -> extxyzFor multi-frame extxyz input, never collapse all frames into one cif. Write one cif file per frame using stable names such as frame_000001.cif.
convertConvert a structure file and return output metadata.
Positional arguments
| Argument | Description |
|---|---|
input_file | Source structure path. Supported: .extxyz, .xyz, .cif |
output_path | Output file path or output directory |
Optional arguments
| Flag | Type | Description |
|---|---|---|
--output-format | str | Explicit target format: cif or extxyz. If omitted, infer from output_path |
JSON response fields
status, message, output_mode, output_format, frame_count, output_path, output_paths
extxyz to cif# Multi-frame extxyz to per-frame CIF directory
python skills/structure_conversion/structure_conversion_tools.py convert \
generated.extxyz converted_cifs --output-format cif
# Single CIF to extxyz
python skills/structure_conversion/structure_conversion_tools.py convert \
structure.cif structure.extxyz
mattergen generation and before downstream property predictionoutput_format is omitted, the script infers it from output_pathcif, the result is a directory, not a single file