Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Adsorption

ASecurity

Use when the user asks for adsorption energy, binding energy, or wants to compare how strongly a molecule binds to a surface.

199 stars
0 votes
0 copies
0 views
Added 9/20/2026
developmentpythongoapi

Works with

apimcp

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add Hello-QM/catgo-LRG --skill adsorption --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Adsorption?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Adsorption
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hello-qm-adsorption/badge)](https://www.skillsdirectory.com/skills/hello-qm-adsorption)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: adsorption-energy
description: >
  Use when the user asks for adsorption energy, binding energy, or wants to
  compare how strongly a molecule binds to a surface.
---

# Adsorption Energy Calculation

## Theory

```
E_ads = E(slab+adsorbate) - E(slab) - E(adsorbate_gas)
```

- `E_ads < 0`: exothermic adsorption (favorable)
- `E_ads > 0`: endothermic (unfavorable)

### With ZPE Correction

```
dG_ads = G(slab+adsorbate) - G(slab) - G(adsorbate_gas)
```

Where G includes DFT energy + ZPE - TS from Gibbs free energy calculation.

## Three Required Calculations

| System | Description | Notes |
|--------|-------------|-------|
| slab+adsorbate | Adsorbate on surface | geo_opt with fixed bottom layers |
| clean slab | Same slab without adsorbate | geo_opt with same settings |
| adsorbate gas | Isolated molecule in box | geo_opt in large vacuum box (15+ A) |

All three MUST use identical computational settings (ENCUT, EDIFF, k-points
for slab systems; Gamma-only for gas molecule).

## MCP Workflow

### Step 1: Create workflow

```json
{"tool": "catgo_workflow_engine", "arguments": {
  "action": "create", "name": "CO adsorption on Pt(111)"
}}
```

### Step 2: Build and optimize clean slab

```json
{"tool": "catgo_fetch", "arguments": {
  "action": "crystal", "formula": "Pt", "source": "mp"
}}
```

```json
{"tool": "catgo_structure", "arguments": {
  "action": "slab", "miller_index": [1,1,1],
  "min_slab_size": 12.0, "min_vacuum_size": 15.0
}}
```

```json
{"tool": "catgo_workflow_engine", "arguments": {
  "action": "add_task", "workflow_id": "wf_ads",
  "task_type": "geo_opt",
  "params": {"software": "vasp", "ENCUT": 520, "system_name": "clean_slab"}
}}
```

### Step 3: Build and optimize slab + adsorbate

```json
{"tool": "catgo_structure", "arguments": {
  "action": "add_atom", "element": "C", "position": [2.77, 1.60, 14.0]
}}
```

```json
{"tool": "catgo_structure", "arguments": {
  "action": "add_atom", "element": "O", "position": [2.77, 1.60, 15.16]
}}
```

```json
{"tool": "catgo_workflow_engine", "arguments": {
  "action": "add_task", "workflow_id": "wf_ads",
  "task_type": "geo_opt",
  "params": {"software": "vasp", "ENCUT": 520, "system_name": "slab+CO"}
}}
```

### Step 4: Gas-phase adsorbate

```json
{"tool": "catgo_fetch", "arguments": {
  "action": "molecule", "name": "carbon monoxide"
}}
```

```json
{"tool": "catgo_workflow_engine", "arguments": {
  "action": "add_task", "workflow_id": "wf_ads",
  "task_type": "geo_opt",
  "params": {"software": "vasp", "ENCUT": 520, "ISMEAR": 0,
             "KPOINTS": [1,1,1], "system_name": "CO_gas"}
}}
```

### Step 5: Submit

```json
{"tool": "catgo_workflow_engine", "arguments": {
  "action": "submit", "workflow_id": "wf_ads"
}}
```

## Python API

```python
from catgo.workflow import Workflow

wf = Workflow("CO adsorption on Pt(111)")

# Clean slab
slab_inp = wf.add_task("structure_input", structure=clean_slab_json)
slab_opt = wf.add_task("geo_opt", structure=slab_inp.output.structure,
                        software="vasp", ENCUT=520)

# Slab + CO
ads_inp = wf.add_task("structure_input", structure=slab_co_json)
ads_opt = wf.add_task("geo_opt", structure=ads_inp.output.structure,
                       software="vasp", ENCUT=520)

# Gas-phase CO (Gamma-only, no smearing)
co_inp = wf.add_task("structure_input", structure=co_gas_json)
co_opt = wf.add_task("geo_opt", structure=co_inp.output.structure,
                      software="vasp", ENCUT=520, ISMEAR=0,
                      KPOINTS=[1, 1, 1])

wf.submit()

# After completion:
# E_ads = ads_opt.output.energy - slab_opt.output.energy - co_opt.output.energy
```

### With ZPE Correction

```python
# Add freq + gibbs for each branch
for task_opt, name, phase in [
    (ads_opt, "slab+CO", "adsorbed"),
    (co_opt, "CO_gas", "gas"),
]:
    frq = wf.add_task("freq", structure=task_opt.output.structure,
                      software="vasp",
                      freeze_mode="layers" if phase == "adsorbed" else "none",
                      freeze_layers=4 if phase == "adsorbed" else 0)
    gib = wf.add_task("gibbs_energy", energy=task_opt.output.energy,
                      frequencies=frq.output.frequencies, phase=phase)
```

## DAG Structure

```
clean_slab     --> geo_opt  ----\
slab+adsorbate --> geo_opt  ----+--> E_ads = E2 - E1 - E3
adsorbate_gas  --> geo_opt  ----/
```

Three independent branches, minimum 3 tasks.

## Comparing Multiple Sites

To compare adsorption at different sites (top, bridge, hollow):

```python
sites = {
    "top":    [2.77, 1.60, 14.0],
    "bridge": [1.39, 2.40, 13.8],
    "hollow": [1.39, 0.80, 13.6],
}

for site_name, pos in sites.items():
    inp = wf.add_task("structure_input", structure=make_ads_slab(pos))
    opt = wf.add_task("geo_opt", structure=inp.output.structure,
                      software="vasp", ENCUT=520,
                      system_name=f"CO_{site_name}")
```

## Common Pitfalls

1. The gas-phase molecule must be in a large box (15+ A vacuum on all sides)
   with Gamma-only k-points and Gaussian smearing (ISMEAR=0).
2. For dissociative adsorption (e.g., O2 --> 2 *O), use the appropriate
   reference: 0.5 * E(O2_gas), not E(O_atom).
3. BSSE (basis set superposition error) is usually negligible for planewave
   DFT but can matter for localized basis sets (CP2K GTH).
4. If comparing different adsorbates, always use the SAME clean slab
   calculation as reference -- do not re-optimize the clean slab for each.
5. Check that the adsorbate did not desorb or migrate to a different site
   during geo_opt by inspecting the final structure.

Attribution

Hello-QMHello-QM
View sourceMore from Hello-QM →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →