本文へ移動
cccskills
無料GitHub で公開

energy-diagram

Use when the user asks to generate a reaction energy diagram, free energy profile, potential energy surface plot, or pathway comparison diagram for catalysis or reaction mechanism studies.

日本語の概要は準備中です。原文の説明を表示しています。

Hello-QM/catgo-LRGスター 208(GitHub 208 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md7.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Energy Diagram Generation

Overview

Generates Plotly-compatible reaction energy pathway diagrams from computed intermediate and transition-state energies. The output includes horizontal line segments for intermediates, cubic-spline curves for transition states, and dashed connectors between consecutive steps.

Key applications:

  • Reaction mechanism comparison: Overlay multiple pathways on one diagram
  • Catalysis studies: Visualize OER, HER, CO2RR, NRR free energy profiles
  • Transition state analysis: Show activation barriers as TS arches
  • Publication figures: Export as SVG/PNG from the Plotly viewer

MCP Tool: catgo_catalysis_energy_diagram

In the full MCP server, use the catgo_catalysis_energy_diagram tool. In the workflow engine, the free_energy node generates energy diagrams automatically from upstream gibbs_energy nodes.

Generate a Simple Energy Diagram

{"tool": "catgo_catalysis_energy_diagram", "arguments": {
  "pathways": [
    {
      "name": "OER on RuO2(110)",
      "color": "#1f77b4",
      "steps": [
        {"label": "*", "energy": 0.0},
        {"label": "*OH", "energy": 0.85},
        {"label": "*O", "energy": 1.60},
        {"label": "*OOH", "energy": 3.20},
        {"label": "O2", "energy": 4.92}
      ]
    }
  ]
}}

Compare Multiple Pathways

{"tool": "catgo_catalysis_energy_diagram", "arguments": {
  "pathways": [
    {
      "name": "RuO2(110)",
      "color": "#1f77b4",
      "steps": [
        {"label": "*", "energy": 0.0},
        {"label": "*OH", "energy": 0.85},
        {"label": "*O", "energy": 1.60},
        {"label": "*OOH", "energy": 3.20},
        {"label": "O2", "energy": 4.92}
      ]
    },
    {
      "name": "IrO2(110)",
      "color": "#ff7f0e",
      "steps": [
        {"label": "*", "energy": 0.0},
        {"label": "*OH", "energy": 1.05},
        {"label": "*O", "energy": 1.95},
        {"label": "*OOH", "energy": 3.45},
        {"label": "O2", "energy": 4.92}
      ]
    }
  ]
}}

Include Transition States

Mark transition states with "is_ts": true. These appear as cubic-spline arches between the adjacent intermediates:

{"tool": "catgo_catalysis_energy_diagram", "arguments": {
  "pathways": [
    {
      "name": "CO oxidation on Pt(111)",
      "color": "#2ca02c",
      "steps": [
        {"label": "CO* + O*", "energy": 0.0},
        {"label": "TS", "energy": 0.85, "is_ts": true},
        {"label": "CO2(g)", "energy": -1.20}
      ]
    }
  ]
}}

Custom Layout Configuration

{"tool": "catgo_catalysis_energy_diagram", "arguments": {
  "pathways": [ ... ],
  "config": {
    "height": 500,
    "y_label": "Gibbs Free Energy (eV)",
    "x_label": "Reaction Coordinate",
    "energy_format": ".3f",
    "line_width": 4
  }
}}

Parameters

pathways (required)

Array of pathway objects. Each pathway contains:

FieldTypeRequiredDescription
namestringnoLegend label for this pathway
colorstringnoLine color (CSS color, e.g., "#1f77b4")
stepslist[dict]yesOrdered list of intermediates and TSs

Each step dict:

FieldTypeRequiredDescription
labelstringyesState label (e.g., "*OH", "TS1")
energyfloatyesEnergy in eV
is_tsboolnoTrue for transition states (default false)

config (optional)

ParameterTypeDefaultDescription
base_spacingfloat1.0Base horizontal spacing between states
hline_ratiofloat0.3Width of horizontal energy lines
ts_spacing_ratiofloat0.4Width of TS spline curves
vline_ratiofloat0.3Width of dashed connectors
line_widthfloat3Line thickness
energy_formatstring".2f"Python format string for energy labels
heightint450Plot height in pixels
y_labelstring"Free Energy (eV)"Y-axis title
x_labelstring"Reaction Coordinate"X-axis title

Return Format

{
  "traces": [ ... ],
  "layout": { ... },
  "annotations": [ ... ]
}

The return value is directly compatible with Plotly: pass traces as the data array, merge annotations into layout.annotations, and render with Plotly.newPlot(div, traces, layout).

Workflow Integration: free_energy Node

In the CatGo workflow engine, the free_energy node automatically generates an energy diagram from upstream gibbs_energy nodes:

{"tool": "catgo_workflow", "arguments": {
  "action": "batch",
  "workflow_id": "wf_oer",
  "operations": [
    {"op": "add_node", "node_type": "free_energy", "label": "diagram",
     "params": {"input_mode": "auto"}},
    {"op": "connect", "from_id": "gibbs_oh", "to_id": "diagram",
     "from_handle": "gibbs", "to_handle": "gibbs"},
    {"op": "connect", "from_id": "gibbs_o", "to_id": "diagram",
     "from_handle": "gibbs", "to_handle": "gibbs"},
    {"op": "connect", "from_id": "gibbs_ooh", "to_id": "diagram",
     "from_handle": "gibbs", "to_handle": "gibbs"}
  ]
}}

The free_energy node collects Gibbs energies from all connected upstream nodes and arranges them into a pathway diagram automatically.

Important: Use Gibbs Free Energies, NOT DFT Energies

All energy values passed to this tool must be Gibbs free energies (G), not raw DFT electronic energies (E_DFT). Each intermediate and gas-phase reference must go through the full chain: geo_opt --> freq --> gibbs_energy.

G = E_DFT + ZPE - TS

Using raw E_DFT omits zero-point energy (ZPE) and entropy (TS), which contribute 0.2-0.5 eV per intermediate. This makes the resulting diagram quantitatively wrong and can change which step is potential-determining.

For electrochemical reactions (OER, HER, CO2RR, NRR), also apply:

  • Atom balancing with gas-phase references (H2, H2O, CO2, N2, NH3)
  • pH correction: subtract 0.059 * pH eV per proton-transfer step at 298 K

Common Pitfalls

  1. Transition-state steps (is_ts: true) must be placed between two non-TS steps in the pathway. A TS at the start or end of a pathway will cause errors because the spline needs adjacent energy values.
  2. Energies should be Gibbs free energies in eV, referenced to a common zero (typically the clean slab + gas-phase references).
  3. When comparing pathways, use the same energy reference for all of them. Shifting one pathway by a constant offset invalidates the comparison.
  4. The anti-overlap algorithm adjusts annotation positions when multiple pathways have states at the same x-coordinate. For heavily overlapping pathways, increase base_spacing in the config.
  5. The returned traces use null-gap separation for disconnected line segments. This is a standard Plotly pattern for drawing multiple segments in one trace.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。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 のスキルをすべて見る

このスキルの問題を報告する