Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Lammps Validate

ASecurity

**When to use:** Validate LAMMPS input scripts (.in files) for syntax errors and parameter conflicts before running MD simulations. Generate LAMMPS input scripts from workflow node parameters. **Prerequisites:** - LAMMPS installed on HPC or local system - Input structure (PDB, MOL2, or LAMMPS data file) - Understanding of potential types and force fields

199 stars
0 votes
0 copies
0 views
Added 9/20/2026
ai-agentsgobashnodedatabase

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add Hello-QM/catgo-LRG --skill lammps-validate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lammps Validate?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Lammps Validate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hello-qm-lammps-validate/badge)](https://www.skillsdirectory.com/skills/hello-qm-lammps-validate)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
# LAMMPS Script Validation & Generation

**When to use:** Validate LAMMPS input scripts (.in files) for syntax errors and parameter conflicts before running MD simulations. Generate LAMMPS input scripts from workflow node parameters.

**Prerequisites:**
- LAMMPS installed on HPC or local system
- Input structure (PDB, MOL2, or LAMMPS data file)
- Understanding of potential types and force fields

## Workflow Steps

### 1. Validate Existing LAMMPS Script

If you have a custom `in.lammps` script:
- Check syntax errors (missing semicolons, invalid commands)
- Verify command ordering (bond_style before read_data, etc.)
- Confirm parameter compatibility (e.g., PPPM with charged atoms)
- Detect mismatches between script and data file

```bash
# Use the validation skill
Input: in.lammps script content
Output: List of errors or "Script is valid"
```

### 2. Generate LAMMPS Script from Parameters

If you have workflow node parameters (potential type, temperature, steps, etc.):
- Auto-generate correct command sequence
- Set force field parameters automatically
- Include ensemble fixes (NVT/NPT/NVE)
- Add thermodynamic output and trajectory dumps

```bash
# Use the generation skill
Input: Node parameters (potential_type, temperature, steps, etc.)
Output: Complete in.lammps script ready to run
```

### 3. Workflow Integration

In CatGo MD nodes:
1. **MD Node** — Classical MD simulations with NVT/NPT/NVE ensembles
2. **MD Minimize Node** — Energy minimization with conjugate gradient or FIRE
3. **Packmol Option** — Build initial box from molecules (MD Minimize only)

## Key Parameters

### Potential Type

- **Force Field** (GAFF2, OPLS-AA, COMPASS) — Auto-generates bonds, angles, charges
- **Lennard-Jones** — Simple pair-wise LJ potential
- **CHARMM** — With long-range Coulomb (PPPM kspace)
- **Buckingham** — For ionic materials
- **EAM** — For metals (copper, aluminum, etc.)
- **Tersoff** — For covalent materials (Si, Ge)
- **Custom** — Manual pair_style and coefficients

### Ensemble

- **NVE** — Microcanonical (constant energy)
- **NVT** — Canonical (constant temperature, Berendsen thermostat)
- **NPT** — Isothermal-isobaric (constant T and P)
- **Minimize** — Energy minimization (CG, SD, FIRE)

### Force Field Settings

Auto-configured based on potential type:

| Potential | Pair Style | Kspace | Bond/Angle |
|-----------|-----------|--------|-------------|
| Force Field | lj/charmm/coul/long | PPPM | Auto |
| CHARMM | lj/charmm/coul/long | PPPM | harmonic |
| OPLS-AA | lj/charmm/coul/long | PPPM | harmonic |
| EAM | eam/alloy | None | N/A |
| Tersoff | tersoff | None | N/A |

## Common Issues & Fixes

### Issue: "Pair style mismatch with data file"
**Cause:** Data file has bonds but script uses atom_style=atomic
**Fix:** Change atom_style to "full" or "molecular"

### Issue: "PPPM setup error"
**Cause:** Using PPPM without charged atoms or with non-periodic boundary
**Fix:** Remove kspace_style or set boundary to periodic (ppp)

### Issue: "Minimize never converges"
**Cause:** Energy tolerance (etol) too small or maxiter too low
**Fix:** Increase etol to 1e-4 or maxiter to 50000

### Issue: "Temperature oscillates wildly in NVT"
**Cause:** Thermostat damping too large or timestep too large
**Fix:** Reduce timestep or adjust thermostat Tdamp parameter

## Example Workflows

### Minimize LJ fluid

```
Structure (PDB) → MD Minimize Node
  - Potential: Lennard-Jones
  - Min Style: CG
  - Max Iter: 10000
  - Etol: 1e-6
→ Output: trajectory.dump, system_minimized.data
```

### Pack and relax water

```
Water molecule (PDB) → MD Minimize Node
  - Packmol: enabled (100 molecules, 1.0 g/cm³)
  - Force Field: GAFF2
  - Charge: Gasteiger
  - Min Style: FIRE
  - Etol: 1e-4
→ Output: packed structure, minimized trajectory
```

### NVT MD for protein

```
Protein structure (PDB) → MD Node
  - Force Field: OPLS-AA
  - Ensemble: NVT
  - Temperature: 300 K
  - Steps: 100000
  - Timestep: 1.0 fs
→ Output: trajectory.dump, thermodynamic data
```

## Validation Checklist

Before running MD:

- [ ] Data file has atoms matching atom_style
- [ ] Pair style compatible with potential type
- [ ] Bonds/angles only if molecule or full atom_style
- [ ] Kspace only if periodic (ppp) with charged atoms
- [ ] Timestep < 5 fs (1 fs typical for all-atom)
- [ ] Thermo freq < total steps
- [ ] Dump freq for trajectory output
- [ ] Temperature/pressure values reasonable
- [ ] Min_style and tolerances set for minimization

## References

- LAMMPS Manual: https://lammps.sandia.gov/doc/Manual.html
- Force Field Database: https://www.ff14sb.net/ (AMBER)
- OPLS-AA Parameters: https://zarbi.chem.yale.edu/oplsaal/

Attribution

Hello-QMHello-QM
View sourceMore from Hello-QM →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Caveman

Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.

1023331 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3331 votes

catchup

Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.

611 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →