Install the "mat-defect-energy-dft" agent skill from https://github.com/learningmatter-mit/AtomisticSkills/tree/main/skills/mat-defect-energy-dft into .claude/skills/mat-defect-energy-dft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mat-defect-energy-dft", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add learningmatter-mit/AtomisticSkills --skill mat-defect-energy-dft -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "mat-defect-energy-dft" agent skill from https://github.com/learningmatter-mit/AtomisticSkills/tree/main/skills/mat-defect-energy-dft into .agents/skills/mat-defect-energy-dft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mat-defect-energy-dft", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add learningmatter-mit/AtomisticSkills --skill mat-defect-energy-dft -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "mat-defect-energy-dft" agent skill from https://github.com/learningmatter-mit/AtomisticSkills/tree/main/skills/mat-defect-energy-dft into .cursor/skills/mat-defect-energy-dft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mat-defect-energy-dft", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add learningmatter-mit/AtomisticSkills --skill mat-defect-energy-dft -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "mat-defect-energy-dft" agent skill from https://github.com/learningmatter-mit/AtomisticSkills/tree/main/skills/mat-defect-energy-dft into .gemini/skills/mat-defect-energy-dft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mat-defect-energy-dft", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add learningmatter-mit/AtomisticSkills --skill mat-defect-energy-dft -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "mat-defect-energy-dft" agent skill from https://github.com/learningmatter-mit/AtomisticSkills/tree/main/skills/mat-defect-energy-dft into .github/skills/mat-defect-energy-dft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mat-defect-energy-dft", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add learningmatter-mit/AtomisticSkills --skill mat-defect-energy-dft -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "mat-defect-energy-dft" agent skill from https://github.com/learningmatter-mit/AtomisticSkills/tree/main/skills/mat-defect-energy-dft into .opencode/skills/mat-defect-energy-dft/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mat-defect-energy-dft", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
mat-defect-energy-dft
GitHub stars
176
Token cost
~1.6k tokens
SKILL.md length
417 words
Files
11 (incl. scripts)
Skills in repo
129
Repo updated
First seen
Licence
MIT
At a glance
Calculate charged defect formation energies and transition level diagrams using pymatgen-analysis-defects and atomate2 VASP workflows.
Works in 5 steps: Obtain Bulk Structure → Generate Defect Structures → Run DFT Calculations (atomate2) → …
Tasks that involve Physical and earth sciences
SKILL.md covers Goal, Instructions, Examples and Constraints
Runs Python scripts from its folder
What it does
Mat Defect Energy Dft is an agent skill from learningmatter-mit/AtomisticSkills. Calculate charged defect formation energies and transition level diagrams using pymatgen-analysis-defects and atomate2 VASP workflows.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts (for example `examples/MgO_charged_vacancy/README.md`, `examples/MgO_charged_vacancy/build_diagram.py` and `examples/MgO_charged_vacancy/charged_formation_energies.json`).
It sits in Research & Science, covering Physical and earth sciences and Diagrams. It works with Model Context Protocol. The repository describes itself as: Integrating AtomisticSkills into Agentic IDEs (Cursor, Claude Code, Codex, Google Antigravity, Hermes Agent, etc). The licence is MIT.
When your agent uses it
Tasks that involve Physical and earth sciences
Tasks that involve Diagrams
Example prompts
“/mat-defect-energy-dft”
Requirements
Python 3
Workflow steps
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6257444. 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 2 files 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):
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 Defect Energy Dft loads about 1.6k tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 417 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.6k
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.
Download SKILL.mdSave it as .claude/skills/mat-defect-energy-dft/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.
name
mat-defect-energy-dft
description
Calculate charged defect formation energies and transition level diagrams using pymatgen-analysis-defects and atomate2 VASP workflows.
metadata.category
materials
metadata.venv
cpu
Point-Defect Formation Energy (DFT)
<!-- mcp-tools-note -->
[!NOTE]
Steps written server.tool are MCP tool calls: base.search_materials_project_by_formula is the search_materials_project_by_formula
tool of the base server (mcp__base__search_materials_project_by_formula, or
mcp__plugin_atomistic-skills_base__search_materials_project_by_formula when installed as a plugin).
Without a connected server, run the same tools from the shell. Tools named in
one command share a process, so a model loaded by load_model stays loaded:
bash
${CLAUDE_SKILL_DIR}/../../venv/run cpu python -m src.mcp_server.cli base search_materials_project_by_formula key=value
${CLAUDE_SKILL_DIR}/../../venv/run cpu python -m src.mcp_server.cli atomate2 run_atomate2_vasp_calculation key=value
Goal
To calculate the formation energy of point defects (vacancies, substitutions, interstitials) including charged defect states and finite-size corrections using DFT (VASP) via atomate2 workflows. This produces formation energy diagrams showing defect charge transition levels as a function of Fermi energy.
where $q$ is the charge state, $E_\text{VBM}$ is the valence band maximum, $\Delta E_F$ is the Fermi energy relative to VBM, and $E_\text{corr}$ is the finite-size correction (Freysoldt/FNV).
Applies Freysoldt (FNV) finite-size corrections for charged defects
Determines VBM and band gap from bulk calculation
Constructs the formation energy diagram
Show full SKILL.md (150 more words)Show less
5. Interpret Results
The formation energy diagram shows:
Slopes: Each line segment has slope = charge state $q$
Transition levels: Intersections where the stable charge state changes ($\epsilon(q/q')$)
Low formation energy → high concentration: Defects with low $E_f$ at the Fermi level are most abundant
Examples
Oxygen Vacancy in MgO
bash
# 1. Get MgO
base.search_materials_project_by_formula(formula="MgO")
# 2. Generate defects with charges -2 to +2
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/generate_defect_structures.py \
--bulk MgO.cif --supercell_size 3 3 3 --defect_type vacancy --charge_range -2 2 --output mgo_defects/
# 3. Run DFT (remote)
atomate2.run_atomate2_vasp_calculation(
structures_path="mgo_defects/", output_dir="./mgo_dft/",
calculation_type="relaxation", preset_type="matpes-pbe", execution_mode="remote"
)
# 4. Parse and plot (after DFT completes)
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/parse_defect_results.py \
--bulk_dir mgo_dft/pristine_supercell/ --defect_dir mgo_dft/ \
--defect_index mgo_defects/defect_index.json --dielectric 9.8 --output mgo_fe.json
Constraints
VASP required: Actual DFT calculations require a valid VASP setup (PMG_VASP_PSP_DIR, atomate2/jobflow-remote configured).
Supercell size: Use at least 3×3×3 for cubic systems. Charged defect corrections are less reliable for small cells.
Dielectric constant: The Freysoldt correction requires the static dielectric constant of the host material. Use experimental or computed values.
Functional: PBE underestimates band gaps → transition levels may be shifted. For accurate results, use HSE06 hybrid functional (requires custom INCAR settings).
Environments:
Structure generation: cpu (pymatgen-analysis-defects)
DFT submission: cpu (via MCP tool)
Post-processing: cpu
For neutral defects only (no DFT): See mat-defect-energy for MLIP-based approach.
Mat Defect Energy Dft 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 Defect Energy Dft compared with similar skills
Skill
Stars
Used in
Tokens
Auto-check
Licence
Repo updated
Mat Defect Energy Dft this skilllearningmatter-mit/AtomisticSkills
Provides access to a collection of open-source molecular design and structural biology tools on the Tamarind Bio platform, via its REST API or MCP server — no local GPUs required.
Define a docking search box (center coordinates + box dimensions in Angstroms) from a co-crystal ligand, binding-site residues, or a saved JSON specification.
Calculate charged defect formation energies and transition level diagrams using pymatgen-analysis-defects and atomate2 VASP workflows. Mat Defect Energy Dft is an agent skill from learningmatter-mit/AtomisticSkills. Calculate charged defect formation energies and transition level diagrams using pymatgen-analysis-defects and atomate2 VASP workflows.
When should I use Mat Defect Energy Dft?
Mat Defect Energy Dft fits situations like: tasks that involve Physical and earth sciences; tasks that involve Diagrams.
How do I install Mat Defect Energy Dft in Claude Code?
Run `npx skills add learningmatter-mit/AtomisticSkills --skill mat-defect-energy-dft -a claude-code`. Or copy the skill folder (skills/mat-defect-energy-dft in learningmatter-mit/AtomisticSkills) into .claude/skills/mat-defect-energy-dft in your project. Claude Code loads it when a task matches its description.
How do I install Mat Defect Energy Dft in Codex?
Run `npx skills add learningmatter-mit/AtomisticSkills --skill mat-defect-energy-dft -a codex`. Or copy the skill folder (skills/mat-defect-energy-dft in learningmatter-mit/AtomisticSkills) into .agents/skills/mat-defect-energy-dft in your project. Codex loads it when a task matches its description.
Can I use Mat Defect Energy Dft 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-defect-energy-dft -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-defect-energy-dft, .gemini/skills/mat-defect-energy-dft, .github/skills/mat-defect-energy-dft and .opencode/skills/mat-defect-energy-dft in your project.
What does Mat Defect Energy Dft need to run?
Going by SKILL.md and its folder, Mat Defect Energy Dft needs Python for the scripts in its folder. Our summary lists: Python 3.
Does Mat Defect Energy Dft access the network?
SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.
Is Mat Defect Energy Dft 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 Defect Energy Dft use?
Mat Defect Energy Dft 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 Defect Energy Dft use?
About 1.6k tokens (SKILL.md is roughly 6.3k 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 Defect Energy Dft?
Skills that share tags, products or a category with Mat Defect Energy Dft: Pymatgen (zLanqing/codex-claude-academic-skills, 4.6k stars), Chemgraph (argonne-lcf/ChemGraph, 162 stars), Run Fluent Autoclave (Cai-aa/CAE-Agent-Hub, 998 stars) and Pymatgen (K-Dense-AI/scientific-agent-skills, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Mat Defect Energy Dft?
learningmatter-mit (a GitHub organization) maintains it in learningmatter-mit/AtomisticSkills, which has 176 GitHub stars. The repository holds 129 skills in this directory. The repository was last updated on October 7, 2026.