Skip to content
Back to skills

Deepmd Kit

ASecurity

"Route DeePMD-kit package workflows for installation, data/config

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
developmentpythonc++bashnodedockerapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill deepmd-kit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deepmd Kit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deepmd Kit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-deepmd-kit/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-deepmd-kit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: deepmd-kit
description: "Route DeePMD-kit package workflows for installation, data/config
  preparation, training, inference/model operations, integrations, and
  repository development."
disable-model-invocation: true
metadata:
  disco-role: operating
license: LGPL 3.0
---

# DeePMD-kit Repo Skill

Use this skill when the user is working with DeePMD-kit: installing the package, preparing DeePMD data/configs, training or fine-tuning potentials, running inference/model operations, integrating with MD engines/native APIs, or maintaining the repository.

DeePMD-kit is a Python/C++ package for deep learning interatomic potentials and molecular dynamics. It supports TensorFlow, PyTorch, JAX, Paddle, and DP/reference backend routes, plus integrations with LAMMPS, i-PI, C/C++/Node.js, dpdata, and ASE.

## Start Here

1. Identify whether the task is package use, data/config preparation, training, inference/model operations, integration/deployment, or repository maintenance.
2. Confirm the installed runtime before executing commands:

   ```bash
   python -c "import deepmd; print(deepmd.__version__)"
   dp -h
   ```

3. Use explicit backend flags when the backend matters: `dp --tf`, `dp --pt`, `dp --jax`, `dp --pd`, or `dp --backend pytorch-exportable`.
4. Avoid long training, C++ builds, downloads, or native MD runs unless the user asks for execution or approves the cost.
5. Read `references/repo-provenance.md` when deciding whether this skill matches a current checkout or should be refreshed.

## Route by Task

| User task | Read |
| --- | --- |
| Install DeePMD-kit, choose pip/conda/docker/source build, diagnose missing backend, validate `dp` availability | `sub-skills/installation-backends/SKILL.md` |
| Inspect `type.raw`, `type_map.raw`, `set.*`, labels, mixed-type systems, LMDB/HDF5/npy layouts, or draft/repair training JSON/YAML | `sub-skills/data-config/SKILL.md` |
| Choose a model family, draft `dp train`, monitor `lcurve.out`, restart/fine-tune, handle pretrained/multi-task, or freeze after training | `sub-skills/training-models/SKILL.md` |
| Use `DeepPot`, run `dp test`, `eval-desc`, `embed`, `model-devi`, `show`, `compress`, `convert-*`, `pretrained`, or `change-bias` | `sub-skills/inference-model-ops/SKILL.md` |
| Write LAMMPS/i-PI inputs, use C/C++/Node/dpdata/ASE APIs, build native components, or maintain this checkout | `sub-skills/integrations-development/SKILL.md` |

## Cross-Cutting References

- `references/cli-overview.md` summarizes verified `dp` backend aliases and subcommands.
- `references/troubleshooting.md` maps common symptoms to the right sub-skill and first checks.
- `references/repo-routing-metadata.json` contains structured import metadata for `repo-skills-router`.

## Common Command Map

- Install/runtime check: `dp --version`, `dp -h`, `dp --pt -h`.
- Training: `dp --tf train input.json`, `dp --pt train input.json`, `dp --pd train input.json`.
- Freeze: `dp freeze -o model.pb`, `dp --pt freeze -o model.pth`, `dp --pd freeze -o model`.
- Test/inference: `dp test -m model.pb -s system -n 30`, `dp eval-desc -m model.pb -s system -o desc`.
- Model ops: `dp model-devi`, `dp compress`, `dp convert-from`, `dp convert-backend`, `dp show`, `dp pretrained download`.
- Integration: generate LAMMPS input with `sub-skills/integrations-development/scripts/write_lammps_deepmd_input.py`.

## Safety and Validation

- Use bounded help/parser/import checks before running long workflows.
- Treat repository examples and tests as evidence; do not rely on original checkout paths in generated user-facing workflows.
- Training examples are small validation fixtures, not production datasets.
- Prefer focused tests such as a single `pytest` target over the full suite when maintaining the checkout.
- For source/C++ builds, use generous timeouts and do not cancel known long build operations.

## Existing Focused Skills

This generated repo skill is a self-contained router for DeePMD-kit package and repository work. The source repository also contains narrower official skills for training, DPA3 fine-tuning, Python inference, and LAMMPS; their concepts were distilled here, but runtime use of this generated skill does not require the original repository skills to remain available.

Files in this skill

  • SKILL.md4.2 KB
  • references/cli-overview.md3.4 KB
  • references/repo-provenance.md1.8 KB
  • references/repo-routing-metadata.json434 B
  • references/troubleshooting.md3.2 KB
  • sub-skills/data-config/SKILL.md7.7 KB
  • sub-skills/data-config/references/data-formats.md11.3 KB
  • sub-skills/data-config/references/training-config-reference.md10.7 KB
  • sub-skills/data-config/references/troubleshooting.md8.9 KB
  • sub-skills/data-config/scripts/inspect_deepmd_system.py15.9 KB
  • sub-skills/inference-model-ops/SKILL.md7.9 KB
  • sub-skills/inference-model-ops/references/cli-model-ops.md11.9 KB
  • sub-skills/inference-model-ops/references/python-api.md9 KB
  • sub-skills/inference-model-ops/references/troubleshooting.md10.1 KB
  • sub-skills/inference-model-ops/scripts/deeppot_input_shapes.py3.8 KB
  • sub-skills/installation-backends/SKILL.md8.8 KB
  • sub-skills/installation-backends/references/install-backend-reference.md12.7 KB
  • sub-skills/installation-backends/references/troubleshooting.md11.2 KB
  • sub-skills/installation-backends/scripts/check_deepmd_environment.py8.8 KB
  • sub-skills/integrations-development/SKILL.md8.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.