跳到正文
cccskills
免费在 GitHub 公开

cohp-analysis

Use when the user asks about COHP (Crystal Orbital Hamilton Population), chemical bonding analysis, LOBSTER output, orbital-resolved bonding, or bonding/antibonding character between atoms.

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

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

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md5.3 KB

SKILL.md(原文)

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

COHP Analysis

Overview

Crystal Orbital Hamilton Population (COHP) analysis quantifies bonding and antibonding interactions between atom pairs in a crystal. COHP data is generated by LOBSTER from DFT output (typically VASP). CatGo reads COHPCAR.lobster files and provides interactive visualization and data extraction.

Key applications:

  • Bonding character: Identify bonding (negative COHP) vs antibonding (positive COHP) regions
  • Orbital-resolved analysis: Decompose into s-s, p-d, d-d contributions
  • Catalyst design: Understand adsorbate-surface bonding (e.g., CO-Pt d-band interactions)
  • Integrated COHP (ICOHP): Quantitative bond strength from ICOHPLIST.lobster

MCP Tool: catgo_analyze (workflow node: cohp_analysis)

COHP analysis in the Claude Code MCP uses the workflow node cohp_analysis or the dedicated catgo_cohp_data tool (in the full MCP server). The workflow engine automatically reads LOBSTER output from a parent calculation step.

Workflow-Based COHP Analysis

Add a cohp_analysis node downstream of a VASP calculation that produces LOBSTER output:

{"tool": "catgo_workflow", "arguments": {
  "action": "add_node", "workflow_id": "wf_bonding",
  "node_type": "cohp_analysis",
  "params": {"source": "parent_step"}
}}

Upload COHPCAR File Directly

If you have a COHPCAR.lobster file, upload it to create a session:

{"tool": "catgo_analyze", "arguments": {
  "action": "dos",
  "params": {"file_type": "COHPCAR", "remote_path": "/path/to/COHPCAR.lobster"}
}}

The upload returns a session_id along with metadata: nspin, npoints, efermi, and a list of available bonds with atom labels and distances.

Retrieve COHP Data for Specific Bonds

Once you have a session_id, query COHP data for specific bonds:

{"tool": "catgo_analyze", "arguments": {
  "action": "dos",
  "params": {
    "session_id": "abc-123",
    "bond_indices": [1, 3],
    "include_orbitals": false
  }
}}

Orbital-Resolved COHP

To decompose bonding into orbital contributions (e.g., p-d interactions):

{"tool": "catgo_analyze", "arguments": {
  "action": "dos",
  "params": {
    "session_id": "abc-123",
    "bond_indices": [1],
    "include_orbitals": true,
    "orbital_filter": ["p-d", "s-d"]
  }
}}

Aggregate Orbital COHP

Sum orbital contributions for a cleaner view:

{"tool": "catgo_analyze", "arguments": {
  "action": "dos",
  "params": {
    "session_id": "abc-123",
    "bond_indices": [1],
    "aggregate_orbitals": true,
    "orbital_filter": ["d-d"]
  }
}}

Parameters

ParameterTypeDescription
session_idstringSession ID from COHPCAR upload
bond_indicesint[]1-based bond numbers to retrieve (from upload metadata)
include_orbitalsboolInclude orbital-decomposed COHP (default false)
orbital_filterstring[]Filter orbital pairs, e.g. ["p-d", "s-d"]
aggregate_orbitalsboolSum filtered orbital contributions (default false)

Complete Workflow: VASP + LOBSTER COHP

1. Run VASP static calculation with LOBSTER-compatible settings

{"tool": "catgo_workflow", "arguments": {
  "action": "create", "name": "COHP bonding analysis"
}}
{"tool": "catgo_workflow", "arguments": {
  "action": "add_node", "workflow_id": "wf_cohp",
  "node_type": "single_point",
  "params": {
    "software": "vasp",
    "ENCUT": 520,
    "ISYM": -1,
    "NBANDS": 200,
    "system_name": "static for LOBSTER"
  }
}}

2. Add COHP analysis node

{"tool": "catgo_workflow", "arguments": {
  "action": "add_node", "workflow_id": "wf_cohp",
  "node_type": "cohp_analysis",
  "params": {"source": "parent_step"}
}}

3. Connect and run

{"tool": "catgo_workflow", "arguments": {
  "action": "connect",
  "workflow_id": "wf_cohp",
  "from_id": "static_node_id",
  "to_id": "cohp_node_id",
  "from_handle": "data",
  "to_handle": "data"
}}

Return Format

COHP data is returned as:

{
  "energies": [-10.0, -9.95, ...],
  "series": [
    {
      "label": "Fe1-O2 (2.01 A)",
      "spin_up": [0.12, 0.15, ...],
      "spin_down": [-0.08, -0.10, ...],
      "bond_index": 1,
      "is_total": true
    }
  ],
  "efermi": -2.35
}

Negative COHP values indicate bonding interactions; positive values indicate antibonding.

Common Pitfalls

  1. LOBSTER requires specific VASP settings: ISYM = -1 (no symmetry), sufficient NBANDS, and LWAVE = .TRUE. for wavefunction output.
  2. Bond indices are 1-based (matching LOBSTER convention). Index 0 is the "Average" across all bonds.
  3. Large COHPCAR files (>100 MB) may take several seconds to parse. The session is cached for 30 minutes after last access.
  4. For spin-polarized calculations, both spin_up and spin_down channels are returned. Non-magnetic calculations have spin_down = null.
  5. ICOHP (integrated COHP) from ICOHPLIST.lobster provides a single number per bond -- use it for quick bond strength comparisons without needing the full energy-resolved COHP.

评价

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

评论

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

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

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

报告此技能的问题