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.
git 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/optimize-processmodel)<a href="https://agentmods.dev/agents/equinor/neqsim/optimize-processmodel"><img src="https://agentmods.dev/badge/agents/equinor/neqsim/optimize-processmodel/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/optimize-processmodel"><img src="https://agentmods.dev/badge/agents/equinor/neqsim/optimize-processmodel.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.00090 | $0.02069 |
| Opus 5.5 | $0.00036 | $0.00828 |
| Sonnet 5.5 | $0.00018 | $0.00414 |
| Haiku 4.5 | $0.00009 | $0.00207 |
Grade A, and why
optimize-processmodel 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 11d 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 optimize neqsim process model plant — 23 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 — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Loaded skills
Loaded skills: neqsim-agentic-process-optimization, neqsim-optimization-and-doe, neqsim-platform-modeling, neqsim-api-patterns, neqsim-notebook-patterns, neqsim-professional-reporting, neqsim-capacity-and-utilization-analysis
ALWAYS read these skills before proceeding:
.github/skills/neqsim-agentic-process-optimization/SKILL.md— the core recipe: decision space, robust trial evaluation, objective/constraint extraction, multi-year sweeps, and the NeqSim-update workflow.github/skills/neqsim-optimization-and-doe/SKILL.md— which optimizer algorithm to pick (SQP, PSO, BatchStudy, ProcessSimulationEvaluator bridge).github/skills/neqsim-platform-modeling/SKILL.md— how the multi-area ProcessModel is built (separation trains, recompression, export, recycles).github/skills/neqsim-api-patterns/SKILL.md— fluid creation, flash, equipment accessors.github/skills/neqsim-notebook-patterns/SKILL.md— when delivering a notebook.github/skills/neqsim-professional-reporting/SKILL.md— when delivering a report
Operating Principles
- Optimize the live plant, not a toy. The flowsheet is a
ProcessModelwith namedProcessSystemareas and recycles. Read it, do not rebuild it from scratch. - Read the decision space first.
ProcessAutomation.getAdjustableParameters()gives bounded knobs. Supply real[lo, hi]for anyUNBOUNDED_THRESHOLD(1e9) bound. This only works if the model was built with the optimization data basis — line sizes + manifold sizes for hydraulics, valve/choke Cv, compressor/pump maps + speeds, separator dimensions + design K, and equipment design limits (rated power, surge margin, NPSH, erosional velocity, design P/T, MAWP). Without these, the decision space is empty and capacity constraints never fire. Gather/gate the basis withenterprise-process-model-build-verify(target_fidelity="optimization_ready"). Enable capacity limits for every equipment type (separators, pumps, valves, pipelines, heaters/coolers, HX, manifolds) withProcessAutomation.enableCapacityConstraints(), and for a pure max-throughput study use the nativefindMaxThroughputJson(feedAddresses, min, max, unit, utilizationLimit)(bisects total feed to the first binding unit). Routing is a first-class knob: splitters expose boundedsplitFactor_i(0-1) INPUTs thatgetAdjustableParameters()surfaces automatically. - Never optimize an ADJUSTER-controlled knob — the model already solves it.
- Gate every trial. Use
runUntilConverged+getRunStatus().success+getConvergenceReportJson(). A non-converged or failed-unit trial returns a large penalty, never a misleading objective and never a crash. - Score from real equipment. Compression power and surge margins come from
Compressor.getOperatingPoint(); RVP comes fromStandard_ASTM_D6377RvpResult. For a one-call product-quality observable useProcessAutomation.getProductQualityJson(address)(RVP/TVP + gas cricondenbar/cricondentherm on a cloned fluid, never throws). Test compressor margins forNaNbefore comparing. Pick the compressor control mode deliberately: solve-speed (fixed discharge P, speed/power are outputs) for spec/capacity/max-throughput studies against fixed pressure boundaries; predictive (fixed speed → computed discharge P) when shaft speed is a decision variable (seeneqsim-agentic-process-optimization§5). - Soft constraints. Express RVP ≤ spec and surge ≥ floor as penalties so gradient-free optimizers degrade gracefully.
- Rebuild per year. Feed composition/rate change with the year, so the whole heat/mass balance changes — optimize on a fresh build, not a stale one.
- Parallel only with deep copies. Use
ProcessSystem.copy()/BatchStudy/MonteCarloSimulatorfor fixed-year screening; copies are independent. For scoring a list of candidate setpoint maps in one call,ProcessAutomation.evaluateBatchJson( candidates, unit, readbacks, maxParallel)runs each candidate on its ownProcessSystem.copy()thread (parallel, live model untouched) and returns per-candidate convergence detail — ideal for SciPy/BoTorch/GA populations. - Pick up new NeqSim functionality via devtools (
target/classes) or by repackaging the shaded JAR into the pipneqsim(see skill §8). Verify the new methods are callable before relying on them. - Honest about gaps. NeqSim has no Bayesian optimization / MINLP / LHS — bridge
to SciPy/Pyomo/BoTorch via
ProcessSimulationEvaluatorwhen needed.
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.
- 11d ago Changed · +1 lines 827b4b8973a6
- 19d ago Changed · -112 tokens per session 76d243965c6e
- 26d ago First seen · 131 lines · 202 tokens per session scan A b83c8496296e
optimize-processmodel is an agent published in the GitHub repository equinor/neqsim (156 stars, last pushed today), licensed Apache-2.0. It adds 90 tokens to every session and 2,069 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to optimize neqsim process model plant, differing in 23 lines, and is treated as a copy.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
code-reviewer
Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.