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-surface-energynpx skills add learningmatter-mit/AtomisticSkills --skill mat-surface-energygit 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-surface-energy)<a href="https://agentmods.dev/skills/learningmatter-mit/atomisticskills/mat-surface-energy"><img src="https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/mat-surface-energy.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.00027 | $0.01246 |
| Opus 5 | $0.00014 | $0.00623 |
| Sonnet 5 | $0.00005 | $0.00249 |
| Haiku 4.5 | $0.00003 | $0.00125 |
Grade A, and why
mat-surface-energy 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 yesterday.
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 — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Surface Energy Calculation
Goal
To determine the surface energy ($\gamma$) of different crystallographic planes (hkl) and construct the equilibrium crystal shape (Wulff shape) using structural relaxation with Machine Learning Interatomic Potentials (MLIPs).
Instructions
-
Select Level of Theory: Choose the target accuracy level for surface energy calculations.
- Recommended: r2SCAN-level foundation potentials for high accuracy in inorganic systems.
- Examples:
CHGNet-MatPES-r2SCAN-2025.2.10-2.7M-PES(MatGL),TensorNet-MatPES-r2SCAN-v2025.1-PES(MatGL), orMACE-MH-1withmatpes_r2scanhead. - See ml-foundation-potentials for detailed guidance.
-
Relax Bulk Reference: Perform a high-accuracy relaxation of the bulk material to serve as the reference energy.
# Env: matgl-agent mcp_matgl_load_model(model_name="CHGNet-MatPES-r2SCAN-2025.2.10-2.7M-PES") mcp_matgl_relax_structure( structure_data="bulk.cif", relax_cell=True, fmax=0.01, output_dir="bulk_relaxation/" )Note: Record the final energy per atom ($E_{bulk}$).
-
Generate Slabs: Create oriented slabs for the target (hkl) planes.
# Env: base-agent python .agents/skills/mat-surface-energy/scripts/create_slabs.py \ --bulk bulk_relaxation/relaxed_structure.cif \ --max_index 1 \ --min_thickness 10.0 \ --vacuum 15.0 \ --output slabs/This script generates slabs for all unique planes up to the specified
max_index. -
Relax Slabs: Perform structural relaxation on all generated slabs.
# Env: matgl-agent mcp_matgl_load_model(model_name="CHGNet-MatPES-r2SCAN-2025.2.10-2.7M-PES") mcp_matgl_relax_structure( structure_data="slabs/", relax_cell=False, # DO NOT relax cell for slabs (fixed area) fmax=0.02, output_dir="slab_relaxations/" )Important: Keep the unit cell fixed (
relax_cell=False) to maintain the target surface area.
What ships with it
14 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.
- examples/FCC_metals/Cu_bulk.cif 694 B
- examples/FCC_metals/get_bulk_cu.py 192 B runs code
- examples/FCC_metals/README.md 1.8 KB
- examples/FCC_metals/run_surface_energy.sh 1.1 KB runs code
- examples/FCC_metals/slabs/slab_10-1_3.cif 1.1 KB
- examples/FCC_metals/slabs/slab_11-1_2.cif 1.2 KB
- examples/FCC_metals/slabs/slab_110_1.cif 968 B
- examples/FCC_metals/slabs/slab_111_0.cif 914 B
- examples/FCC_metals/surface_energies.json 244 B
- examples/FCC_metals/wulff_shape.json 247 B
- examples/FCC_metals/wulff_shape.png 92 KB
- scripts/calculate_surface_energy.py 5.6 KB runs code
- scripts/create_slabs.py 2.7 KB runs code
- scripts/generate_wulff.py 2.4 KB runs code
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.
- yesterday First seen · 104 lines · 27 tokens per session scan A e979a13178b9
mat-surface-energy is a skill published in the GitHub repository learningmatter-mit/AtomisticSkills (158 stars, last pushed yesterday), licensed MIT. It adds 27 tokens to every session and 1,246 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
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.
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.
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…
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…
mapping-to-snomed
Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…
auditing-subgroup-fairness
Audit an OpenMed NER or de-identification model for performance disparities across demographic subgroups (sex, age band, race/ethnicity when available) using openmed.eval.fairnessreport. Use when the user wants per-subgroup recall and leakage, wants to check whether de-identification under-protects a group, wants to…