Agent skill

Mat Electrochemical Window

by learningmatter-mit in learningmatter-mit/AtomisticSkills

Calculate the intrinsic electrochemical stability window (ECW) of a material using standard phase diagram thermodynamic methods.

MITAuto-check passed

Install Mat Electrochemical Window

skills CLI
$ npx skills add learningmatter-mit/AtomisticSkills --skill mat-electrochemical-window -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install learningmatter-mit/AtomisticSkills mat-electrochemical-window --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/learningmatter-mit/AtomisticSkills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mat-electrochemical-window .claude/skills/mat-electrochemical-window && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mat-electrochemical-window
GitHub stars
175
Token cost
~1.4k tokens
SKILL.md length
642 words
Files
4 (incl. scripts)
Skills in repo
129
Repo updated
First seen
Licence
MIT

At a glance

Calculate the intrinsic electrochemical stability window (ECW) of a material using standard phase diagram thermodynamic methods.

  • Works in 3 steps: Calculate Global Phase Diagram… → Identify the stable Region: Evaluating… → Reference Scale Conversion: The bounds…
  • SKILL.md covers Goal, Methodology, Instructions and Examples, plus 2 more sections
  • Runs Python scripts from its folder

What it does

Mat Electrochemical Window is an agent skill from learningmatter-mit/AtomisticSkills. Calculate the intrinsic electrochemical stability window (ECW) of a material using standard phase diagram thermodynamic methods.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `examples/literature_reproduction/README.md`, `examples/literature_reproduction/reproduce_table1.py` and `scripts/calculate_ecw.py`).

The repository describes itself as: Integrating AtomisticSkills into Agentic IDEs (Cursor, Claude Code, Codex, Google Antigravity, Hermes Agent, etc). The licence is MIT.

Example prompts

  • “/mat-electrochemical-window”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Calculate Global Phase Diagram boundaries: For the composition of the target phase, identifying the critical chemical potentials…
  2. Identify the stable Region: Evaluating an intermediary point in each discrete chemical potential band on the GrandPotentialPhaseDiagram to…
  3. Reference Scale Conversion: The bounds are translated from absolute chemical potentials into voltages versus the pure standard state…

What it can do on your machine

Read from SKILL.md and the folder at commit 7f2d86d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • doi.org
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mat Electrochemical Window loads about 1.4k tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 642 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from learningmatter-mit/AtomisticSkills at commit 7f2d86d, republished under its MIT licence (© learningmatter-mit). 642 words, ~1,421 tokens.

Download SKILL.mdSave it as .claude/skills/mat-electrochemical-window/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
mat-electrochemical-window
description
Calculate the intrinsic electrochemical stability window (ECW) of a material using standard phase diagram thermodynamic methods.
metadata.category
materials
metadata.venv
cpu

Electrochemical Stability Window (ECW) Calculation

Goal

To determine the intrinsic electrochemical stability window (ECW) of a material, specifically bounding the reduction ($V_{\text{red}}$) and oxidation ($V_{\text{ox}}$) potentials against a mobile working ion (e.g., Li/Li+), using a standard zero-Kelvin phase diagram.

This explicitly implements the standard thermodynamic approach for solid electrolytes defined in: Zhu, Y., He, X. & Mo, Y. "Origin of Outstanding Stability in the Lithium Solid Electrolyte Materials: Insights from Thermodynamic Analyses Based on First-Principles Calculations". ACS Appl. Mater. Interfaces 7, 23685–23693 (2015).

[!TIP] Coupling with Stability: ECW calculation relies entirely on the same generic computed energies and PhaseDiagram used for determining $E_{hull}$. You can uniquely combine this with the mat-stability skill to calculate both intrinsic thermodynamic stability and electrochemical stability in the same step using the same unified convex hull.

Methodology

The electrochemical stability window of a phase represents the voltage range over which it is thermodynamically stable against reduction by (e.g., lithiation) or oxidation (e.g., delithiation) of the target ion.

In pymatgen, this exact analytical bounding is extracted using PhaseDiagram.get_transition_chempots(mobile_element).

  1. Calculate Global Phase Diagram boundaries: For the composition of the target phase, identifying the critical chemical potentials ($\mu_{\text{Li}}$) where stable facets on the phase diagram intersect.
  2. Identify the stable Region: Evaluating an intermediary point in each discrete chemical potential band on the GrandPotentialPhaseDiagram to check if the exact composition is structurally present on the extended hull. If the material is metastable (E_hull > 0), its intrinsic ECW is always exactly [0.0 V, 0.0 V].
  3. Reference Scale Conversion: The bounds are translated from absolute chemical potentials into voltages versus the pure standard state metal: $V = -(\mu_{\text{Li}} - \mu_{\text{Li, ref}})$.

Instructions

To compute the intrinsic ECW of a material, utilize the calculate_ecw.py script. The script automatically handles Materials Project thermodynamic entries, phase diagram construction, and calculates the exact analytical grand-potential limits using .get_transition_chempots().

bash
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/calculate_ecw.py --mp-id mp-1183147 --mobile-ion Li
Script Arguments
  • --mp-id: The Materials Project ID of the desired structure (e.g., mp-1183147 for LGPS).
  • --mobile-ion: The symbol of the mobile ion specifying the redox couple (default: Li).

Examples

Show full SKILL.md (310 more words)Show less
Example 1: Reproducing Solid Electrolyte Literature ECW

You can independently reproduce the exact intrinsic thermodynamic stability windows (Table 1) reported in the original Zhu et al. (2015) manuscript using the script provided in this skill.

bash
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/examples/literature_reproduction/reproduce_table1.py

[!NOTE] Explaining Historical Discrepancies: While the calculated lower boundaries ($V_{\text{red}}$) match Table 1 directly, you will see $V_{\text{ox}}$ values diverge slightly (by 0.1V - 0.3V). This is an expected artifact of Database Evolution. The 2015 calculations relied on legacy GGA parameters; Materials Project released completely new thermodynamic corrections (the MP2020 schema) specifically adjusting the formation energies of gasses and anions (like $S$ and $O_2$), alongside adding tens of thousands of newly competitive stable phases.

Constraints

  • Environments: The analytical scripts here rely strictly on standard pymatgen definitions and mp-api interactions, so every command runs in the cpu environment.
  • Energy Consistency: The ComputedEntry for the candidate phase must share identical calculation parameters (pseudopotentials, U-values, relaxations) with the baseline structures comprising the PhaseDiagram object.
  • Reference Accuracy: Ensure the Phase Diagram holds an accurate ground state reference for the metallic mobile ion.
  • Phase Coverage: To appropriately predict $V_{\text{red}}$ and $V_{\text{ox}}$, the supplied pd must be fully comprehensive of all thermodynamically competing phases occurring within the target generic chemical system (e.g., for Li10GeP2S12, the PD must include the entirety of the Li-Ge-P-S quaternary compositional space).
  • Physical Interpretation of Metastability: If $E_{\text{hull}} > 0$ meV/atom, the script will mathematically return an ECW of [0.0V, 0.0V]. This strictly reflects thermodynamic conditions. If you need to force a metastable compound onto the hull to view its artificial "pseudo-stability" limit (as done in Zhu 2015), manually set entry = ComputedEntry(composition, hull_energy - 1e-5) before passing into the logic.

References

  • Zhu, Y., He, X. & Mo, Y. "Origin of Outstanding Stability in the Lithium Solid Electrolyte Materials: Insights from Thermodynamic Analyses Based on First-Principles Calculations". ACS Appl. Mater. Interfaces 7, 23685–23693 (2015). DOI: 10.1021/acsami.5b07517

Author: Bowen Deng Contact: GitHub @learningmatter-mit

© learningmatter-mit, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in skills/mat-electrochemical-window of learningmatter-mit/AtomisticSkills.

  • SKILL.md
  • examples/literature_reproduction/README.md
  • examples/literature_reproduction/reproduce_table1.py
  • scripts/calculate_ecw.py

Open the folder on GitHubat commit 7f2d86d

Compare with similar skills

Mat Electrochemical Window next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mat Electrochemical Window compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mat Electrochemical Window this skilllearningmatter-mit/AtomisticSkills175—~1.4kAutomated safety check: PassMIT
Windows Desktop E2Eaffaan-m/ECC274k1 repos~7.6kAutomated safety check: PassMIT
Windows Desktop E2Eaffaan-m/ECC274k—~5.5kAutomated safety check: PassMIT
Busybox On Windowsdavila7/claude-code-templates32k6 repos~480Automated safety check: PassMIT
Cpp Coding Standardsaffaan-m/ECC274k4 repos~5.6kAutomated safety check: PassMIT
Java Coding Standardsaffaan-m/ECC274k1 repos~2.9kAutomated safety check: PassMIT

Similar skills

  • E2E testing for Windows native desktop apps (WPF, WinForms, Win32/MFC, Qt) using pywinauto and Windows UI Automation.

    274k GitHub starsUsed in 1 repo~7.6k tokens
    Testing & QAAuto-check passed
  • E2E testing for Windows native desktop apps (WPF, WinForms, Win32/MFC, Qt) using pywinauto and Windows UI Automation.

    274k GitHub stars~5.5k tokensUpdated 2 days ago
    Testing & QAAuto-check passed
  • Busybox On Windows

    davila7/claude-code-templates

    How to use a Win32 build of BusyBox to run many of the standard UNIX command line tools on Windows.

    32k GitHub starsUsed in 6 repos~480 tokens
    Auto-check passed
  • C++ coding standards based on the C++ Core Guidelines (isocpp.github.io).

    274k GitHub starsUsed in 4 repos~5.6k tokens
    DevelopmentAuto-check passed
  • Java coding standards for Spring Boot and Quarkus services: naming, immutability, Optional usage, streams, exceptions, generics, CDI, reactive patterns, and project layout.

    274k GitHub starsUsed in 1 repo~2.9k tokens
    DevelopmentAuto-check passed
  • Windows Hardening

    sickn33/agentic-awesome-skills

    Harden Windows servers per security baselines and CIS benchmarks.

    47k GitHub starsUsed in 2 repos~4.4k tokens
    Auto-check passed

More from learningmatter-mit/AtomisticSkills

All 129 skills in this repo
  • Drug Binding Site Definition

    learningmatter-mit/AtomisticSkills

    Define a docking search box (center coordinates + box dimensions in Angstroms) from a co-crystal ligand, binding-site residues, or a saved JSON specification.

    175 GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Drug Complex System Builder

    learningmatter-mit/AtomisticSkills

    Build a solvated, charge-neutralized protein-ligand complex for OpenMM molecular dynamics simulation.

    175 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Drug Pocket Detection

    learningmatter-mit/AtomisticSkills

    Identify and rank ligandable pockets on a protein structure or model using geometry (fpocket) or an ML predictor (P2Rank).

    175 GitHub stars~4k tokensUpdated yesterday
    Auto-check passed
  • Chem Bond Dissociation

    learningmatter-mit/AtomisticSkills

    Calculate homolytic and heterolytic bond dissociation energies (BDEs) for all single bonds in a molecule using MLIPs with RDKit fragmentation.

    175 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Chem Conformer Search

    learningmatter-mit/AtomisticSkills

    Generate molecular conformers with RDKit ETKDG, relax with MLIPs, and rank by energy with Boltzmann weighting.

    175 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Chem DB Mof

    learningmatter-mit/AtomisticSkills

    Query multiple MOF databases (QMOF via MPContribs; ARC-MOF DB7/Majumdar et al.

    175 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed

Questions about Mat Electrochemical Window

What does Mat Electrochemical Window do?

Calculate the intrinsic electrochemical stability window (ECW) of a material using standard phase diagram thermodynamic methods. Mat Electrochemical Window is an agent skill from learningmatter-mit/AtomisticSkills. Calculate the intrinsic electrochemical stability window (ECW) of a material using standard phase diagram thermodynamic methods.

How do I install Mat Electrochemical Window in Claude Code?

Run `npx skills add learningmatter-mit/AtomisticSkills --skill mat-electrochemical-window -a claude-code`. Or copy the skill folder (skills/mat-electrochemical-window in learningmatter-mit/AtomisticSkills) into .claude/skills/mat-electrochemical-window in your project. Claude Code loads it when a task matches its description.

How do I install Mat Electrochemical Window in Codex?

Run `npx skills add learningmatter-mit/AtomisticSkills --skill mat-electrochemical-window -a codex`. Or copy the skill folder (skills/mat-electrochemical-window in learningmatter-mit/AtomisticSkills) into .agents/skills/mat-electrochemical-window in your project. Codex loads it when a task matches its description.

Can I use Mat Electrochemical Window in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add learningmatter-mit/AtomisticSkills --skill mat-electrochemical-window -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mat-electrochemical-window, .gemini/skills/mat-electrochemical-window, .github/skills/mat-electrochemical-window and .opencode/skills/mat-electrochemical-window in your project.

What does Mat Electrochemical Window need to run?

Going by SKILL.md and its folder, Mat Electrochemical Window needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Mat Electrochemical Window access the network?

SKILL.md names 2 domains. As links in the text: doi.org and github.com. This is read from the text; nothing was executed.

Is Mat Electrochemical Window safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Mat Electrochemical Window use?

Mat Electrochemical Window is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mat Electrochemical Window use?

About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mat Electrochemical Window?

Skills that share tags, products or a category with Mat Electrochemical Window: Windows Desktop E2E (affaan-m/ECC, 274k stars), Windows Desktop E2E (affaan-m/ECC, 274k stars), Busybox On Windows (davila7/claude-code-templates, 32k stars) and Cpp Coding Standards (affaan-m/ECC, 274k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mat Electrochemical Window?

learningmatter-mit (a GitHub organization) maintains it in learningmatter-mit/AtomisticSkills, which has 175 GitHub stars. The repository holds 129 skills in this directory. The repository was last updated on October 6, 2026.

Source: learningmatter-mit/AtomisticSkills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.