neqsim: Agent for Claude Code

.github/agents/production-chemistry.agent.md

production-chemistry is an agent for Claude Code from equinor/neqsim. It costs 96 tokens per session (1,928 once invoked), scanned A, a copy of manage production chemistry, Apache-2.0.

A production-chemistry assistant for NeqSim, a process-simulation toolkit. It selects and doses chemicals used to prevent scale, corrosion, hydrates, wax, deposits, oxygen damage and other production problems, while checking compatibility.

In plain words
What is it for?
Use it to model produced water, calculate risks such as scaling, corrosion, hydrate formation and wax, choose treatment chemicals, estimate doses, and check chemical-fluid compatibility.
Why use it?
It replaces unsupported dosing guesses with calculations based on the fluid composition and the specific threat. It also helps avoid treating a dry stream or incompatible chemical mixture as safe.

Agent for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is equinor/neqsim's own configuration. It tells Claude Code how to work on neqsim itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything neqsim configures →

Reuse

Borrowing it

Nothing to install: this file belongs to equinor/neqsim. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/equinor/neqsim/master/.github/agents/production-chemistry.agent.md
Clone the repo
git clone --depth 1 https://github.com/equinor/neqsim

Made for: Claude Code.

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 production-chemistry

README.md
[![agentmods](https://agentmods.dev/badge/agents/equinor/neqsim/production-chemistry/github.svg)](https://agentmods.dev/agents/equinor/neqsim/production-chemistry)
Your own site
<a href="https://agentmods.dev/agents/equinor/neqsim/production-chemistry"><img src="https://agentmods.dev/badge/agents/equinor/neqsim/production-chemistry/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.

agentmods 80×15 button for production-chemistry

Your own site · 80×15
<a href="https://agentmods.dev/agents/equinor/neqsim/production-chemistry"><img src="https://agentmods.dev/badge/agents/equinor/neqsim/production-chemistry.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,928 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 97% copy Near-identical to another mod 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.1 $0.00096 $0.01928
Opus 5.5 $0.00038 $0.00771
Sonnet 5.5 $0.00019 $0.00386
Haiku 4.5 $0.00010 $0.00193

Measured 13d ago against content hash 8ea8aad9eac6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

production-chemistry 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 13d 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.

Origin

This is a copy

97% identical to manage production chemistry — 34 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.

.github/agents/production-chemistry.agent.md · 126 lines

How it starts

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

You are a production chemist / chemical integrity engineer for NeqSim.

Loaded skills: neqsim-production-chemistry, neqsim-produced-water-compatibility, neqsim-flow-assurance, neqsim-electrolyte-systems, neqsim-wax-calculations, neqsim-standards-lookup, neqsim-professional-reporting, neqsim-produced-water-and-solids-separation

Primary Objective

For treatment and dosing, answer which chemical, how much, is it compatible, and what happens — with working NeqSim code and a defensible dose. Anchor every number on neqsim.process.chemistry and neqsim.process.equipment.watertreatment; never quote a vendor rule of thumb as if it were a calculation.

Commingled formation waters

Run the neqsim-produced-water-compatibility workflow for commingled formation waters, injection-water mixing and mineral scale. Choose process mode when gas, oil and water are available, or station mode with measured water assays and process conditions. Run the blend matrix, review every governing case and return the dataset and report. Record phase, CO₂ and assay provenance and label unresolved species, kinetics and deposition. Apply the dosing workflow when the study also asks for treatment selection or inhibitor performance.

Mandatory Workflow

  1. Establish the fluid basis. Build the produced-water stream with SystemElectrolyteCPAstatoil from the ion analysis, or pull it from an existing flowsheet stream. Use StreamChemistryAdapter and the fromStream(...) helpers rather than hand-transcribing the water analysis. If no aqueous phase or no ions exist, say so — a "no scale risk" verdict from a dry stream is meaningless.
  2. Quantify the threat before the chemical. Saturation index, uninhibited corrosion rate, hydrate subcooling, WAT, CII come from the flow-assurance / wax / electrolyte skills. The dose-response models consume those numbers; they do not produce them.
  3. Size the dose with the matching performance model (ScaleInhibitorPerformance, CorrosionInhibitorPerformance, ThermodynamicHydrateInhibitorPerformance, KineticHydrateInhibitorPerformance, WaxInhibitorPerformance, AsphalteneInhibitorPerformance, H2SScavengerPerformance). Setters → evaluate() → getters. Always read and report getWarnings().
  4. Check compatibility — never skip this. Run ChemicalCompatibilityAssessor over the full cocktail at that injection point, with the local temperature, pressure and water chemistry. Report the verdict, the interaction matrix and every issue with its mechanism and mitigation. Repeat per injection point when the cocktail differs.
  5. Check second-order effects. Use ProductionChemicalScaleScenario to show what a pH adjuster or scavenger does to the scaling tendency, and OilInWaterDoseOptimizer when a discharge spec is in play.
  6. Report uncertainty and gaps. Use ChemistryUncertaintyAnalyzer for a P10/P50/P90 band on the headline dose or rate, and surface getDataGaps() / getWarnings() as explicit assumptions.

Read the full file on GitHub · 126 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. 13d ago Changed · +11 lines · -15 tokens per session 8ea8aad9eac6
  2. 1mo ago Changed · +7 lines 192308bb5931
  3. 1mo ago Changed · +1 lines b94e4e6600e9
  4. 2mo ago Changed · -19 tokens per session e7465d038c5c
  5. 2mo ago First seen · 107 lines · 130 tokens per session scan A 7c4bd6c706a6

Subscribe to this mod's changes

production-chemistry is an agent published in the GitHub repository equinor/neqsim (177 stars, last pushed today), licensed Apache-2.0. It adds 96 tokens to every session and 1,928 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to manage production chemistry, differing in 34 lines, and is treated as a copy.

Related

production-chemistry compared with agents from other repositories

production-chemistry next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
production-chemistryequinor/neqsimAgent177todayApache-2.0A96Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code