Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/learningmatter-mit/atomisticskills/mat-sample-pes-by-mdnpx skills add learningmatter-mit/AtomisticSkills --skill mat-sample-pes-by-mdgit clone --depth 1 https://github.com/learningmatter-mit/AtomisticSkillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/learningmatter-mit/atomisticskills/mat-sample-pes-by-md)<a href="https://agentmods.dev/skills/learningmatter-mit/atomisticskills/mat-sample-pes-by-md"><img src="https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/mat-sample-pes-by-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00029 | $0.00862 |
| Opus 5 | $0.00015 | $0.00431 |
| Sonnet 5 | $0.00006 | $0.00172 |
| Haiku 4.5 | $0.00003 | $0.00086 |
Grade A, and why
mat-sample-pes-by-md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sample PES by MD
Goal
To generate diverse and representative atomic configurations from a starting structure to augment training data for Machine Learning Interatomic Potentials (MLIPs). This is achieved through MD-based sampling with crystal feature clustering.
Instructions
-
Prepare a Foundation Potential: Select an appropriate MLIP model for sampling.
- Recommended:
M3GNet-PES-MatPES-PBE-2025.2(MatGL) orMACE-MP-small(MACE) for general inorganic materials.
- Recommended:
-
Off-Equilibrium Sampling (MD-Clustering):
- Use the unified sampling script to run a short MD trajectory and pick representative configurations via K-Means clustering of latent features.
Using MatGL (CHGNet):
# Env: matgl-agent python .agents/skills/mat-sample-pes-by-md/scripts/run_sampling.py input.cif \ --model_type matgl --model_name CHGNet-PES-MatPES-PBE-2025.2.10 \ --total_steps 2000 --temperature 1000 --n_clusters 10 --output_dir sampling_resultsUsing MACE:
# Env: mace-agent python .agents/skills/mat-sample-pes-by-md/scripts/run_sampling.py input.cif \ --model_type mace --model_name MACE-OMAT-0-small \ --total_steps 2000 --temperature 1000 --n_clusters 10 --output_dir sampling_results
Supercell Expansion
The script automatically expands small cells (e.g., primitive cells) to supercells containing ~50 atoms (close-to-cubic) before simulation. This ensures adequate system size and local environment diversity.
- Customize: Set
--target_atomsin the script call (recommended: 40-70 atoms for VASP efficiency). - Limit: Maximum atoms capped at 120 to prevent OOM in subsequent DFT calculations.
Standalone Usage (Python API)
For integration into other Python workflows, use the OffEquilibriumSampler class directly.
from .agents.skills.mat_sample_pes_by_md.scripts.sampler import OffEquilibriumSampler
from .agents.skills.mat_sample_pes_by_md.scripts.feature_calculators import MatGLCrystalFeatureCalculator
from matgl import load_model
# Setup calculator
model = load_model("M3GNet-PES-MatPES-PBE-2025.2")
calc = MatGLCrystalFeatureCalculator(potential=model)
# Initialize and run sampler
sampler = OffEquilibriumSampler(
calculator=calc,
atoms=initial_atoms,
total_steps=1000,
temperature=800,
n_clusters=20
)
structures, metadata = sampler.sample()
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today First seen · 81 lines · 29 tokens per session scan A 1831fd172455
mat-sample-pes-by-md is a skill published in the GitHub repository learningmatter-mit/AtomisticSkills (158 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 862 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
hugging-face-trackio
Track and visualize ML training experiments with Trackio. Use when logging metrics during training (Python API) or retrieving/analyzing logged metrics (CLI). Supports real-time dashboard visualization, HF Space syncing, and JSON output for automation.
pysr
Use when fitting equations to data with PySR or SymbolicRegression.jl, when a user wants an interpretable formula, symbolic model, scaling law, or empirical relation discovered from numeric data, or when debugging a PySR search that is slow, stuck, or giving poor equations.
datamol
Pythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, descriptors, fingerprints, clustering, 3D conformers, parallel processing. Returns native rdkit.Chem.Mol objects. For advanced control or custom parameters…
deepchem
Molecular ML with diverse featurizers and pre-built datasets. Use for property prediction (ADMET, toxicity) with traditional ML or GNNs when you want extensive featurization options and MoleculeNet benchmarks. Best for quick experiments with pre-trained models, diverse molecular representations. For graph-first…
binding-affinity
Hybrid ML + physics binding affinity prediction. Empirical scoring, MM/GBSA rescoring, multi-method consensus, and batch virtual screening for protein-ligand complexes.
drug-design
End-to-end drug discovery pipeline orchestration. Deterministic Python script that auto-chains structure prediction, pocket detection, de novo design, docking, scoring, and ADMET filtering into reproducible workflows.