neqsim-drawio-pfd

neqsim-drawio-pfd is a skill for Claude Code, Codex from equinor/neqsim. It costs 59 tokens per session (1,111 once invoked), scanned A, original, Apache-2.0.

A skill for generating and validating editable draw.io or diagrams.net process flow diagrams from NeqSim models. It builds the layout from the model's topology and checks convergence, balances, ports, and stream connections.

In plain words
What is it for?
Use it to create or update a process flow diagram with gas, oil, and water routes, equipment symbols, stream IDs, conditions, and composition tables.
Why use it?
It reduces diagram errors such as mismatched equipment tags, broken recycle connections, or stream data that does not reflect the simulation. The result remains editable rather than being only an image.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or update a process flow diagram with gas, oil, and water routes, equipment symbols, stream IDs, conditions, and composition tables.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/equinor/neqsim/neqsim-drawio-pfd
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.

Any agent
npx skills add equinor/neqsim --skill neqsim-drawio-pfd
Clone the repo
git clone --depth 1 https://github.com/equinor/neqsim

Made for: Claude Code, Codex.

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 neqsim-drawio-pfd

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/equinor/neqsim/neqsim-drawio-pfd"><img src="https://agentmods.dev/badge/skills/equinor/neqsim/neqsim-drawio-pfd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,111 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 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.1 $0.00059 $0.01111
Opus 5.5 $0.00024 $0.00444
Sonnet 5.5 $0.00012 $0.00222
Haiku 4.5 $0.00006 $0.00111

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

Security

Grade A, and why

neqsim-drawio-pfd 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/export_drawio.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/skills/neqsim-drawio-pfd/SKILL.md · 34 lines

How it starts

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

Editable draw.io process diagrams

  1. Resolve the source process. Reuse the supplied model or build and run the requested NeqSim case. For an illustrative request, state the assumptions. Confirm convergence, external material balance and both ends of each physical recycle before reporting calculated data.

  2. Use devtools/pfd_diagram.py to build the editable layout source (.layout.json) from the actual topology. Reuse existing layout and geometry when available. DEXPI can be a topology source after its equipment, ports and links are reconciled with the model.

  3. Put the gas train on top, left to right. Put oil and water on separate lower routes. Draw separation vessels horizontally and gas scrubbers vertically, including three-phase scrubbers. Identify service from the process so a scrubber implemented with a separator class still draws vertically. Route gas from a top nozzle initially upwards, oil or condensate from a side nozzle initially outwards, and water from a bottom nozzle initially downwards. Anchor connectors to the vessel outline and check the first segment of every outlet, including zero-flow outlets. Use distinct ports and stream IDs for gas, oil and water on three-phase separators and three-phase scrubbers, including modeled zero-flow outlets. When a separator or scrubber has multiple modeled inlets, draw the main feed and each independent return on the same inlet side, staggered vertically with the main feed above the return. Give each inlet its own attached arrow and stream ID. If the model or piping documentation shows an upstream junction or mixer, show that junction and a single downstream connection. Treat PFD port positions as schematic and use documented nozzle locations for P&IDs. Keep physical recycle loops, route them outside the main train and use the layout role recycle. Omit numerical tear blocks while retaining their physical connections.

  4. Choose symbols by function, actual construction and orientation. Use ISO 10628-2 or an approved project symbol library where available. Treat the writer's shipped shapes as illustrative. Record unresolved symbol choices and never infer ISO compliance or substitute an unknown valve, instrument or safety device automatically.

  5. Add a tables array to the layout JSON. Each table has a title, columns (array of column headings) and rows (array of arrays). Supply stream conditions and overall molar composition in separate tables with the same IDs as the PFD. Use mass flow, pressure and temperature with explicit units. Verify full compositions sum to 100 mol-% before rounding. Label phase compositions separately and leave unavailable entries blank. Include the case and revision in the source layout.

  6. Run the existing neqsim pfd-check case.layout.json --out-dir review gate and inspect the drawing. Export with:

    python3 .github/skills/neqsim-drawio-pfd/scripts/export_drawio.py case.layout.json case.drawio
    
  7. Check the output in draw.io if available. Move a symbol and confirm its attachments, then check the phase outlets, recycle paths and tables. State what was verified and deliver the .drawio file. If the model was supplied without results, identify the data still required and mark the document draft.

Read the full file on GitHub · 34 lines

Files

What ships with it

1 file 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.

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. yesterday First seen · 34 lines · 59 tokens per session scan A 61fff2fc80be

Subscribe to this mod's changes

neqsim-drawio-pfd is a skill published in the GitHub repository equinor/neqsim (177 stars, last pushed today), licensed Apache-2.0. It adds 59 tokens to every session and 1,111 once invoked, about $0.0002 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-30.

Related

neqsim-drawio-pfd compared with skills from other repositories

neqsim-drawio-pfd next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
neqsim-drawio-pfdequinor/neqsimSkill177todayApache-2.0A59Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code