Simulation workflows

From lza6/Armor-piercing-system-prompts · View interactive version

Simulation workflows is an AI agent skill from the GitHub repository lza6/Armor-piercing-system-prompts. Set up and run practical OpenMM Python application-layer simulations from PDB, PDBx/mmCIF, Amber, GROMACS, CHARMM, and Tinker inputs, including Simulation setup, integrators, reporters, minimization, stepping, checkpoints, portable state restarts, and small validation smokes.

How to use this skill

Skill file

Simulation Workflows

Use this sub-skill when the task is to write, adapt, debug, or sanity-check an OpenMM Python application-layer simulation script. It owns the workflow that loads input files, creates or receives a System, creates a Simulation, initializes the Context, attaches reporters, minimizes, runs steps, and saves or resumes progress.

Route Here For

Use Other Sub-skills For

Working References

Default Safe Pattern

  1. Import from openmm.app, openmm, and openmm.unit; use explicit unit-bearing quantities such as 300*kelvin, 1/picosecond, and 0.002*picoseconds.
  2. Load topology and positions from matching input files; pass periodic box vectors from the coordinate file when the topology format needs them.
  3. Create or receive a System before constructing Simulation; changes to System after Simulation creation do not affect the existing Context.
  4. Create an integrator, then Simulation(topology, system, integrator, ...); set positions and, for dynamics or restart-sensitive tests, set velocities explicitly.
  5. Minimize before dynamics unless the workflow is intentionally evaluating unminimized input.
  6. Attach reporters before step(); use short intervals and small step counts for smoke tests.
  7. Prefer saveState()/loadState() for portable restarts across hardware/platforms; use checkpoints only for same-system, same-platform, same-version continuation.

Acceptance Checks

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.