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.
curl -O https://raw.githubusercontent.com/equinor/neqsim/master/.github/agents/production-chemistry.agent.mdgit 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/agents/equinor/neqsim/production-chemistry)<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.
<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>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.00096 | $0.01928 |
| Opus 5.5 | $0.00038 | $0.00771 |
| Sonnet 5.5 | $0.00019 | $0.00386 |
| Haiku 4.5 | $0.00010 | $0.00193 |
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.
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.
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
- Establish the fluid basis. Build the produced-water stream with
SystemElectrolyteCPAstatoilfrom the ion analysis, or pull it from an existing flowsheet stream. UseStreamChemistryAdapterand thefromStream(...)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. - 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.
- Size the dose with the matching performance model
(
ScaleInhibitorPerformance,CorrosionInhibitorPerformance,ThermodynamicHydrateInhibitorPerformance,KineticHydrateInhibitorPerformance,WaxInhibitorPerformance,AsphalteneInhibitorPerformance,H2SScavengerPerformance). Setters →evaluate()→ getters. Always read and reportgetWarnings(). - Check compatibility — never skip this. Run
ChemicalCompatibilityAssessorover 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. - Check second-order effects. Use
ProductionChemicalScaleScenarioto show what a pH adjuster or scavenger does to the scaling tendency, andOilInWaterDoseOptimizerwhen a discharge spec is in play. - Report uncertainty and gaps. Use
ChemistryUncertaintyAnalyzerfor a P10/P50/P90 band on the headline dose or rate, and surfacegetDataGaps()/getWarnings()as explicit assumptions.
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.
- 13d ago Changed · +11 lines · -15 tokens per session 8ea8aad9eac6
- 1mo ago Changed · +7 lines 192308bb5931
- 1mo ago Changed · +1 lines b94e4e6600e9
- 2mo ago Changed · -19 tokens per session e7465d038c5c
- 2mo ago First seen · 107 lines · 130 tokens per session scan A 7c4bd6c706a6
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.
production-chemistry compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| production-chemistryequinor/neqsim | Agent | 177 | today | Apache-2.0 | A | 96 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 101k | today | Apache-2.0 | A | 151 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |
| Pimcore Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 26 | Claude Code |
| Ultimate Transparent Thinking Beast Modegithub/awesome-copilot | Agent | 42k | today | MIT | A | 11 | Claude Code |
| WinForms Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 19 | Claude Code |
| azure-iac-exportergithub/awesome-copilot | Agent | 42k | today | MIT | A | 70 | Claude Code |