跳到正文
cccskills
免费在 GitHub 公开

structure-router

Use when the user asks to build, modify, or prepare atomic structures: slabs, adsorbates, supercells, doping, defects, or fetching from databases.

中文简介正在准备中。当前显示原文说明。

Hello-QM/catgo-LRG星标 208(GitHub 208 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(14)

  • SKILL.md4.4 KB
  • adsorbate/SKILL.md11.9 KB
  • atom_ops/SKILL.md4.8 KB
  • cluster_ops/SKILL.md7.7 KB
  • defect/SKILL.md4.8 KB
  • doping/SKILL.md6.2 KB
  • fetch/SKILL.md4.8 KB
  • heterostructure/SKILL.md6.7 KB
  • intercalation/SKILL.md5.3 KB
  • moire/SKILL.md4.4 KB
  • nanotube/SKILL.md4.2 KB
  • slab/SKILL.md7.8 KB
  • strain/SKILL.md5.0 KB
  • substitution/SKILL.md5.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Structure Building Router

This skill routes structure building requests to the correct sub-skill.

Routing Table

User IntentSub-SkillKey Indicators
Surface slab from bulkslab/"slab", "surface", "Miller index", "(111)", "(110)"
Place adsorbate on surfaceadsorbate/"adsorb", "place OH", "add CO", "binding site"
Substitutional dopingdoping/"dope", "substitute", "replace Fe with Co"
Fetch crystal from database(direct)"get from MP", "fetch TiO2", "Materials Project"
Fetch molecule(direct)"get CO molecule", "fetch water"
Make supercell(direct)"supercell", "2x2x1", "expand"

MCP Tools

catgo_structure — Build and modify structures

{"tool": "catgo_structure", "arguments": {"action": "slab", ...}}
{"tool": "catgo_structure", "arguments": {"action": "supercell", ...}}
{"tool": "catgo_structure", "arguments": {"action": "add_atom", ...}}
{"tool": "catgo_structure", "arguments": {"action": "delete_atoms", ...}}
{"tool": "catgo_structure", "arguments": {"action": "replace_atom", ...}}

catgo_fetch — Retrieve structures from databases

{"tool": "catgo_fetch", "arguments": {"action": "crystal", "formula": "TiO2", "source": "mp"}}
{"tool": "catgo_fetch", "arguments": {"action": "molecule", "name": "water"}}

catgo_view — Inspect and push structures

{"tool": "catgo_view", "arguments": {"action": "get_state"}}
{"tool": "catgo_view", "arguments": {"action": "push", "structure": {...}}}

Standard Build Sequence

Most catalysis workflows follow this structure preparation pipeline:

1. Fetch bulk crystal      catgo_fetch(action: crystal)
2. Generate slab           catgo_structure(action: slab)
3. Make supercell          catgo_structure(action: supercell)
4. (Optional) Dope         catgo_structure(action: replace_atom)
5. Place adsorbate         catgo_structure(action: add_atom)
6. Verify structure        catgo_view(action: get_state)

Example: OH on Pt(111)

{"tool": "catgo_fetch", "arguments": {
  "action": "crystal", "formula": "Pt", "source": "mp"
}}
{"tool": "catgo_structure", "arguments": {
  "action": "slab", "miller_index": [1,1,1],
  "min_slab_size": 12.0, "min_vacuum_size": 15.0
}}
{"tool": "catgo_structure", "arguments": {
  "action": "supercell", "scaling": [2, 2, 1]
}}
{"tool": "catgo_structure", "arguments": {
  "action": "add_atom", "element": "O", "position": [2.77, 1.60, 14.5]
}}
{"tool": "catgo_structure", "arguments": {
  "action": "add_atom", "element": "H", "position": [2.77, 1.60, 15.47]
}}
{"tool": "catgo_view", "arguments": {"action": "get_state"}}

Python API

from catgo.workflow import Workflow

wf = Workflow("Structure prep")

# Fetch and input
inp = wf.add_task("structure_input", structure=bulk_json)

# Build slab
slab = wf.add_task("slab_gen",
    structure=inp.output.structure,
    miller_index=[1, 1, 1],
    min_slab_size=12.0,
    min_vacuum_size=15.0)

# Place adsorbate
ads = wf.add_task("adsorbate_place",
    structure=slab.output.structure,
    adsorbate="OH",
    site_type="top",
    site_index=0)

Verification Checklist

After building any structure, verify:

  1. Atom count: expected number of atoms for the supercell size
  2. Vacuum: sufficient vacuum for surface calculations (>12 A)
  3. No overlaps: minimum interatomic distance > 0.5 A
  4. Correct composition: stoichiometry matches expectation
  5. Adsorbate position: reasonable height above surface (1.5-2.5 A)

Use catgo_view(action: get_state) to inspect the current structure.

Common Pitfalls

  1. Always fetch the bulk crystal BEFORE cutting a slab. Do not try to cut a slab from an already-cut slab.
  2. Make the supercell BEFORE placing adsorbates. Supercell operation replicates all atoms, including adsorbates.
  3. For Materials Project fetch, use reduced formula (e.g., "TiO2" not "Ti2O4").
  4. After each structure modification, verify with catgo_view before proceeding to the next step.
  5. The viewer shows the structure in the browser. MCP tools modify the viewer state directly -- there is no separate "save" step.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 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 的全部技能

报告此技能的问题