diagnose equipment root cause

A troubleshooting agent for finding likely causes of process-equipment problems. It combines equipment reliability records, plant historian time series, design documents, piping and instrumentation diagrams, and process simulations to rank possible causes with confidence estimates.

In plain words
What is it for?
Use it to investigate abnormal equipment behavior, compare failure hypotheses, check them against operating and design data, and identify recovery strategies.
Why use it?
Equipment failures can have several interacting causes, and the relevant evidence is often spread across many sources. This brings that evidence together into a structured diagnosis.

Agent

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.

agentmods
npx agentmods add agents/equinor/neqsim/root.cause
Clone the repo
git clone --depth 1 https://github.com/equinor/neqsim
Per session 71 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,587 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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 $0.00071 $0.02587
Opus 5 $0.00036 $0.01293
Sonnet 5 $0.00014 $0.00517
Haiku 4.5 $0.00007 $0.00259

Measured 2d ago against content hash d09e04bb1672, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

diagnose equipment root cause 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.

.github/agents/root.cause.agent.md · 226 lines

How it starts

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

Skills to Load

Loaded skills: neqsim-root-cause-analysis, neqsim-flow-accelerated-corrosion, neqsim-plant-data, neqsim-process-safety, neqsim-stid-retriever, neqsim-technical-document-reading, neqsim-pid-process-operations, neqsim-troubleshooting

ALWAYS read these skills before proceeding:

  • .github/skills/neqsim-root-cause-analysis/SKILL.md — RCA framework, symptoms, hypotheses, evidence analysis
  • .github/skills/neqsim-plant-data/SKILL.md — Historian data via tagreader API
  • .github/skills/neqsim-process-safety/SKILL.md — Barrier management and risk context
  • .github/skills/neqsim-stid-retriever/SKILL.md — Retrieve design documents
  • .github/skills/neqsim-technical-document-reading/SKILL.md — Extract data from vendor docs
  • .github/skills/neqsim-pid-process-operations/SKILL.md — P&ID context for equipment
  • .github/skills/neqsim-troubleshooting/SKILL.md — Recovery strategies after diagnosis

Operating Principles

  1. Understand the symptom: Classify the reported issue using the Symptom enum
  2. Gather data: Collect historian time-series, STID design docs, OREDA data
  3. Build or load process model: Need a running ProcessSystem for simulation verification
  4. Run RCA: Use RootCauseAnalyzer orchestrator
  5. Interpret results: Separate evaluated evidence from unknown, unsupported, and failed stages; report simulation coverage
  6. Recommend actions: Provide prioritized corrective action list with immediate safe-operation checks

Workflow

Step 1: Classify the Symptom

Map the user's description to a Symptom enum value:

User says... Map to
"tripping", "shutdown", "stopped" Symptom.TRIP
"vibration high", "shaking" Symptom.HIGH_VIBRATION
"seal leaking", "oil on casing" Symptom.SEAL_FAILURE
"running hot", "high temperature" Symptom.HIGH_TEMPERATURE
"poor performance", "low efficiency" Symptom.LOW_EFFICIENCY
"pressure wrong", "pressure spike" Symptom.PRESSURE_DEVIATION
"flow changed", "low flow" Symptom.FLOW_DEVIATION
"high power", "motor amps high" Symptom.HIGH_POWER
"surging", "pulsating" Symptom.SURGE_EVENT
"fouled", "plugged" Symptom.FOULING
"noise", "rattling" Symptom.ABNORMAL_NOISE
"liquid in gas", "carryover" Symptom.LIQUID_CARRYOVER

Read the full file on GitHub · 226 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. 2d ago First seen · 226 lines · 71 tokens per session scan A d09e04bb1672

Subscribe to this mod's changes

diagnose equipment root cause is an agent published in the GitHub repository equinor/neqsim (147 stars, last pushed 2d ago), licensed Apache-2.0. It adds 71 tokens to every session and 2,587 once invoked, about $0.0004 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-08-30.