dft-surfaces

dft-surfaces is a skill for Claude Code, Codex from SFETNI/Deep-Matter-Chem-Skills. It costs 4 tokens per session (15,991 once invoked), scanned A, original, MIT.

A guide to modeling material surfaces and calculating their properties with density functional theory, a computer method for estimating electronic and atomic behavior.

In plain words
What is it for?
Use it for adsorption, surface stability, catalytic reactions, surface reconstruction, work functions, surface phase diagrams, and preparing structures for machine-learning potential training.
Why use it?
It brings together the steps needed to make reliable surface models, test their thickness and spacing, and calculate surface-related energies and electronic properties.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for adsorption, surface stability, catalytic reactions, surface reconstruction, work functions, surface phase diagrams, and preparing structures for machine-learning potential training.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sfetni/deep-matter-chem-skills/dft-surfaces
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.

Any agent
npx skills add SFETNI/Deep-Matter-Chem-Skills --skill dft-surfaces
Clone the repo
git clone --depth 1 https://github.com/SFETNI/Deep-Matter-Chem-Skills

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 dft-surfaces

README.md
[![agentmods](https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/dft-surfaces/github.svg)](https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/dft-surfaces)
Your own site
<a href="https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/dft-surfaces"><img src="https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/dft-surfaces/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dft-surfaces

Your own site · 80×15
<a href="https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/dft-surfaces"><img src="https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/dft-surfaces.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 15,991 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.1 $0.00004 $0.15991
Opus 5 $0.00002 $0.07995
Sonnet 5 $0.00001 $0.03198
Haiku 4.5 $0.00000 $0.01599

Measured 12d ago against content hash 1f16b6867bd9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

dft-surfaces 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 12d 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.

skills/electronic-structure/dft-surfaces/SKILL.md · 1,023 lines

How it starts

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

DFT Surface Calculations

Description

This skill covers the construction and DFT calculation of surface slab models: Miller-index surface generation, termination selection, slab and vacuum thickness convergence, dipole corrections, surface energy and adsorption energy calculations, work function extraction, and ab initio surface phase diagrams. It integrates VASP and Quantum ESPRESSO as DFT backends with ASE and pymatgen for structure handling and analysis. Invoke this skill when studying adsorption, surface stability, catalytic reactions, surface reconstruction, work functions, or when generating surface structures for ML interatomic potential training.

Domain Context

A surface is modeled by the slab approximation: a finite-thickness periodic layer of solid separated from its periodic images by a vacuum gap. Both the solid and vacuum are periodic in the plane of the surface (xy), and the slab stack is repeated along the surface normal (z). The key approximation is that the slab is thick enough to recover bulk-like behavior in its interior and that the vacuum is wide enough to suppress interaction between periodic images.

Miller indices and surface orientation: A surface is specified by a Miller index (hkl), which defines the plane perpendicular to the [hkl] direction of the bulk conventional cell. The surface unit cell may be primitive (1×1) or reconstructed (e.g., Si(001) 2×1, Pt(111) √3×√3-R30°). High-index surfaces (stepped, kinked) have lower symmetry but are more reactive.

Surface termination: Many materials have multiple inequivalent terminations at the same (hkl). For example, Al₂O₃(0001) can terminate at Al or O; TiO₂(110) can be stoichiometric or reduced. Termination determines surface energy, adsorption site geometry, and stability under reaction conditions. Each termination must be modeled separately.

Symmetric vs. asymmetric slabs:

  • Asymmetric slab: top and bottom surfaces are different (e.g., top = Al-terminated, bottom = O-terminated). Has a net dipole moment in the z direction for polar surfaces. Requires dipole correction. Cannot extract individual surface energies from a single calculation without a reference.
  • Symmetric slab: top and bottom surfaces are identical; obtained by inversion symmetry or by cleaving at a mirror plane. No net dipole. Surface energy is unambiguous. Harder to construct for some terminations.

Read the full file on GitHub · 1,023 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. 12d ago First seen · 1,023 lines · 4 tokens per session scan A 1f16b6867bd9

Subscribe to this mod's changes

dft-surfaces is a skill published in the GitHub repository SFETNI/Deep-Matter-Chem-Skills (6 stars, last pushed 1mo ago), licensed MIT. It adds 4 tokens to every session and 15,991 once invoked, about $0.0000 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-08-31.

Related

Other skills, from other repositories

datamol

Pythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, descriptors, fingerprints, clustering, 3D conformers, parallel processing. Returns native rdkit.Chem.Mol objects. For advanced control or custom parameters…

synthetic-sciences/openscience · 67 tokens

smiles-validation

Strict SMILES validation, structural comparison, and modification verification. Catches invalid LLM-generated molecules.

synthetic-sciences/openscience · 24 tokens

patsnap-biological-modality

Biological sequence and modality intelligence via Patsnap MCP.

patsnap/mcp · 19 tokens

patsnap-scientific-translational-evidence

Patsnap Scientific & Translational Evidence MCP for AI agents. Retrieval platform focusing on scientific literature and translational outcomes, covering academic publication queries and translational medicine record tracking.

patsnap/mcp · 47 tokens

patsnap-target-disease

Patsnap Target & Disease MCP for AI agents. Target and disease profiling tool, covering target characterization, disease profiling, and epidemiology evidence retrieval.

patsnap/mcp · 37 tokens

patsnap-solution-engine

Patsnap TRIZ Concept Solution Engine MCP for AI agents. Generates innovation or product cost-reduction concepts through asynchronous TRIZ and TRIZ/DFMA workflows. Use for engineering problem solving, concept alternatives, cost-reduction analysis, task-progress retrieval, and selected-solution details.

patsnap/mcp · 64 tokens