Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add equinor/neqsim --skill analyze-gibbs-convergencegit clone --depth 1 https://github.com/equinor/neqsimWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/equinor/neqsim/analyze-gibbs-convergence)<a href="https://agentmods.dev/skills/equinor/neqsim/analyze-gibbs-convergence"><img src="https://agentmods.dev/badge/skills/equinor/neqsim/analyze-gibbs-convergence/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/equinor/neqsim/analyze-gibbs-convergence"><img src="https://agentmods.dev/badge/skills/equinor/neqsim/analyze-gibbs-convergence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00019 | $0.02597 |
| Opus 5.5 | $0.00008 | $0.01039 |
| Sonnet 5.5 | $0.00004 | $0.00519 |
| Haiku 4.5 | $0.00002 | $0.00260 |
Grade A, and why
analyze-gibbs-convergence scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 27d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
95% identical to analyze_gibbs_convergence — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 302 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: Analyze Gibbs Convergence
Purpose
Interpret Gibbs energy minimization convergence metrics, analyze Jacobian conditioning, verify element balance closure, and produce publication-quality figures for chemical equilibrium papers.
When to Use
- After running Gibbs reactor benchmark experiments
- When analyzing convergence of Newton-Raphson Gibbs minimization
- When comparing solver variants (baseline vs optimized)
- When investigating failure cases in chemical equilibrium
Analysis Procedure
Step 1: Load and Parse Results
import json
import pandas as pd
import numpy as np
def load_reactor_results(results_dir, solver_name):
"""Load JSONL results into DataFrame."""
records = []
with open(f"{results_dir}/raw/{solver_name}_results.jsonl") as f:
for line in f:
records.append(json.loads(line))
return pd.DataFrame(records)
Step 2: Equilibrium Composition vs Temperature
The most important figure for a chemical equilibrium paper:
import matplotlib.pyplot as plt
def plot_equilibrium_composition(df, system_name, save_path):
"""Plot equilibrium mole fractions vs temperature for all species."""
fig, ax = plt.subplots(figsize=(10, 7))
species = [col for col in df.columns if col.startswith("n_")]
for species_col in species:
name = species_col.replace("n_", "")
ax.semilogy(df["T_K"] - 273.15, df[species_col],
label=name, linewidth=2)
ax.set_xlabel("Temperature (°C)", fontsize=12)
ax.set_ylabel("Equilibrium mole fraction", fontsize=12)
ax.set_title(f"Chemical Equilibrium — {system_name}", fontsize=14)
ax.legend(loc="best", fontsize=10)
ax.grid(True, alpha=0.3)
ax.set_ylim(bottom=1e-12)
plt.tight_layout()
plt.savefig(save_path, dpi=300, bbox_inches="tight")
plt.close()
Step 3: Convergence Iteration Analysis
def plot_iteration_heatmap(df, save_path):
"""Heatmap of iteration count in T-P space."""
fig, ax = plt.subplots(figsize=(10, 7))
pivot = df.pivot_table(values="iterations", index="P_bara",
columns="T_K", aggfunc="mean")
im = ax.pcolormesh(pivot.columns - 273.15, pivot.index,
pivot.values, cmap="YlOrRd", shading="auto")
plt.colorbar(im, ax=ax, label="Iterations")
ax.set_xlabel("Temperature (°C)")
ax.set_ylabel("Pressure (bara)")
ax.set_title("Newton Iteration Count")
ax.set_yscale("log")
plt.tight_layout()
plt.savefig(save_path, dpi=300, bbox_inches="tight")
plt.close()
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 27d ago First seen · 302 lines · 19 tokens per session scan A 25cf9e24d21c
analyze-gibbs-convergence is a skill published in the GitHub repository equinor/neqsim (156 stars, last pushed today), licensed Apache-2.0. It adds 19 tokens to every session and 2,597 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to analyze_gibbs_convergence, differing in 2 lines, and is treated as a copy.
Other skills, from other repositories
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…