Thermo gibbs equilibrium

From XuShuwenn/RedAct · View interactive version

Thermo gibbs equilibrium is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Compute Gibbs free energy and the equilibrium constant from enthalpy, entropy, and temperature with correct unit handling and strict output formatting.

How to use this skill

Skill file

Thermodynamics: Gibbs Free Energy and Equilibrium Constant

Reusable workflow to read reaction enthalpy (ΔH), entropy (ΔS), and temperature (T), compute ΔG and the equilibrium constant K, and write results with strict formatting. Emphasizes unit consistency, rounding discipline, and verification checks to avoid common errors.

When to Use

Use this skill when a task asks to:

Core Workflow

  1. Parse inputs
  1. Convert units
  1. Compute Gibbs free energy (in kJ/mol)
  1. Compute equilibrium constant
  1. Format output
  1. Write results

Verification

Common Pitfalls

Success Criteria

Optional Script Usage

A helper script is provided to perform the computation and enforce formatting.

Examples:

The script validates inputs, computes ΔG and K with correct units, and writes the two-line formatted output. Use --k-decimals to adjust the number of decimal places in K's scientific notation if the task specifies a different precision.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.