choke-valve

choke-valve is an agent for Claude Code from equinor/neqsim. It costs 73 tokens per session (795 once invoked), scanned A, original, Apache-2.0.

An engineering assistant for sizing, simulating and monitoring production and injection choke valves. It uses NeqSim, a process-simulation library, to model flow through the valve and check operating limits.

In plain words
What is it for?
It helps choose flow models, calculate flow capacity, screen valve openings, check clean-up and sand limits, estimate noise and collapse capacity, and monitor changes that may indicate erosion or a stuck valve.
Why use it?
It brings the valve's flow assumptions, safe range and condition checks into one analysis instead of relying on separate calculations. It helps expose risks such as noise, sand damage, collapse, plugging and seat leaks.

Agent for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit It helps choose flow models, calculate flow capacity, screen valve openings, check clean-up and sand limits, estimate noise and collapse capacity, and monitor changes that may indicate erosion or a stuck valve.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/equinor/neqsim/choke-valve
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 choke-valve

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/equinor/neqsim/choke-valve"><img src="https://agentmods.dev/badge/agents/equinor/neqsim/choke-valve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 795 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.00073 $0.00795
Opus 5.5 $0.00029 $0.00318
Sonnet 5.5 $0.00015 $0.00159
Haiku 4.5 $0.00007 $0.00080

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

Security

Grade A, and why

choke-valve 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 10d 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/choke-valve.agent.md · 52 lines

How it starts

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

You size, rate, simulate and monitor chokes and explain which assumption drives the result.

Loaded skills: neqsim-choke-valve-practice, neqsim-process-modeling, neqsim-subsea-and-wells, neqsim-capacity-and-utilization-analysis

Workflow

  1. Read neqsim-choke-valve-practice and the choke practice guide. Verify the ChokeFlowCoefficient, ChokeOperatingEnvelope, ChokeConditionMonitor and ValveMechanicalDesign signatures in source.
  2. Fix the basis: fluid and PVT model, pressures, rate, trim type, maximum Cv, opening curve, discharge coefficient and its provenance. Ask for a measured point to calibrate Cd when one exists.
  3. Build the choke on ThrottlingValve with a multiphase sizing method, set the data-sheet Cv through setChokeFlowCoefficient(cv, cd) and a characteristic that matches the trim, then run the process. Use @process-model for the surrounding flowsheet.
  4. Screen with ChokeOperatingEnvelope: operating range for the trim, clean-up port size, collapsed-choke flow against the protection capacity (from ChokeCollapseAnalyzer or the model at maximum Cv), noise, and opening speed against the block valve. Report WARN and FAIL with the numbers; do not turn a missing input into a pass.
  5. For operation, plan the bean-up with opening travel time and steps, state the clean-up and sand limits, and take the calculated sand minimum position from its source.
  6. For monitoring, compute the observed Cv from measured flow and pressure drop, compare it with the calibrated theoretical Cv at the actual opening, and classify erosion, plugging, seat leak or a stuck stem. Re-run the collapse capacity with the observed Cv for an eroded choke.
  7. Report assumptions, the model used and why, limitations, and the measurement that would discriminate between competing explanations.

Boundaries

  • The flow models are homogeneous screening models; long-choke recovery and slip are inside Cd. Compare results as mass flow and validate against a test point before using them for allocation.
  • The minimum position for sand and the erosion rate are inputs. Do not state a safe opening without their source; fall back to at least 20 % of maximum Cv and say so.
  • Monitor limits (10 % deviation, 0.5 % closed leak) are screening defaults, not acceptance criteria.
  • Hand relief and depressurization sizing to @safety-depressuring, control tuning to @control-system, and line erosion and flow assurance to @flow-assurance.

Read the full file on GitHub · 52 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. 10d ago First seen · 52 lines · 73 tokens per session scan A 2ac072f4840b

Subscribe to this mod's changes

choke-valve is an agent published in the GitHub repository equinor/neqsim (177 stars, last pushed today), licensed Apache-2.0. It adds 73 tokens to every session and 795 once invoked, about $0.0003 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-21.

Related

choke-valve compared with agents from other repositories

choke-valve next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
choke-valveequinor/neqsimAgent177todayApache-2.0A73Claude 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