Agent skill

Dpdata

by Hello-QM in Hello-QM/catgo-LRG

Convert between computational chemistry data formats using dpdata.

AGPL-3.0Auto-check passed

Install Dpdata

skills CLI
$ npx skills add Hello-QM/catgo-LRG --skill dpdata -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Hello-QM/catgo-LRG dpdata --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Hello-QM/catgo-LRG.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/dpdata .claude/skills/dpdata && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dpdata
GitHub stars
205
Used in
1 other repo
Token cost
~1.1k tokens
SKILL.md length
257 words
Files
1
Skills in repo
75
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Convert between computational chemistry data formats using dpdata.

  • Works in 5 steps: Missing type_map for LAMMPS — LAMMPS… → Unconverged frames — VASP OUTCARs may… → Mixed element order — when merging data… → …
  • SKILL.md covers When to Use, Prerequisites, Supported Formats and Workflow Steps, plus 4 more sections
  • Calls pip and python

What it does

Dpdata is an agent skill from Hello-QM/catgo-LRG. Convert between computational chemistry data formats using dpdata. Handles VASP, QE, CP2K, Gaussian, LAMMPS, and DeePMD formats. Essential for preparing ML potential training data.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires dpdata Python package (pip install dpdata). Works on any platform.

The repository describes itself as: AI-driven workbench for computational materials science — interactive 3D structure viewer, natural-language CatBot assistant, visual DAG workflow engine, HPC job submission… The licence is AGPL-3.0.

Example prompts

  • “/dpdata”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Requires dpdata Python package (pip install dpdata). Works on any platform.

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Missing type_map for LAMMPS — LAMMPS dump files have numeric types, not element names. Always provide type_map.
  2. Unconverged frames — VASP OUTCARs may contain unconverged ionic steps. Filter by force magnitude before training.
  3. Mixed element order — when merging data from different calculations, ensure consistent element ordering.
  4. Large memory for big trajectories — dpdata loads all frames into memory. For >10K frames, process in chunks.
  5. Units — dpdata converts to eV/Angstrom internally. LAMMPS real units are auto-converted.

What it can do on your machine

Read from SKILL.md and the folder at commit fd6291b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pip
    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires dpdata Python package (pip install dpdata). Works on any platform.

    From compatibility in the SKILL.md frontmatter.

Context cost

Dpdata loads about 1.1k tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 257 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Hello-QM/catgo-LRG at commit fd6291b, republished under its AGPL-3.0 licence (© Hello-QM). 257 words, ~1,075 tokens.

Download SKILL.mdSave it as .claude/skills/dpdata/SKILL.md (or your agent's skills folder).
name
dpdata
description
Convert between computational chemistry data formats using dpdata. Handles VASP, QE, CP2K, Gaussian, LAMMPS, and DeePMD formats. Essential for preparing ML potential training data.
compatibility
Requires dpdata Python package (pip install dpdata). Works on any platform.
catalog-hidden
true

dpdata — Format Conversion

When to Use

  • User needs to convert DFT calculation outputs to DeePMD training format
  • User wants to convert between VASP, QE, CP2K, Gaussian, LAMMPS formats
  • User needs to merge, filter, or split trajectory data
  • User is preparing training data for machine learning potentials

Prerequisites

  1. dpdata installed (pip install dpdata, or python -c "import dpdata")

Supported Formats

FormatReadWriteKey
VASP OUTCARYes-vasp/outcar
VASP POSCAR/CONTCARYesYesvasp/poscar
VASP XMLYes-vasp/xml
QE pw.x outputYes-qe/pw/scf
CP2K outputYes-cp2k/output
Gaussian logYes-gaussian/log
LAMMPS dumpYesYeslammps/dump
LAMMPS dataYesYeslammps/lmp
DeePMD rawYesYesdeepmd/raw
DeePMD npyYesYesdeepmd/npy
ExtXYZYesYesextxyz

Workflow Steps

1. Convert VASP OUTCAR to DeePMD
catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_xxx",
  "task_type": "shell",
  "name": "convert_data",
  "command": "python convert.py",
  "input_files": {
    "convert.py": "import dpdata\nd = dpdata.LabeledSystem('OUTCAR', fmt='vasp/outcar')\nd.to('deepmd/npy', 'training_data')"
  },
  "system_name": "data_prep"
})

Common Conversion Scripts

VASP to DeePMD (with train/valid split)
python
import dpdata
import numpy as np

# Load all frames from OUTCAR
d = dpdata.LabeledSystem("OUTCAR", fmt="vasp/outcar")
print(f"Loaded {len(d)} frames")

# Random split: 90% train, 10% valid
indices = np.random.permutation(len(d))
n_train = int(0.9 * len(d))

d_train = d.sub_system(indices[:n_train])
d_valid = d.sub_system(indices[n_train:])

d_train.to("deepmd/npy", "data/train")
d_valid.to("deepmd/npy", "data/valid")
print(f"Train: {len(d_train)}, Valid: {len(d_valid)}")
Multiple OUTCARs to single dataset
python
import dpdata
from pathlib import Path

d = None
for outcar in Path(".").rglob("OUTCAR"):
    sys = dpdata.LabeledSystem(str(outcar), fmt="vasp/outcar")
    d = sys if d is None else d + sys

print(f"Total frames: {len(d)}")
d.to("deepmd/npy", "merged_data")
QE to DeePMD
python
import dpdata
d = dpdata.LabeledSystem("relax.out", fmt="qe/pw/scf")
d.to("deepmd/npy", "training_data")
LAMMPS dump to ExtXYZ
python
import dpdata
d = dpdata.System("dump.lammpstrj", fmt="lammps/dump",
                  type_map=["Ti", "O"])
d.to("extxyz", "trajectory.xyz")
Filter by energy/force
python
import dpdata
import numpy as np

d = dpdata.LabeledSystem("OUTCAR", fmt="vasp/outcar")

# Remove frames with max force > 10 eV/Ang (likely unconverged)
mask = []
for i in range(len(d)):
    max_f = np.max(np.abs(d["forces"][i]))
    mask.append(max_f < 10.0)

d_clean = d.sub_system(np.where(mask)[0])
print(f"Kept {len(d_clean)}/{len(d)} frames")

CLI Usage

bash
# Quick convert
dpdata convert OUTCAR vasp/outcar deepmd/npy training_data

# System info
dpdata info OUTCAR vasp/outcar

Parameter Guidance

ParameterNotes
fmtFormat string — must match exactly (case-sensitive)
type_mapRequired for LAMMPS formats — maps type indices to element symbols
begin / end / stepFrame selection for large trajectories

Common Pitfalls

  1. Missing type_map for LAMMPS — LAMMPS dump files have numeric types, not element names. Always provide type_map.
  2. Unconverged frames — VASP OUTCARs may contain unconverged ionic steps. Filter by force magnitude before training.
  3. Mixed element order — when merging data from different calculations, ensure consistent element ordering.
  4. Large memory for big trajectories — dpdata loads all frames into memory. For >10K frames, process in chunks.
  5. Units — dpdata converts to eV/Angstrom internally. LAMMPS real units are auto-converted.

© Hello-QM, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/dpdata of Hello-QM/catgo-LRG.

Open the folder on GitHubat commit fd6291b

Used in 1 other repository

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in Hello-QM/catgo-LRG, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Dpdata next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dpdata compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dpdata this skillHello-QM/catgo-LRG2051 repos~1.1kAutomated safety check: PassAGPL-3.0
Convertremotion-dev/remotion62k—~247Automated safety check: PassCustom licence
File Format Converterjeremylongshore/tons-of-skills-marketplace2.8k—~569Automated safety check: PassMIT
Error Handlingaffaan-m/ECC275k1 repos~2.7kAutomated safety check: PassMIT
Tao Convert Dataset FormatNVIDIA/skills3.5k—~1.3kAutomated safety check: NotesApache-2.0
Error Handlingthedaviddias/Front-End-Checklist74k—~416Automated safety check: PassMIT

Similar skills

  • Convert

    remotion-dev/remotion

    Official

    Start the local @remotion/convert app and open it in the Codex browser.

    62k GitHub stars~247 tokensUpdated today
    Media & CreativeAuto-check passed
  • File Format Converter

    jeremylongshore/tons-of-skills-marketplace

    Convert file format converter operations. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~569 tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Error Handling

    affaan-m/ECC

    Patterns for robust error handling across TypeScript, Python, and Go.

    275k GitHub starsUsed in 1 repo~2.7k tokens
    DevelopmentAuto-check passed
  • Official

    Run tao-daft convert to convert NVIDIA TAO DAFT datasets between supported formats.

    3.5k GitHub stars~1.3k tokensUpdated today
    Auto-check: notes
  • Error Handling

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing scripts, client components, bundles, or runtime behavior related to Implement proper error handling.

    74k GitHub stars~416 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Ito Compute

    affaan-m/ECC

    Query live GPU inventory, submit an authenticated Itô fixed-rate RFQ, inspect RFQ or procurement status, revoke device credentials, and run explicitly gated node qualification through the separately…

    275k GitHub starsUsed in 1 repo~1.7k tokens
    Business, Finance & HRAuto-check passed

More from Hello-QM/catgo-LRG

All 75 skills in this repo
  • Campaign Md Orchestration

    Hello-QM/catgo-LRG

    Drive a file-first, agent-in-the-loop computational campaign via a folder + markdown tree (no DB).

    205 GitHub stars~1.6k tokensUpdated 15 days ago
    Auto-check passed
  • Lammps Deepmd

    Hello-QM/catgo-LRG

    Run LAMMPS molecular dynamics with DeePMD-kit machine learning potentials.

    205 GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Catgo Gibbs Pipeline

    Hello-QM/catgo-LRG

    Compute adsorption/reaction Gibbs free energies, free-energy diagrams, and electrochemical overpotentials (HER/ORR/OER/CO2RR/NRR) with VASP.

    205 GitHub stars~669 tokensUpdated 15 days ago
    Auto-check passed
  • Abinit

    Hello-QM/catgo-LRG

    Generate and manage ABINIT DFT calculations. An agent skill from Hello-QM/catgo-LRG.

    205 GitHub stars~963 tokensUpdated 15 days ago
    Auto-check passed
  • Adsorbate Placement

    Hello-QM/catgo-LRG

    A skill your agent uses when the user asks to place an adsorbate molecule on a surface, find adsorption sites, or set up a surface+adsorbate model for DFT.

    205 GitHub stars~3k tokensUpdated 15 days ago
    Auto-check passed
  • Adsorption Energy

    Hello-QM/catgo-LRG

    A skill your agent uses when the user asks for adsorption energy, binding energy, or wants to compare how strongly a molecule binds to a surface.

    205 GitHub stars~1.4k tokensUpdated 15 days ago
    Auto-check passed

Questions about Dpdata

What does Dpdata do?

Convert between computational chemistry data formats using dpdata. Dpdata is an agent skill from Hello-QM/catgo-LRG. Convert between computational chemistry data formats using dpdata.

How do I install Dpdata in Claude Code?

Run `npx skills add Hello-QM/catgo-LRG --skill dpdata -a claude-code`. Or copy the skill folder (.claude/skills/dpdata in Hello-QM/catgo-LRG) into .claude/skills/dpdata in your project. Claude Code loads it when a task matches its description.

How do I install Dpdata in Codex?

Run `npx skills add Hello-QM/catgo-LRG --skill dpdata -a codex`. Or copy the skill folder (.claude/skills/dpdata in Hello-QM/catgo-LRG) into .agents/skills/dpdata in your project. Codex loads it when a task matches its description.

Can I use Dpdata in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Hello-QM/catgo-LRG --skill dpdata -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dpdata, .gemini/skills/dpdata, .github/skills/dpdata and .opencode/skills/dpdata in your project.

What does Dpdata need to run?

Going by SKILL.md and its folder, Dpdata needs the command-line tools its instructions call (pip and python). Our summary lists: Python 3. Compatibility (from SKILL.md): Requires dpdata Python package (pip install dpdata). Works on any platform. .

Does Dpdata access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Dpdata safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dpdata use?

Dpdata is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dpdata use?

About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dpdata?

Skills that share tags, products or a category with Dpdata: Convert (remotion-dev/remotion, 62k stars), File Format Converter (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Error Handling (affaan-m/ECC, 275k stars) and Tao Convert Dataset Format (NVIDIA/skills, 3.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dpdata?

Hello-QM (a GitHub user) maintains it in Hello-QM/catgo-LRG, which has 205 GitHub stars. The repository holds 75 skills in this directory. The repository was last updated on September 22, 2026.

Source: Hello-QM/catgo-LRG on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.