Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Energy Diagram

ASecurity

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.

199 stars
0 votes
0 copies
0 views
Added 9/20/2026
developmentpythongoreactnode

Works with

mcp

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add Hello-QM/catgo-LRG --skill energy-diagram --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Energy Diagram?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Energy Diagram
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hello-qm-energy-diagram/badge)](https://www.skillsdirectory.com/skills/hello-qm-energy-diagram)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: energy-diagram
description: >
  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.
tags: [analysis, catalysis, energy-diagram, free-energy, pathway, Plotly]
---

# 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

```json
{"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

```json
{"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:

```json
{"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

```json
{"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:

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| name | string | no | Legend label for this pathway |
| color | string | no | Line color (CSS color, e.g., `"#1f77b4"`) |
| steps | list[dict] | yes | Ordered list of intermediates and TSs |

Each step dict:

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| label | string | yes | State label (e.g., "*OH", "TS1") |
| energy | float | yes | Energy in eV |
| is_ts | bool | no | True for transition states (default false) |

### config (optional)

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| base_spacing | float | 1.0 | Base horizontal spacing between states |
| hline_ratio | float | 0.3 | Width of horizontal energy lines |
| ts_spacing_ratio | float | 0.4 | Width of TS spline curves |
| vline_ratio | float | 0.3 | Width of dashed connectors |
| line_width | float | 3 | Line thickness |
| energy_format | string | ".2f" | Python format string for energy labels |
| height | int | 450 | Plot height in pixels |
| y_label | string | "Free Energy (eV)" | Y-axis title |
| x_label | string | "Reaction Coordinate" | X-axis title |

## Return Format

```json
{
  "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:

```json
{"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.

Attribution

Hello-QMHello-QM
View sourceMore from Hello-QM →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →