ml-generative-adit

ml-generative-adit is a skill for Claude Code, Codex from learningmatter-mit/AtomisticSkills. It costs 30 tokens per session (1,174 once invoked), scanned A, original, MIT.

Generate novel crystal structures and molecules using ADiT (All-atom Diffusion Transformer), a unified latent diffusion model.

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/ml-generative-adit
Any agent
npx skills add learningmatter-mit/AtomisticSkills --skill ml-generative-adit
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 ml-generative-adit

README.md
[![agentmods](https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/ml-generative-adit.svg)](https://agentmods.dev/skills/learningmatter-mit/atomisticskills/ml-generative-adit)
Your own site
<a href="https://agentmods.dev/skills/learningmatter-mit/atomisticskills/ml-generative-adit"><img src="https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/ml-generative-adit.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,174 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.00030 $0.01174
Opus 5 $0.00015 $0.00587
Sonnet 5 $0.00006 $0.00235
Haiku 4.5 $0.00003 $0.00117

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

Security

Grade A, and why

ml-generative-adit 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.

.agents/skills/ml-generative-adit/SKILL.md · 128 lines

How it starts

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

ADiT Structure Generation Skill

Goal

Generate novel crystal structures and molecules using ADiT (All-atom Diffusion Transformers, ICML 2025), a unified latent diffusion framework from Meta FAIR Chemistry that jointly generates both periodic materials and non-periodic molecular systems from a shared latent space.

1. Prerequisites

[!IMPORTANT] GPU Required: ADiT requires a CUDA-compatible GPU. CPU inference is extremely slow.

  • The adit-agent conda environment must be installed and configured.
  • The AADT repository must be cloned to .agents/tmp/adit/.
  • Pre-trained weights are automatically downloaded from HuggingFace on first use.

2. Available Models

ADiT provides a joint pre-trained model trained on:

  • MP20: Materials Project 2020 dataset (inorganic crystals, ~45K structures)
  • QM9: Small organic molecules (~134K molecules)

The single checkpoint handles both crystal and molecule generation, selected via the generation_type parameter.

3. MCP Tool Usage

Crystal Generation

Generate novel periodic crystal structures (saved as CIF files):

mcp_adit_generate_structures(
    generation_type="crystals",    # Generate periodic crystals
    num_structures=10,             # Number of structures to generate
    batch_size=100,                # Batch size for GPU efficiency
    cfg_scale=2.0,                 # Classifier-free guidance scale
    output_dir="research/my_project/crystals"
)

Molecule Generation

Generate novel non-periodic molecules (saved as XYZ files):

mcp_adit_generate_structures(
    generation_type="molecules",   # Generate molecules
    num_structures=10,
    batch_size=100,
    cfg_scale=2.0,
    output_dir="research/my_project/molecules"
)

4. Parameters

Parameter Default Description
generation_type "crystals" "crystals" for periodic structures (CIF), "molecules" for non-periodic (XYZ)
num_structures 10 Total number of structures to generate
batch_size 100 Batch size (larger = faster on GPU)
cfg_scale 2.0 Classifier-free guidance scale. Higher = more typical but less diverse
device "auto" Device: "auto", "cpu", or "cuda"
output_dir auto Output directory. Auto-creates under research dir

Read the full file on GitHub · 128 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 · 128 lines · 30 tokens per session scan A dfe3c554cc70

Subscribe to this mod's changes

ml-generative-adit is a skill published in the GitHub repository learningmatter-mit/AtomisticSkills (158 stars, last pushed today), licensed MIT. It adds 30 tokens to every session and 1,174 once invoked, about $0.0002 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

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.

patchy631/ai-engineering-hub · 52 tokens

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.

astroautomata/PySR · 61 tokens

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

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…

synthetic-sciences/openscience · 78 tokens

binding-affinity

Hybrid ML + physics binding affinity prediction. Empirical scoring, MM/GBSA rescoring, multi-method consensus, and batch virtual screening for protein-ligand complexes.

synthetic-sciences/openscience · 38 tokens

denovo-design

De novo molecule generation for drug discovery. Scaffold-based analog enumeration, fragment growing/linking, structure-based design, multi-objective optimization, and drug-likeness filtering.

synthetic-sciences/openscience · 38 tokens