mat-intercalation-voltage

mat-intercalation-voltage is a skill for Claude Code, Codex from learningmatter-mit/AtomisticSkills. It costs 22 tokens per session (1,201 once invoked), scanned A, original, MIT.

Calculate the average intercalation voltage of cathode materials using MLIPs.

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-intercalation-voltage
Any agent
npx skills add learningmatter-mit/AtomisticSkills --skill mat-intercalation-voltage
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-intercalation-voltage

README.md
[![agentmods](https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/mat-intercalation-voltage.svg)](https://agentmods.dev/skills/learningmatter-mit/atomisticskills/mat-intercalation-voltage)
Your own site
<a href="https://agentmods.dev/skills/learningmatter-mit/atomisticskills/mat-intercalation-voltage"><img src="https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/mat-intercalation-voltage.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,201 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.00022 $0.01201
Opus 5 $0.00011 $0.00600
Sonnet 5 $0.00004 $0.00240
Haiku 4.5 $0.00002 $0.00120

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

Security

Grade A, and why

mat-intercalation-voltage 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 2 executable files (scripts/calculate_voltage.py, scripts/remove_atoms.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-intercalation-voltage/SKILL.md · 118 lines

How it starts

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

Intercalation Voltage

Goal

To calculate the average open-circuit voltage (OCV) of an intercalation cathode material (e.g., Li$_x$M$_y$O$_z$) by computing the energy difference between the fully intercalated (charged) and de-intercalated (discharged) states.

The average voltage $V$ is given by: $$V = -\frac{E(\text{full}) - E(\text{empty}) - n \mu_{\text{metal}}}{n}$$ where $E$ is the total energy, $n$ is the number of intercalated ions, and $\mu_{\text{metal}}$ is the chemical potential per atom of the bulk metal.

Instructions

  1. Prepare Structures:

    • Obtain the fully intercalated structure (e.g., LiFePO$_4$)
    • Create the de-intercalated structure by removing intercalating ions:
    # Env: base-agent
    python .agents/skills/mat-intercalation-voltage/scripts/remove_atoms.py \
        LiFePO4.cif \
        --remove Li \
        --output FePO4.cif
    
    • Get the bulk metal structure from resources/ (e.g., Li_metal.cif)
  2. Select Foundation Potential: Choose an appropriate MLIP based on the system (see foundation-potentials.md). For cathode materials, MACE-MH-1 with matpes_r2scan head or CHGNet-MatPES-r2SCAN are recommended.

  3. Relax Structures Using MCP Tools:

    Load the model and relax all three structures:

    # Load the model (example with MACE)
    mcp_mace_load_model(model_name="MACE-MH-1", task_name="matpes_r2scan")
    
    # Relax full structure
    mcp_mace_relax_structure(
        structure_data="LiFePO4.cif",
        output_dir="voltage_calc/full_relax"
    )
    
    # Relax empty structure
    mcp_mace_relax_structure(
        structure_data="FePO4.cif",
        output_dir="voltage_calc/empty_relax"
    )
    
    # Relax bulk metal
    mcp_mace_relax_structure(
        structure_data=".agents/skills/mat-intercalation-voltage/resources/Li_metal.cif",
        output_dir="voltage_calc/metal_relax"
    )
    
  4. Extract Energies: From each relaxation output directory, extract:

    • E_full: Energy from full_relax/result.json
    • E_empty: Energy from empty_relax/result.json
    • E_metal: Energy from metal_relax/result.json
    • n_metal: Number of atoms in the relaxed metal structure
    • n_ions: Count difference of intercalating ions between full and empty structures

Read the full file on GitHub · 118 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 · 118 lines · 22 tokens per session scan A 1174760aa32d

Subscribe to this mod's changes

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