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.
git clone --depth 1 https://github.com/learningmatter-mit/AtomisticSkillsnpx agentmods add skills/learningmatter-mit/atomisticskills/mat-pourbaix-diagramWrote 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-pourbaix-diagram)<a href="https://agentmods.dev/skills/learningmatter-mit/atomisticskills/mat-pourbaix-diagram"><img src="https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/mat-pourbaix-diagram.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.1 | $0.00035 | $0.02480 |
| Opus 5 | $0.00017 | $0.01240 |
| Sonnet 5 | $0.00007 | $0.00496 |
| Haiku 4.5 | $0.00003 | $0.00248 |
Grade A, and why
mat-pourbaix-diagram 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pourbaix Diagram
Goal
To calculate thermodynamically consistent Pourbaix (pH-voltage) diagrams for assessing the aqueous electrochemical stability of materials. This skill uses Machine Learning Interatomic Potentials (MLIPs) for solid phase energies combined with Materials Project data for aqueous species, following the rigorous methodology of Persson et al. (2012)¹.
Applications:
- Alkaline-stable solid-state electrolytes (Li-air batteries)
- Corrosion-resistant materials
- Aqueous battery electrodes
- Electrochemical stability screening
Features
- Automated Referenced: Fetches elemental energies from
elemental-energiesskill to fill missing terminal entries (e.g., if you relaxedLiCoO2but forgotLimetal, it will be auto-loaded). - H2O Reference: Checks
resources/h2o_energies.jsonvalues matching the MLIP checkpoint. If found, uses this pre-calculated energy. If not found, falls back to look forH2Orelaxation in the--relaxed_solidsdirectory. - MP2020 Compatibility: Automatically detects if compatibility corrections are needed via
gga-ggau-mixed-mlips.yaml.
Background
Pourbaix Diagrams
A Pourbaix diagram shows the thermodynamically stable phases as a function of pH and electrochemical potential (voltage vs. SHE). The diagram maps stability domains for solids and dissolved ions in aqueous environments.
Critical: Thermodynamic Consistency
The Challenge: Mixing computational (MLIP/DFT) solid energies with experimental aqueous ion data creates energy scale mismatch.
The Solution (Persson et al. 2012)¹: Water correction that aligns MLIP water formation energy with experimental Gibbs free energy. We use a robust cycle that fixes the hydrogen reference to the Standard Hydrogen Electrode (SHE) scale.
3. Automated Referencing
The script calculate_pourbaix.py automatically:
- Fetches per-atom elemental energies from the
elemental-energiesskill. - Applies thermodynamic corrections for H₂ gas ($S^\circ$, $\Delta H$) to deriving $\mu_H$.
- Uses a locally relaxed H₂O structure to derive $\mu_O$, ensuring correct water formation energy.
- H2O Reference: Checks
resources/h2o_energies.jsonvalues matching the MLIP checkpoint. If found, uses this pre-calculated energy. If not found, falls back to look forH2Orelaxation in the--relaxed_solidsdirectory.
- H2O Reference: Checks
What ships with it
12 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/NaNi_MatPES_r2SCAN.png 409 KB
- examples/NaNi_MP.png 321 KB
- examples/README.md 1.9 KB
- resources/example_chemsys.json 946 B
- resources/H2.cif 479 B
- resources/h2o_energies.json 1.6 KB
- resources/H2O.cif 517 B
- resources/O2.cif 479 B
- resources/README.md 1.2 KB
- scripts/calculate_pourbaix_mp.py 4.4 KB runs code
- scripts/calculate_pourbaix.py 20 KB runs code
- scripts/get_pourbaix_structures.py 8.0 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.
- 3d ago First seen · 221 lines · 35 tokens per session scan A 77240f5946e2
mat-pourbaix-diagram is a skill published in the GitHub repository learningmatter-mit/AtomisticSkills (161 stars, last pushed 3d ago), licensed MIT. It adds 35 tokens to every session and 2,480 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.
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…
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.
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…
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.