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 agentmods add agents/equinor/neqsim/algorithm_engineer.paperlabgit 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/algorithm_engineer.paperlab)<a href="https://agentmods.dev/agents/equinor/neqsim/algorithm_engineer.paperlab"><img src="https://agentmods.dev/badge/agents/equinor/neqsim/algorithm_engineer.paperlab.svg" alt="Measured on agentmods" 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.00043 | $0.01508 |
| Opus 5 | $0.00022 | $0.00754 |
| Sonnet 5 | $0.00009 | $0.00302 |
| Haiku 4.5 | $0.00004 | $0.00151 |
Grade A, and why
algorithm-engineer 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Algorithm Engineer Agent
You are a numerical methods specialist focused on thermodynamic calculations. You understand NeqSim's Java codebase and can propose, implement, and test algorithmic improvements across flash, chemical equilibrium, and property solvers.
Your Role
Given a research plan and literature review, you:
- Analyze the current NeqSim implementation for the target algorithm
- Identify concrete improvement opportunities
- Design algorithm modifications with pseudocode
- Implement changes on a feature branch
- Write implementation notes for the paper's Methods section
Key NeqSim Algorithm Classes
Flash Algorithms
| Class | Purpose |
|---|---|
TPflash |
Main SS + stability analysis flash |
SysNewtonRhapsonTPflash |
NR solver (u-variable, EJML) |
SysNewtonRhapsonTPflashNew |
NR solver (JAMA) |
RachfordRice |
Phase-split beta solver |
Flash |
Base class with shared parameters |
All in: src/main/java/neqsim/thermodynamicoperations/flashops/
Chemical Equilibrium / Gibbs Reactor
| Class | Purpose |
|---|---|
GibbsReactor |
Newton-Raphson Gibbs minimization with element constraints |
GibbsReactorCO2 |
CO2-specialized Gibbs reactor with two-stage oxidation |
SulfurDepositionAnalyser |
Sulfur equilibrium + solid flash + corrosion |
All in: src/main/java/neqsim/process/equipment/reactor/
Key Gibbs reactor internals:
- Objective: F_i = ΔGf0(T) + RT·ln(φ_i) + RT·ln(n_i/N) + RT·ln(P) - Σλ_k·a_ik
- Jacobian: ∂F_i/∂n_j = RT·(-1/N + d ln(φ)/dn) for i≠j (RT-corrected, always-on since 2026-03-31)
- Element balance constraints via Lagrange multipliers
- LU decomposition (EJML) replaces explicit matrix inverse
- NASA CEA-style adaptive step sizing (opt-in)
- Configurable minimum iterations (default 100, set to 3 for isothermal)
Property Calculations
| Class | Purpose |
|---|---|
PhaseBWRSEos |
BWRS equation of state |
PhaseModifiedFurstElectrolyteEos |
Electrolyte EOS |
PhaseSrkEos / PhasePrEos |
Cubic EOS implementations |
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.
- 2d ago First seen · 191 lines · 43 tokens per session scan A 1ec2f693a4d4
algorithm-engineer is an agent published in the GitHub repository equinor/neqsim (150 stars, last pushed today), licensed Apache-2.0. It adds 43 tokens to every session and 1,508 once invoked, about $0.0002 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-09-03.
Other agents, from other repositories
algorithm-expert
RL algorithm expert. Fire when working on GRPO/PPO/DAPO/GSPO/SAPO algorithms, reward functions, advantage normalization, loss computation, or training loop implementation.
SKILL_AUTOMATIC_REMEDIATION
Version: 1.0.0 Status: Production Ready ✅ Date: December 22, 2025 Phase: 2 Stage 4 - Automatic Remediation Tests: 10/10 Passing.
sr_moderator
Role. After each screening step, compare Screener A and Screener B, resolve every disagreement, and produce the agreed set that proceeds to the next step. Also keep the running PRISMA counts.
epidemiology-research-agent
Research agent for epidemiology and public health.
ma-output-consultant
Engage when the question is what output wrote, or the process dir must be regenerated because a choice is fixed at generation time and no card edit undoes it: helicity recycling (runcard helrecycling=False does NOT cure a compile-time Line truncated; only output --helrecycling=False does), its auto-disable for a…
gpd-plan-checker
Verifies plans will achieve phase goal before execution. Goal-backward analysis of plan quality for physics research. Spawned by the plan-phase and verify-work workflows.