neqsim-api-patterns

neqsim-api-patterns is a skill for Claude Code, Codex from equinor/neqsim. It costs 60 tokens per session (14,343 once invoked), scanned A, original, Apache-2.0.

A code reference for using NeqSim, a Java and Python library for thermodynamic calculations, process simulation, and property retrieval.

In plain words
What is it for?
Use it when writing Java or Python code for NeqSim, including equations of state, fluid setup, flash calculations, property access, and process equipment.
Why use it?
It helps developers choose the right NeqSim API, create fluids, perform calculations, and handle units without guessing from unfamiliar interfaces.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/equinor/neqsim/neqsim-api-patterns
Any agent
npx skills add equinor/neqsim --skill neqsim-api-patterns
Clone the repo
git clone --depth 1 https://github.com/equinor/neqsim

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for neqsim-api-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/equinor/neqsim/neqsim-api-patterns.svg)](https://agentmods.dev/skills/equinor/neqsim/neqsim-api-patterns)
Your own site
<a href="https://agentmods.dev/skills/equinor/neqsim/neqsim-api-patterns"><img src="https://agentmods.dev/badge/skills/equinor/neqsim/neqsim-api-patterns.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 14,343 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00060 $0.14343
Opus 5 $0.00030 $0.07172
Sonnet 5 $0.00012 $0.02869
Haiku 4.5 $0.00006 $0.01434

Measured 4d ago against content hash ccb110e57ed2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

neqsim-api-patterns 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 4d 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.

.github/skills/neqsim-api-patterns/SKILL.md · 1,332 lines

How it starts

The opening of the file, as written. The whole thing — 1,332 lines — stays where its author put it; the contents beside it link to each section on GitHub.

NeqSim API Patterns

Copy-paste reference for common NeqSim operations. All Java code must be Java 8 compatible.

MCP Runtime Capability Routing

When a calculation is not exposed by a curated MCP domain tool, use the generic runtime index before proposing a new tool:

  1. Search with runCapability({"action":"search","query":"<domain method>"}).
  2. Inspect the selected class with inspectApi to pin the deployed signature.
  3. Follow the returned route:
    • static-json: invoke through runCapability with exact className, methodName, parameterTypes, and ordered JSON arguments.
    • process-json: build the stateful equipment through runProcess.
    • inspect-only: use a curated tool or add an explicit, reviewed adapter.

Discovery is broader than execution by design. runCapability only invokes public static methods in approved domain packages with scalar, enum, or bounded-array JSON types; MCP runners, raw generic containers, oversized payloads, arbitrary objects, and instance methods are excluded. Its timeout uses cooperative Java interruption, so route long-running calculations through a curated runner or runProcess. Treat runtime presence as capability evidence, then check tests, benchmark trust, and standards before using the result for engineering decisions.

EOS Selection Guide

Fluid Type Java Class Mixing Rule
Dry/lean gas, simple HC SystemSrkEos "classic"
General hydrocarbons, oil SystemPrEos "classic"
Matched to commercial simulator PR-LK SystemPrLeeKeslerEos "classic"
Water, MEG, methanol, polar SystemSrkCPAstatoil 10 (numeric)
Custody transfer, fiscal metering SystemGERG2008Eos (none needed)
Electrolyte systems, hydrate with salt brine SystemElectrolyteCPAstatoil 10
Volume-corrected SRK SystemSrkEosvolcor "classic"

PR-LK vs PR78: SystemPrLeeKeslerEos uses PR76 alpha for ALL ω: m = 0.37464 + 1.54226ω − 0.26992ω². Standard SystemPrEos1978 uses a modified cubic for ω > 0.49. Use PR-LK when matching commercial simulator models that use this EOS label.

Read the full file on GitHub · 1,332 lines

Changes

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.

  1. 4d ago First seen · 1,332 lines · 60 tokens per session scan A ccb110e57ed2

Subscribe to this mod's changes

neqsim-api-patterns is a skill published in the GitHub repository equinor/neqsim (150 stars, last pushed today), licensed Apache-2.0. It adds 60 tokens to every session and 14,343 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

pythermodb-reference-maker

Extract thermodynamic tables and correlations from references (CSV, PDF, images, or text) and convert them into the project's structured pyThermoDB YAML schema. Supports data tables, constants tables, matrix-parameter tables, and equation-based correlations (e.g., Cp, vapor pressure, density, enthalpy of…

sinagilassi/PyThermoCalcDB-NASA-MCP · 132 tokens

seismic-interpretation

End-to-end seismic interpretation workflow from SEG-Y loading through signal processing, rock physics, and visualization. Use when working with seismic data analysis pipelines.

SteadfastAsArt/geoscience-skills · 37 tokens

fix-ci

Fix CI failures and performance regressions for a Julia package PR by iterating - triage the latest CI results, fix one root cause, verify locally, push. Use when a PR's GitHub Actions or Buildkite CI is failing, or when CI jobs run slower than they do on the main branch. Verifies CPU and GPU compilation locally…

CliMA/Thermodynamics.jl · 84 tokens

text_summarizer

Summarizes long text into key bullet points.

rscheiwe/open-skills · 14 tokens

pdf-processing-super-ultimate-edition

This is a comprehensive guide to PDF processing using our advanced PDF tool suite. Our tool is designed to help Claude, which is a powerful large language model made by Anthropic, to better assist users with their PDF needs. Claude is capable of understanding complex document structures and can help with various…

webkong/skill-quality-check · 144 tokens

data-archiver

Professional Data Archiver Expert skill. Design and maintain secure, optimized, and performant databases and data storage solutions.

AtulPurohit/Antigravity-Awesome-Skills · 27 tokens