md-analysis

md-analysis is a skill for Claude Code, Codex from SFETNI/Deep-Matter-Chem-Skills. It costs 2 tokens per session (19,890 once invoked), scanned A, original, MIT.

A skill for analysing molecular-dynamics simulation trajectories, which are time-ordered records of atomic positions and sometimes velocities or forces. It processes files from tools such as LAMMPS, GROMACS and ASE.

In plain words
What is it for?
Use it to calculate pair-distribution functions, coordination, diffusion, mean-square displacement, temperature, pressure, energy drift, defect measures and other trajectory diagnostics.
Why use it?
It turns raw simulation output into measurements of structure, movement, thermodynamics, interfaces and defects, while accounting for equilibration and statistical uncertainty.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to calculate pair-distribution functions, coordination, diffusion, mean-square displacement, temperature, pressure, energy drift, defect measures and other trajectory diagnostics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sfetni/deep-matter-chem-skills/md-analysis
Install

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.

Any agent
npx skills add SFETNI/Deep-Matter-Chem-Skills --skill md-analysis
Clone the repo
git clone --depth 1 https://github.com/SFETNI/Deep-Matter-Chem-Skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for md-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/md-analysis/github.svg)](https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/md-analysis)
Your own site
<a href="https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/md-analysis"><img src="https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/md-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for md-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/md-analysis"><img src="https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/md-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 19,890 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00002 $0.19890
Opus 5 $0.00001 $0.09945
Sonnet 5 $0.00000 $0.03978
Haiku 4.5 $0.00000 $0.01989

Measured 12d ago against content hash e68321d54630, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

md-analysis 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 12d ago.

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.

skills/atomistic-md/md-analysis/SKILL.md · 1,521 lines

How it starts

The opening of the file, as written. The whole thing — 1,521 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MD Trajectory Analysis

Description

This skill covers quantitative post-processing of atomistic molecular dynamics trajectories: loading and preprocessing trajectories from LAMMPS, GROMACS, or ASE; computing structural observables (RDF, coordination numbers, angular distributions, bond orientational order, common-neighbor analysis, centrosymmetry parameter); computing dynamical observables (MSD, diffusion coefficient, velocity autocorrelation, residence time, relaxation times); extracting thermodynamic observables from simulation logs (temperature, pressure, energy drift, stress, density); analyzing interfaces and defects; and applying statistical methods (block averaging, autocorrelation, equilibration trimming) to obtain reliable estimates with uncertainty bounds. Covers MDAnalysis, OVITO, ASE, pandas, and matplotlib. Invoke this skill after a production MD run is complete, or during a run to compute rolling diagnostics.

Domain Context

A molecular dynamics trajectory is a time-ordered sequence of configurations — positions, and optionally velocities and forces — generated by integrating Newton's equations of motion. Post-processing transforms this sequence into physically interpretable observables. Several subtleties govern what can and cannot be concluded from trajectory analysis:

  • Ensemble vs. time average: MD computes time averages, which equal ensemble averages only if the system is ergodic on the simulation timescale. For solid-state systems with slow structural relaxation, diffusion-limited processes, or configurations separated by large barriers, the time average may not have converged to the ensemble average within the simulation length. Quoting an observable from a non-ergodic trajectory as an equilibrium property is a fundamental error.
  • Equilibration contamination: Frames collected during equilibration do not belong to the target ensemble. They must be excluded from all analysis averages. The equilibration period is not fixed by the simulation protocol; it must be verified from the data (see md-equilibration). Including even 10–20% of a typical equilibration phase in a production average can shift observables by several percent.
  • Periodic boundary conditions and unwrapping: MD codes write wrapped coordinates — atom positions are mapped into the primary simulation box. This is correct for most structural observables but corrupts center-of-mass–based quantities such as MSD and diffusion coefficient. Unwrapping must be applied before any displacement-based analysis.
  • Statistical uncertainty: A single MD trajectory is a single realization of a stochastic process. Successive frames are correlated over a timescale τ (the autocorrelation time of the observable). Treating N correlated frames as N independent measurements underestimates the statistical error by √(N/N_eff) where N_eff = N / (2τ/dt). Block averaging and autocorrelation analysis are required for honest error estimates.
  • Topology vs. trajectory: Many analysis codes (MDAnalysis, GROMACS) separate the static topology (atom types, masses, bond connectivity) from the time-varying trajectory (coordinates, velocities). The topology must be consistent with the trajectory — mismatched atom counts, types, or connectivity produce silently wrong results rather than informative errors.
  • Force-field vs. MLP trajectories: Classical force-field MD and MLP-driven MD produce trajectories in identical formats, but MLP trajectories may contain configurations with elevated committee uncertainty (extrapolation). Uncertainty-aware post-processing — tagging frames by committee force std — is required before reporting thermodynamic averages from MLP trajectories when the training set coverage is not established.

Read the full file on GitHub · 1,521 lines

Changes

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.

  1. 12d ago First seen · 1,521 lines · 2 tokens per session scan A e68321d54630

Subscribe to this mod's changes

md-analysis is a skill published in the GitHub repository SFETNI/Deep-Matter-Chem-Skills (6 stars, last pushed 1mo ago), licensed MIT. It adds 2 tokens to every session and 19,890 once invoked, about $0.0000 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-08-31.

Related

Other skills, from other repositories

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…

synthetic-sciences/openscience · 67 tokens

smiles-validation

Strict SMILES validation, structural comparison, and modification verification. Catches invalid LLM-generated molecules.

synthetic-sciences/openscience · 24 tokens

patsnap-biological-modality

Biological sequence and modality intelligence via Patsnap MCP.

patsnap/mcp · 19 tokens

patsnap-scientific-translational-evidence

Patsnap Scientific & Translational Evidence MCP for AI agents. Retrieval platform focusing on scientific literature and translational outcomes, covering academic publication queries and translational medicine record tracking.

patsnap/mcp · 47 tokens

patsnap-solution-engine

Patsnap TRIZ Concept Solution Engine MCP for AI agents. Generates innovation or product cost-reduction concepts through asynchronous TRIZ and TRIZ/DFMA workflows. Use for engineering problem solving, concept alternatives, cost-reduction analysis, task-progress retrieval, and selected-solution details.

patsnap/mcp · 64 tokens

patsnap-current-awareness

Patsnap Current Awareness MCP for AI agents. Tracking system for pharmaceutical industry dynamics and cutting-edge news, covering global medical news search and in-depth news detail mining.

patsnap/mcp · 39 tokens