본문으로 건너뛰기
cccskills
무료GitHub에 공개

vasp-router

Route VASP calculation requests to the correct task type. Enforces VASP-specific policies for POTCAR, ENCUT, k-points, and slab handling.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG스타 208(GitHub 208 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(7)

  • SKILL.md4.7 KB
  • band/SKILL.md6.5 KB
  • dos/SKILL.md5.6 KB
  • freq/SKILL.md7.5 KB
  • md/SKILL.md6.3 KB
  • relax/SKILL.md7.4 KB
  • static/SKILL.md5.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

VASP Router

Route VASP requests to the appropriate sub-skill based on the calculation type.

Routing Table

User intentRoute to
Geometry optimization, relaxation, structural optimizationrelax/SKILL.md
Single point energy, SCF calculationstatic/SKILL.md
Density of states (DOS, PDOS, d-band center)dos/SKILL.md
Band structure, electronic bandsband/SKILL.md
Vibrational frequencies, ZPE, thermodynamicsfreq/SKILL.md
Ab initio molecular dynamics (AIMD)md/SKILL.md

VASP-Specific Policies — ALWAYS enforce these

1. POTCAR selection

POTCAR is handled automatically by the HPC engine based on the structure's elements. You do NOT need to specify POTCAR files. The engine uses the recommended POTCARs (e.g., Ti_pv, O, Ru_pv).

If the user requests specific POTCARs (e.g., _sv variants), pass them via:

wf.add_task(geo_opt, structure=s, POTCAR_MAP={"Ti": "Ti_sv", "O": "O"})

2. ENCUT selection

Default: 520 eV (suitable for most oxide catalysts).

Guidelines:

  • Bulk metals: 400-520 eV usually sufficient
  • Oxides and surfaces: 520 eV recommended
  • Convergence tests: test 400, 450, 500, 550, 600 eV
  • If user specifies ENCUT, respect it without question

3. K-points

K-points are auto-generated from the structure's cell dimensions. Override with:

wf.add_task(geo_opt, structure=s, KPOINTS=[4, 4, 1])  # Gamma-centered

Slab guideline: use [N, N, 1] where N gives ~0.03 A^-1 spacing in-plane.

4. ISPIN for magnetic systems

Default: ISPIN=1 (non-spin-polarized).

Set ISPIN=2 for:

  • Transition metals: Fe, Co, Ni, Mn, Cr
  • Their oxides: Fe2O3, CoO, NiO, MnO2
  • Any system where user mentions magnetism or spin
wf.add_task(geo_opt, structure=s, ISPIN=2, MAGMOM="5*4.0 10*0.6")

5. Slab calculations — frozen layers

For surface slabs, ALWAYS freeze bottom layers:

# Typical 4-layer slab: freeze bottom 2 layers
wf.add_task(geo_opt, structure=slab,
            ISIF=2,           # Fix cell shape (mandatory for slabs)
            selective_dynamics=True,
            freeze_layers=2)  # Freeze bottom 2 layers

Rules:

  • ISIF must be 2 for slabs (never 3 — that allows cell shape change)
  • Freeze at least the bottom half of slab layers
  • Adsorbate atoms are always free to move

6. Dispersion corrections

For adsorption studies, consider DFT-D3:

wf.add_task(geo_opt, structure=s, IVDW=11, LDAU=False)

Only add if user requests it or the system involves weak interactions (physisorption, vdW heterostructures).

Config Defaults (from ~/.catgo/config.yaml)

These are the system defaults. Only specify parameters that differ:

defaults.vasp:
  ENCUT: 520
  EDIFF: 1e-5
  PREC: Accurate
  ALGO: Fast
  ISMEAR: 0
  SIGMA: 0.05
  LREAL: Auto
  NELM: 200
  ISPIN: 1
  LORBIT: 11
  LWAVE: False
  LCHARG: False
  NCORE: 4

Quick Examples

Bulk relaxation

wf.add_task(geo_opt, structure=bulk_json, ISIF=3, system_name="bulk_TiO2")

Slab relaxation with frozen layers

wf.add_task(geo_opt, structure=slab_json, ISIF=2,
            freeze_layers=2, system_name="TiO2_110_slab")

Single point after relaxation

opt = wf.add_task(geo_opt, structure=s, system_name="opt")
sp = wf.add_task("single_point", structure=opt.output.structure, system_name="SP")

Full OER chain (per adsorbate)

opt = wf.add_task(geo_opt, structure=s, ISIF=2, freeze_layers=2, system_name="*OH")
frq = wf.add_task(freq, structure=opt.output.structure,
                  freeze_mode="layers", freeze_layers=4, system_name="*OH")
gib = wf.add_task(gibbs_energy, energy=opt.output.energy,
                  frequencies=frq.output.frequencies, system_name="*OH")

MCP Workflow Creation

catgo_workflow_engine(action="create", params={"name": "VASP relaxation"})
# → {"workflow_id": "wf_xxx"}

catgo_workflow_engine(action="add_task", params={
  "workflow_id": "wf_xxx",
  "task_type": "geo_opt",
  "software": "vasp",
  "structure": "<json>",
  "ISIF": 2,
  "system_name": "slab_relax"
})

catgo_workflow_engine(action="submit", params={"workflow_id": "wf_xxx"})

Common Mistakes to Avoid

  1. Using ISIF=3 for slabs (allows cell to change shape — unphysical for surfaces)
  2. Forgetting to freeze bottom slab layers (all atoms relax toward vacuum)
  3. Using ISMEAR=0 for metals (should use ISMEAR=1, SIGMA=0.2 for metals)
  4. Setting LREAL=.FALSE. for large cells >200 atoms (use LREAL=Auto)
  5. Not setting ISPIN=2 for magnetic systems (wrong energetics)

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

abinit

무료

Generate and manage ABINIT DFT calculations. Use when the user requests ABINIT, or needs DFPT phonons, GW calculations, or BSE optical spectra.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Use when the user asks to place an adsorbate molecule on a surface, find adsorption sites, or set up a surface+adsorbate model for DFT.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Use when the user asks to analyze computational results: Gibbs free energy, OER/HER/CO2RR overpotentials, adsorption energy, convergence tests, DOS/d-band analysis, or Bader charge analysis.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Use AmberTools antechamber for molecular force field parameterization. Generates GAFF/GAFF2 parameters and AM1-BCC or RESP charges for use in AMBER or LAMMPS classical MD simulations.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

atom-ops

무료

One-shot recipes for adding, deleting, moving, and replacing individual atoms in the active CatGo viewer structure. Use whenever the user asks to "add an atom", "delete atoms", "remove this atom", "move atom N", "replace H with Li", or any single-atom edit — including "add a hydrogen on top of atom 12" / "delete atoms 5–9" / "swap the oxygen at site 3 for fluorine". Skips the discovery loop (no need to list structure tools or check adsorption sites first); goes straight to the matching `catgo_structure` action. Triggers in Chinese on 加原子, 删原子, 减原子, 移动原子, 替换原子, 增加氢, 删除氧, 把 ... 换成 ....

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hello-QM/catgo-LRG2082026년 10월 23일 업데이트

Hello-QM의 스킬 모두 보기

이 스킬의 문제 신고