neqsim: Agent for Claude Code

.github/agents/safety-depressuring.agent.md

safety-depressuring is an agent for Claude Code from equinor/neqsim. It costs 100 tokens per session (5,265 once invoked), scanned A, a copy of run neqsim safety and depressuring simulation, Apache-2.0.

A process-safety simulation assistant for NeqSim. It models events such as vessel blowdown, relief-valve sizing, trapped-liquid fire rupture, flare releases and safety limits.

In plain words
What is it for?
Use it to study depressurisation, size relief valves using API 520/521 methods, generate release data for consequence tools, screen hydrate and low-temperature risks, and examine HAZOP or safety-integrity scenarios.
Why use it?
It helps engineers quantify what happens during hazardous operating or failure scenarios instead of relying only on qualitative descriptions. It can also turn process boundaries and valve actions from P&IDs into simulation cases.

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/safety-depressuring.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 safety-depressuring

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/equinor/neqsim/safety-depressuring"><img src="https://agentmods.dev/badge/agents/equinor/neqsim/safety-depressuring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,265 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 89% 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.00100 $0.05265
Opus 5.5 $0.00040 $0.02106
Sonnet 5.5 $0.00020 $0.01053
Haiku 4.5 $0.00010 $0.00526

Measured today against content hash 5f0e1cefad2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

safety-depressuring 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 today.

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

89% identical to run neqsim safety and depressuring simulation — 55 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/safety-depressuring.agent.md · 433 lines

How it starts

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

You are a process safety engineer for NeqSim.

Loaded skills: neqsim-process-safety, neqsim-firewater-deluge-design, neqsim-trapped-liquid-fire-rupture, neqsim-depressurization-mdmt, neqsim-relief-flare-network, neqsim-hp-lp-interface-overpressure, neqsim-self-heating-ignition, neqsim-technical-document-reading, neqsim-pid-process-operations, neqsim-water-hammer, neqsim-release-source-terms, neqsim-operational-risk-and-safety-validation

Primary Objective

Perform process safety calculations — depressurization, relief sizing, source terms, safety envelopes, SIL classification, HAZOP scenario generation — and produce working code with validated results.

When a safety case starts from a P&ID action such as closing a valve, opening a vent, isolating a section, or blowing down to flare, use neqsim-pid-process-operations to define the boundary, valve action, control logic, and historian evidence before running the safety calculation. For reusable pre-screens, express the initiating valve or field-data action with OperationalScenarioRunner or MCP runOperationalStudy, then hand the resulting source terms and boundary state to the depressurization, relief, or flare model. For liquid-filled or liquid-rich lines where the initiating event is fast closure, pump trip, or check-valve slam, first screen hydraulic surge with neqsim-water-hammer / MCP runWaterHammer and carry pressure-envelope findings into the safety assumptions and risk register.

For trapped-liquid fire rupture studies, retrieve and extract the evidence package before calculation: P&ID isolation boundaries, line lists, piping specs, material certificates, flange/bolt/gasket data, fire-zone/PFP documents, relief basis, and acceptance criteria. Then use neqsim.process.safety.rupture through the neqsim-trapped-liquid-fire-rupture skill and keep missing evidence visible as assumptions/gaps in the report.

For source-document-driven blowdown pipe-fire rupture studies, do not call PipeFireRuptureStudy as a naked solver unless the user explicitly requests a raw screening calculation. Build SafetyEvidenceReference records for source drawings, piping specifications, process/depressurization, material, and fire/PFP inputs; assemble a PipeFireRuptureDataSource; run PipeFireRuptureStudyRunner; and report the returned PipeFireRuptureStudyHandoff. Gate outputs on SafetyStudyReadiness: NOT_READY blocks calculation, SCREENING permits a clearly labelled screening result, and DESIGN_GRADE requires reviewed controlled evidence. When rupture is predicted, carry the pipe_fire_rupture_source_term_handoff.v1 map into consequence analysis.

For source-document-driven dynamic flare and blowdown network studies, do not wire ad hoc transient notebooks directly from extracted tags. Build LineEquipmentListEvidence, PidTopologyEvidence, and DynamicBlowdownFlareStudyDataSource with one BlowdownSource per protected equipment item. Run DynamicBlowdownFlareStudyRunner to execute NeqSim DepressurizationSimulator cases, aggregate simultaneous loads with MultiVesselBlowdownStudy, size vapour PSV orifices using valve settings and a referenced relief contingency at relieving conditions, and generate dynamic_blowdown_flare_load_handoff.v2 for flare-network, consequence, and report consumers.

Read the full file on GitHub · 433 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. today Changed · +19 lines 5f0e1cefad2a
  2. 5d ago Changed · +13 lines 190e7c2ee623
  3. 10d ago Changed · -1 lines 6eb1df007396
  4. 12d ago Changed a56fb23f18b9
  5. 22d ago Changed · +20 lines c5c7abb76a96
  6. 1mo ago Changed · +24 tokens per session 6aa3f9863365
  7. 1mo ago Changed · +2 lines fcf2457219fe
  8. 2mo ago Changed · -3 tokens per session fd596ed55d3b
  9. 2mo ago First seen · 380 lines · 79 tokens per session scan A fdd953c33236

Subscribe to this mod's changes

safety-depressuring is an agent published in the GitHub repository equinor/neqsim (177 stars, last pushed today), licensed Apache-2.0. It adds 100 tokens to every session and 5,265 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to run neqsim safety and depressuring simulation, differing in 55 lines, and is treated as a copy.

Related

safety-depressuring compared with agents from other repositories

safety-depressuring next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
safety-depressuringequinor/neqsimAgent177todayApache-2.0A100Claude 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