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 skills add equinor/neqsim-community-skills --skill neqsim-active-learning-surrogategit clone --depth 1 https://github.com/equinor/neqsim-community-skillsWrote 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/skills/equinor/neqsim-community-skills/neqsim-active-learning-surrogate)<a href="https://agentmods.dev/skills/equinor/neqsim-community-skills/neqsim-active-learning-surrogate"><img src="https://agentmods.dev/badge/skills/equinor/neqsim-community-skills/neqsim-active-learning-surrogate/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/skills/equinor/neqsim-community-skills/neqsim-active-learning-surrogate"><img src="https://agentmods.dev/badge/skills/equinor/neqsim-community-skills/neqsim-active-learning-surrogate.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.00105 | $0.02838 |
| Opus 5.5 | $0.00042 | $0.01135 |
| Sonnet 5.5 | $0.00021 | $0.00568 |
| Haiku 4.5 | $0.00011 | $0.00284 |
Grade A, and why
neqsim-active-learning-surrogate 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 8d 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 — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Active-Learning Surrogate
A NeqSim host model takes about half a second to a minute per run. A Monte Carlo study with 20,000 samples, a sensitivity analysis or an operating-envelope map then costs hours or days. Fitting a surrogate to a fixed design does not solve this well: most of the runs land where the answer is already obvious.
This skill builds the surrogate actively. It starts from a small Latin-hypercube design, fits a Gaussian process per output, and asks NeqSim for one new point at a time where it is least certain about what the study needs:
- global mode improves accuracy everywhere and stops when every output's
leave-one-out Q2 reaches
1 - tolerance; - limit_state mode learns only where one output crosses a threshold, for example the compressor driver rating, and stops when the side of the limit is known with at least 97.7 % confidence (U >= 2) at every candidate point.
In the bundled example a three-input host flowsheet needs 21 NeqSim runs to find where the export compressor exceeds its 6.5 MW driver. The surrogate then gives the exceedance probability over 20,000 operating cases in 0.1 s. Its maximum tie-in rate at the worst corner, 28.2 t/h, gives 6,492 kW in a direct NeqSim run, just under the 6,500 kW limit.
When to Use
- A Monte Carlo, tornado, Sobol or optimisation study wraps a NeqSim flowsheet that is too slow to call thousands of times.
- The question is a boundary: maximum tie-in rate before a constraint binds, operating window of a separator or compressor, where a product spec fails.
- An operating-envelope map or a fast proxy for a dashboard is needed.
- Some flowsheet runs fail to converge and the study must carry on.
Not for: dynamic time series, problems with more than about 10 inputs, or responses with jumps (phase disappearance, discrete logic) unless the jump is the limit being learned.
Inputs
model: Python callabledict[input, value] -> mapping[output, value]that runs NeqSim. Raise an exception or return NaN when the run fails.parameters:Parameter(name, low, high, log=False)per input, in engineering units.outputs: output names to learn.mode:"global"or"limit_state"; for limit state alsolimit_outputandthreshold(in that output's units).tolerance(global, default 0.01 -> Q2 >= 0.99),u_stop(limit state, default 2.0),initial_samples(defaultmax(2d + 2, 6)),max_evaluations(default 60, failures included),pool_size(candidate points, default 3000),patience(default 2),seed.- Parallel runs:
batch_size(points per iteration, default 1),n_workers(threads running the model, default 1), ormap_fn(anymap-like callable, e.g. a process pool or cluster client).
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- examples/host_compressor_capacity_boundary.py 6.9 KB runs code
- pyproject.toml 640 B
- README.md 10.0 KB
- src/active_learning_surrogate/__init__.py 671 B runs code
- src/active_learning_surrogate/gp.py 7.3 KB runs code
- src/active_learning_surrogate/learner.py 26 KB runs code
- src/active_learning_surrogate/neqsim_registry.py 4.8 KB runs code
- tests/test_gp.py 2.2 KB runs code
- tests/test_learner.py 7.8 KB runs code
- tests/test_neqsim_integration.py 2.4 KB runs code
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.
- 8d ago First seen · 214 lines · 105 tokens per session scan A 1fd38c8e12b9
neqsim-active-learning-surrogate is a skill published in the GitHub repository equinor/neqsim-community-skills (5 stars, last pushed today), licensed Apache-2.0. It adds 105 tokens to every session and 2,838 once invoked, about $0.0004 per session on Opus 5.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-11-22.
neqsim-active-learning-surrogate compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| neqsim-active-learning-surrogateequinor/neqsim-community-skills | Skill | 5 | today | Apache-2.0 | A | 105 | Claude Code, Codex |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 37k | today | Apache-2.0 | A | 123 | Claude Code |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 59k | today | MIT | A | 44 | Claude Code |
| exploratory-data-analysisK-Dense-AI/scientific-agent-skills | Skill | 59k | today | MIT | A | 83 | Claude Code |
| phylogeneticsK-Dense-AI/scientific-agent-skills | Skill | 59k | today | MIT | A | 71 | Claude Code, Codex |
| research-engineerdavila7/claude-code-templates | Skill | 35k | today | MIT | A | 43 | Claude Code, Codex |
| mapping-to-snomedmaziyarpanahi/openmed | Skill | 5.9k | today | Apache-2.0 | A | 205 | Claude Code |