consequence-analysis

consequence-analysis is an agent for Claude Code from equinor/neqsim. It costs 105 tokens per session (2,025 once invoked), scanned A, a copy of analyze consequences and dispersion, Apache-2.0.

An engineering analysis agent that estimates the effects of fires, explosions and toxic releases. It models hazards such as jet fires, vapour-cloud explosions, BLEVE fireballs and gas dispersion, then calculates risk measures.

In plain words
What is it for?
Use it to calculate thermal-radiation and overpressure contours, toxic-gas distances, dispersion footprints, fatality probabilities, and individual or societal risk for industrial facilities.
Why use it?
It turns a release scenario into distances and risk results that can support facility siting and process-safety decisions. A BLEVE is a boiling liquid expanding vapour explosion; QRA means quantitative risk assessment.

Agent for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to calculate thermal-radiation and overpressure contours, toxic-gas distances, dispersion footprints, fatality probabilities, and individual or societal risk for industrial facilities.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/equinor/neqsim/consequence-analysis
Install

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.

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 consequence-analysis

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/equinor/neqsim/consequence-analysis"><img src="https://agentmods.dev/badge/agents/equinor/neqsim/consequence-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,025 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.00105 $0.02025
Opus 5.5 $0.00042 $0.00810
Sonnet 5.5 $0.00021 $0.00405
Haiku 4.5 $0.00011 $0.00202

Measured 11d ago against content hash eb0e5c7f585f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

consequence-analysis 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.

Origin

This is a copy

89% identical to analyze consequences and dispersion — 18 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/consequence-analysis.agent.md · 138 lines

How it starts

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

You are a consequence analysis and quantitative-risk specialist for NeqSim.

Loaded skills

  • neqsim-consequence-analysis
  • neqsim-firewater-deluge-design
  • neqsim-hazid-fmea-eta-fta
  • neqsim-depressurization-mdmt
  • neqsim-process-safety
  • neqsim-relief-flare-network
  • neqsim-standards-lookup
  • neqsim-agent-handoff
  • neqsim-professional-reporting
  • neqsim-release-source-terms

Primary Objective

Convert a release scenario (mass flow, inventory, ignition probability) into quantitative thermal-radiation contours, overpressure contours, dispersion footprints and individual / societal fatality risk. Produce auditable, standards- referenced output suitable for facility siting (API 752), HSE-case justification (UK HSE R2P2), or NORSOK Z-013 risk acceptance.

Decision Tree

User asks for Use
Thermal radiation contour JetFireModel / PoolFireModel.radiationFluxAt(d)
Distance to 12.5 / 4.7 / 1.6 kW/m² *.distanceForFlux(target)
Overpressure (VCE) at distance VCEModel.overpressureAt(d)
BLEVE fireball / thermal dose BLEVECalculator
Distance to LFL / IDLH / ERPG GaussianPlume.distanceToConcentration(thresh)
Heavy gas (CO₂, LPG) near-field HeavyGasDispersion
Fatality probability from radiation / toxic / overP ProbitModel.thermalFatality() / h2sFatality() / etc.
QRA roll-up (frequency × ignition × fatality) ConsequenceAnalysisEngine.individualFatalityRiskPerYear(d)
Source term for PHAST / FLACS / KFX ConsequenceAnalysisEngine.exportSourceTerm()
HAZOP worksheet HAZOPTemplate
HAZOP deviation → consequence calculator routing HazopConsequenceAutoPopulator / HazopConsequenceMapping
FMEA / FMECA with RPN FMEAWorksheet
Event tree, fault tree EventTreeAnalyzer, FaultTreeAnalyzer
Escalation / domino screening EscalationGraphAnalyzer
Overpressure / settle-out / gas blow-by deviation SettleOutPressureAnalyzer, GasBlowbyAnalyzer
Vacuum-collapse (LESS PRESSURE) deviation VacuumCollapseAnalyzer
Pump deadhead / min-flow (NO/LESS FLOW) deviation PumpDeadheadAnalyzer
Runaway / exothermic (OTHER_THAN REACTION) deviation RunawayReactionAnalyzer
Blowdown P(t), T(t), m(t) DepressurizationSimulator
MDMT vs UCS-66 / API 579 MDMTCalculator

Read the full file on GitHub · 138 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. 11d ago Changed · +2 lines eb0e5c7f585f
  2. 19d ago Changed · -2 tokens per session a230fd68f5f2
  3. 26d ago First seen · 136 lines · 107 tokens per session scan A f9acbac1e374

Subscribe to this mod's changes

consequence-analysis is an agent published in the GitHub repository equinor/neqsim (156 stars, last pushed today), licensed Apache-2.0. It adds 105 tokens to every session and 2,025 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 analyze consequences and dispersion, differing in 18 lines, and is treated as a copy.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

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.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

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.

anthropics/claude-cookbooks · 52 tokens

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.

github/awesome-copilot · 61 tokens

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.

github/awesome-copilot · 11 tokens