跳到正文
cccskills
免费在 GitHub 公开

combinatorial-substitution

Use when the user asks for systematic element substitution, combinatorial materials screening, high-throughput composition search, or multi-site replacement across different element groups.

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

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

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md5.3 KB

SKILL.md(原文)

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

Combinatorial Substitution

Overview

Combinatorial substitution systematically replaces elements at specified sites across multiple groups, generating all combinations for materials discovery. Unlike simple doping (which replaces one element with another), this tool creates the full Cartesian product of substitutions across groups.

Common applications:

  • High-entropy alloy screening: test multiple elements at different sublattices
  • Perovskite composition search: vary A-site and B-site cations independently
  • Catalyst optimization: systematic dopant combinations
  • Battery cathode design: screen transition metals at different Wyckoff sites

MCP Tool: catgo_substitution

{"tool": "catgo_substitution", "arguments": {
  "structure": "<current structure dict>",
  "groups": [
    {
      "target_indices": [0, 4, 8],
      "replacement_elements": ["Ti", "Zr", "Hf"]
    },
    {
      "target_indices": [1, 5, 9],
      "replacement_elements": ["Mn", "Fe", "Co"]
    }
  ],
  "max_structures": 500
}}
ParameterDescriptionDefault
structureInput structure dict(required)
groupsArray of substitution groups(required)
groups[].target_indicesSite indices to substitute in this group(required)
groups[].replacement_elementsElements to try at these sites(required)
max_structuresSafety cap on total combinations500

Total structures = product of replacement options per group. For the example above: 3 (group 1) x 3 (group 2) = 9 structures.

Router: /build/substitution (POST)

Combinatorics

The tool generates the Cartesian product across groups. Within each group, all target sites receive the same element for a given combination.

GroupsElements per GroupTotal Structures
1 group, 5 elements55
2 groups, 3 each3 x 39
2 groups, 5 each5 x 525
3 groups, 4 each4 x 4 x 464
3 groups, 6 each6 x 6 x 6216

The max_structures cap (default 500) prevents accidental generation of extremely large sets.

Complete Workflow: Perovskite ABO3 Screening

Step 1: Fetch a reference perovskite

{"tool": "catgo_fetch", "arguments": {
  "action": "crystal", "formula": "SrTiO3", "source": "mp"
}}

Step 2: Identify site indices

{"tool": "catgo_view", "arguments": {"action": "get_state"}}

Identify A-site (Sr) and B-site (Ti) atom indices from the structure.

Step 3: Generate all A/B combinations

{"tool": "catgo_substitution", "arguments": {
  "groups": [
    {
      "target_indices": [0],
      "replacement_elements": ["Sr", "Ba", "Ca", "La"]
    },
    {
      "target_indices": [1],
      "replacement_elements": ["Ti", "Zr", "Hf", "Mn", "Fe"]
    }
  ]
}}

This generates 4 x 5 = 20 perovskite compositions: SrTiO3, SrZrO3, BaTiO3, LaFeO3, etc.

Step 4: Screen with MLP, then refine with DFT

For 20 structures, use a two-stage workflow:

{"tool": "catgo_workflow_engine", "arguments": {
  "action": "create", "params": {"name": "Perovskite ABO3 screening"}
}}

First relax all candidates with an ML potential:

{"tool": "catgo_workflow_engine", "arguments": {
  "action": "add_task", "params": {
    "workflow_id": "<wf_id>",
    "task_type": "geo_opt",
    "params": {"software": "mlp", "mlp_model": "mace",
               "system_name": "perovskite-screen-mlp"}
  }
}}

Then run DFT on the most promising candidates.

Difference from Doping (catgo_structure action: doping)

FeatureDopingCombinatorial Substitution
PurposeReplace one element with anotherScreen multiple compositions
Output1 structure (or enumerated configs)N structures (Cartesian product)
GroupsSingle host/dopant pairMultiple independent groups
MCP toolcatgo_structure(action: doping)catgo_substitution
Use caseTargeted modificationSystematic screening

Use doping when you want to modify a single structure. Use substitution when you want to generate a library of compositions.

Common Pitfalls

  1. Always check site indices with catgo_view before substituting. Atom indices depend on the specific structure and may change after supercell expansion or slab generation.
  2. The Cartesian product can grow rapidly. 4 groups x 6 elements each = 1296 structures. Use max_structures to cap output.
  3. All sites within a group receive the same element in each combination. If you need different elements at different sites within the same group, split them into separate groups.
  4. Generated structures are unrelaxed. The substituted atoms keep the original positions. Always run geometry optimization before comparing energies.
  5. For transition metal substitutions in oxides, enable spin polarization (ISPIN=2) and consider DFT+U corrections.
  6. Charge neutrality is not enforced. Substituting Ca2+ for La3+ requires compensating defects or a charged cell.

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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 的全部技能

报告此技能的问题