|
| 1 | +# Agent Skills |
| 2 | + |
| 3 | +DeePMD-kit provides official [Agent Skills](https://agentskills.io/what-are-skills) that help AI agents run |
| 4 | +DeePMD-kit workflows in a reproducible way. These skills capture |
| 5 | +project-specific operating knowledge—such as training inputs, model |
| 6 | +deployment, LAMMPS integration, and Python inference patterns—so an agent can |
| 7 | +turn a high-level request into concrete files, commands, and validation steps. |
| 8 | + |
| 9 | +The DeePMD-kit skills were initially developed in the |
| 10 | +[Computational Chemistry Agent Skills](https://github.com/jinzhezenggroup/computational-chemistry-agent-skills) |
| 11 | +project as part of the work described below. They are now maintained directly |
| 12 | +in the DeePMD-kit repository under `skills/`. |
| 13 | + |
| 14 | +## List of skills |
| 15 | + |
| 16 | +- `deepmd-train-dpa3`: Train DeePMD-kit models with the DPA3 descriptor and the |
| 17 | + PyTorch backend, including input generation, neighbor-selection choices, |
| 18 | + training, freezing, and testing. |
| 19 | +- `deepmd-finetune-dpa3`: Fine-tune DPA3 models from self-trained checkpoints, |
| 20 | + multi-task pretrained models, or built-in models downloaded by `dp pretrained download`. |
| 21 | +- `deepmd-train-se-e2-a`: Train classical Deep Potential models with the |
| 22 | + `se_e2_a` descriptor, including preparation of training JSON files and |
| 23 | + post-training validation. |
| 24 | +- `deepmd-python-inference`: Run Python and CLI inference with trained or |
| 25 | + frozen DeePMD-kit models, including energy, force, virial, descriptor, and |
| 26 | + model-deviation workflows. |
| 27 | +- `lammps-deepmd`: Prepare, explain, and run LAMMPS simulations with DeePMD-kit |
| 28 | + potentials, including common NVE, NVT, and NPT setups. |
| 29 | + |
| 30 | +## Related reference |
| 31 | + |
| 32 | +The DeePMD-kit skills were originally developed as part of the following |
| 33 | +paper: |
| 34 | + |
| 35 | +- Mingwei Ding, Chen Huang, Yibo Hu, Yifan Li, Zitian Lu, Xingtai Yu, Duo |
| 36 | + Zhang, Wenxi Zhai, Tong Zhu, Qiangqiang Gu, and Jinzhe Zeng. [Automating |
| 37 | + Computational Chemistry Workflows via OpenClaw and Domain-Specific |
| 38 | + Skills](https://doi.org/10.1021/acs.jctc.6c00622). *Journal |
| 39 | + of Chemical Theory and Computation*, 2026. |
| 40 | + |
| 41 | +## Install skills |
| 42 | + |
| 43 | +### If you are a user |
| 44 | + |
| 45 | +The easiest way is to send this page to your agent and ask it to install the |
| 46 | +skills for you. Users usually do not need to perform manual installation. |
| 47 | + |
| 48 | +### If you are an agent |
| 49 | + |
| 50 | +If you already have a DeePMD-kit checkout, run this command from the repository |
| 51 | +root: |
| 52 | + |
| 53 | +```bash |
| 54 | +npx -y skills add ./skills -a openclaw -y |
| 55 | +``` |
| 56 | + |
| 57 | +If you do not have a checkout, the same skills can also be installed directly |
| 58 | +from GitHub: |
| 59 | + |
| 60 | +```bash |
| 61 | +npx -y skills add https://github.com/deepmodeling/deepmd-kit/tree/master/skills \ |
| 62 | + -a openclaw -y |
| 63 | +``` |
| 64 | + |
| 65 | +The examples above require Node.js/npm so that `npx` is available, and they |
| 66 | +install the skills for OpenClaw. Replace `openclaw` with the target agent name |
| 67 | +when installing for another agent. The GitHub command lets the skill CLI fetch |
| 68 | +the repository for you. For large repositories or slow networks, this can take |
| 69 | +longer than installing from an existing local checkout. Refresh or restart the |
| 70 | +session afterward so the installed skills are reloaded. |
| 71 | + |
| 72 | +## Minimal verification |
| 73 | + |
| 74 | +Ask the agent to perform a small task that exercises the installed skill |
| 75 | +without launching an expensive calculation. For example: |
| 76 | + |
| 77 | +- “Use the `deepmd-python-inference` skill to write a minimal Python snippet |
| 78 | + for loading a frozen DeePMD-kit model and evaluating one frame.” |
| 79 | +- “Use the `deepmd-train-dpa3` skill to draft a small DPA3 training input for a |
| 80 | + water dataset, but do not start training.” |
| 81 | +- “Use the `lammps-deepmd` skill to prepare an NVT LAMMPS input file for a |
| 82 | + DeePMD-kit model, and explain each command.” |
0 commit comments