mat-kinetic-monte-carlo

mat-kinetic-monte-carlo is a skill for Claude Code, Codex from learningmatter-mit/AtomisticSkills. It costs 53 tokens per session (3,765 once invoked), scanned A, original, MIT.

A workflow for kinetic Monte Carlo simulations, which model rare atomic events over long time periods by selecting events according to their rates. It uses event energies and transition rates to represent processes such as diffusion.

In plain words
What is it for?
Use it to build event catalogs, assign rates with transition-state theory or the Arrhenius equation, handle rapidly repeating events, and analyse event counts, diffusion and temperature dependence.
Why use it?
Ordinary atom-by-atom simulations are often too slow to reach experimental timescales. This approach advances directly between events and checks that the event rates obey physical balance rules when appropriate.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python .agents/skills/chem-neb-barrier/scripts/calculate_barrier.py \.

Good fit Use it to build event catalogs, assign rates with transition-state theory or the Arrhenius equation, handle rapidly repeating events, and analyse event counts, diffusion and temperature dependence.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/learningmatter-mit/AtomisticSkills
agentmods
npx agentmods add skills/learningmatter-mit/atomisticskills/mat-kinetic-monte-carlo

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 mat-kinetic-monte-carlo

README.md
[![agentmods](https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/mat-kinetic-monte-carlo.svg)](https://agentmods.dev/skills/learningmatter-mit/atomisticskills/mat-kinetic-monte-carlo)
Your own site
<a href="https://agentmods.dev/skills/learningmatter-mit/atomisticskills/mat-kinetic-monte-carlo"><img src="https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/mat-kinetic-monte-carlo.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,765 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00053 $0.03765
Opus 5 $0.00026 $0.01883
Sonnet 5 $0.00011 $0.00753
Haiku 4.5 $0.00005 $0.00377

Measured 4d ago against content hash 59821ea6c0a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mat-kinetic-monte-carlo 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 4d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (examples/analytical_validation/validate_random_walk.py, examples/literature_validation/compute_htst_prefactor.py, examples/literature_validation/prepare_h_migration.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/mat-kinetic-monte-carlo/SKILL.md · 338 lines

How it starts

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

Kinetic Monte Carlo (KMC)

Goal

Run kinetic Monte Carlo simulations to evolve a system on experimental (long) timescales using a continuous-time Markov jump process defined by elementary events and their rates.

This skill focuses on best-practice, physics-grounded KMC:

  • correct rejection-free time advancement (no time-step error),
  • good event/rate bookkeeping,
  • detailed balance / microreversibility checks when appropriate,
  • practical handling of "flickers" / superbasins,
  • and robust postprocessing (event stats, MSD -> diffusivity, Arrhenius).

This skill is designed to compose with:

  • chem-neb-barrier — compute migration barriers via NEB with MLIPs.
  • mat-phonon — compute vibrational frequencies for hTST prefactors (Vineyard formula).
  • mat-diffusion-analysis — MSD fitting, Arrhenius analysis, and D → σ via Nernst-Einstein.

MCP Server Integration

Barrier computations and phonon calculations require MLIP models (MACE, MatGL, FairChem). These run through the corresponding MCP servers or directly via wrapper scripts:

  • MACE: src/mcp_server/mace_server.py — provides relax_structure, predict_structure tools. Used by neb-barrier and phonon scripts via src/utils/mlips/mace/mace_wrapper.py.
  • MatGL: src/mcp_server/matgl_server.py — same interface, CHGNet/M3GNet/TensorNet models.
  • FairChem: src/mcp_server/fairchem_server.py — UMA/ESEN models.

KMC scripts themselves do not call MLIPs — they consume barrier/prefactor values computed upstream by the NEB and phonon skills.


When to Use KMC (and When Not)

Use KMC when:

  • Dynamics are rare-event dominated (activated hops/reactions separated by long waiting times).
  • You can define a set of states + elementary transitions between states with rate constants.
  • You need time/length scales unreachable by MD.

Do NOT use KMC when:

  • Motion is not rare-event-like (barriers ~ few kBT or less) and recrossings dominate.
  • You cannot define a reasonably complete event set (or the event set changes too rapidly without on-the-fly discovery).
  • The system is strongly non-Markovian at the state resolution you chose.

Read the full file on GitHub · 338 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. 4d ago First seen · 338 lines · 53 tokens per session scan A 59821ea6c0a7

Subscribe to this mod's changes

mat-kinetic-monte-carlo is a skill published in the GitHub repository learningmatter-mit/AtomisticSkills (161 stars, last pushed 5d ago), licensed MIT. It adds 53 tokens to every session and 3,765 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

cd-calculator

Python calculators for geometry analysis, structural checking, solar calculations, panel optimization, mesh analysis, material estimation, and fabrication cost estimation for AEC computational design.

Abhinavbwj/Claude-skills-for-Computational-Designers · 30 tokens

cd-calculator

Python calculators for geometry analysis, structural checking, solar calculations, panel optimization, mesh analysis, material estimation, and fabrication cost estimation for AEC computational design.

marcinfinitesimal533/Claude-skills-for-Computational-Designers · 30 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens