mat-disorder

mat-disorder is a skill for Claude Code, Codex from learningmatter-mit/AtomisticSkills. It costs 17 tokens per session (910 once invoked), scanned A, original, MIT.

Generate ordered structures from disordered starting points with partial occupancies.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/learningmatter-mit/atomisticskills/mat-disorder
Any agent
npx skills add learningmatter-mit/AtomisticSkills --skill mat-disorder
Clone the repo
git clone --depth 1 https://github.com/learningmatter-mit/AtomisticSkills

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-disorder

README.md
[![agentmods](https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/mat-disorder.svg)](https://agentmods.dev/skills/learningmatter-mit/atomisticskills/mat-disorder)
Your own site
<a href="https://agentmods.dev/skills/learningmatter-mit/atomisticskills/mat-disorder"><img src="https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/mat-disorder.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 910 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00017 $0.00910
Opus 5 $0.00009 $0.00455
Sonnet 5 $0.00003 $0.00182
Haiku 4.5 $0.00002 $0.00091

Measured today against content hash 5f67450d5716, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mat-disorder 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.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/iterative_ce_training.py, scripts/order_disorder_sampler.py, scripts/relax_wrapper.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-disorder/SKILL.md · 85 lines

How it starts

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

Disordered Material

Goal

To generate clean, ordered atomic configurations from disordered starting structures (e.g., experimental structures with fractional occupancies). These ordered candidates can be used for ground-state property calculations, phase stability analysis, or as starting points for MLIP training.

Instructions

  1. Identify Disordered Structures: Ensure your input structure (typically a CIF file) contains fractional occupancies or partial site occupancies.

  2. Generate Ordered Candidates: Use the ranking and sampling strategy based on Ewald energy to pick configurations that satisfy stoichiometry while minimizing electrostatic repulsion.

    # Env: base-agent
    python .agents/skills/mat-disorder/scripts/run_ordering.py disordered.cif \
        --n_structures 50 --target_atoms 50 --output_dir ordered_results
    

Strategy: Ewald Energy Ranking

The script uses pymatgen's OrderDisorderedStructureTransformation with a fast Ewald-based solver (ALGO_FAST). It generates a large pool of candidates, ranks them by Ewald energy, and samples across the spectrum to ensure both low-energy (ground-state-like) and higher-energy (excited-state-like) configurations are captured.

Supercell Expansion

For structures with very few atoms per cell or complex stoichiometry, the script automatically searches for a supercell expansion that:

  1. Is close to the --target_atoms (default: 50).
  2. Maintains valid stoichiometry (total counts must be integers).
  3. Is as cubic as possible to avoid long, thin cells.
  • Limit: Avoid setting --target_atoms too high (>120) if you plan to follow up with DFT calculations.

Standalone Usage (Python API)

from .agents.skills.mat_disorder.scripts.order_disorder_sampler import OrderDisorderSampler
from ase.io import read

atoms = read("disordered.cif")
sampler = OrderDisorderSampler(
    atoms=atoms,
    n_structures=20,
    target_atoms=60,
    include_perturbation=1
)
ordered_structures = sampler.sample()

Read the full file on GitHub · 85 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. today First seen · 85 lines · 17 tokens per session scan A 5f67450d5716

Subscribe to this mod's changes

mat-disorder is a skill published in the GitHub repository learningmatter-mit/AtomisticSkills (158 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 910 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.

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

prepared-environment-designer

Redesign a classroom as a prepared environment optimised for independent learning, calm transitions, and material access. Use when classroom layout hinders independence or self-directed work.

GarethManning/education-agent-skills · 39 tokens

gamedev-shaders

Use when authoring or debugging a shader, material, VFX, or full-screen post-process in a game engine — Godot 4.x .gdshader, Unity 6 URP/HDRP, Unreal 5.x Materials, effect recipes, shader performance. NOT gameplay or engine-API code (that is godot/unity/unreal), NOT physics (gamedev-physics), NOT build variant…

ericrisco/rsc-harness · 102 tokens

technical-artist

!cat skills/shared/protocols/3d-spatial-foundations.md 2>/dev/null || echo "=== 3D Foundations not loaded ===".

buiphucminhtam/forgewright · 54 tokens

unity-shader-artist

!cat skills/shared/game-visual-foundations.md 2>/dev/null || echo "=== Visual Foundations not loaded ===" !cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/game-test-protocol.md 2>/dev/null || true !cat skills/shared/protocols/quality-gate.md 2>/dev/null || true !cat…

buiphucminhtam/forgewright · 52 tokens