neqsim-pvt-regression-characterization-factor

neqsim-pvt-regression-characterization-factor is a skill for Claude Code, Codex from equinor/neqsim-community-skills. It costs 93 tokens per session (1,836 once invoked), scanned A, original, Apache-2.0.

A fitting method for calibrating one heavy-end fluid-characterisation factor against several measured PVT or separator results at once. PVT means measurements of how a fluid behaves with pressure, volume, and temperature; the method reports each target's remaining error.

In plain words
What is it for?
Use it to fit a split factor to targets such as saturation pressure, gas-oil ratio, oil density, and formation volume factor when a full equation-of-state regression is unnecessary.
Why use it?
It avoids tuning a factor to one measurement while degrading others. Weights make it possible to reflect which measurements matter more and to judge the quality of the match explicitly.

Skill for Claude CodeCodex

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

Good fit Use it to fit a split factor to targets such as saturation pressure, gas-oil ratio, oil density, and formation volume factor when a full equation-of-state regression is unnecessary.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/equinor/neqsim-community-skills/neqsim-pvt-regression-characterization-factor
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-community-skills --skill neqsim-pvt-regression-characterization-factor
Clone the repo
git clone --depth 1 https://github.com/equinor/neqsim-community-skills

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-pvt-regression-characterization-factor

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/equinor/neqsim-community-skills/neqsim-pvt-regression-characterization-factor"><img src="https://agentmods.dev/badge/skills/equinor/neqsim-community-skills/neqsim-pvt-regression-characterization-factor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,836 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.00093 $0.01836
Opus 5.5 $0.00037 $0.00734
Sonnet 5.5 $0.00019 $0.00367
Haiku 4.5 $0.00009 $0.00184

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

Security

Grade A, and why

neqsim-pvt-regression-characterization-factor 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 19d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (examples/regression_example.py, src/pvt_regression/__init__.py, src/pvt_regression/regression.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.

skills/pvt/neqsim-pvt-regression-characterization-factor/SKILL.md · 163 lines

How it starts

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

PVT Regression of a Characterization Factor

Use this skill to regress a single split / characterization factor against several measured PVT or separator targets at once, with per-target weights and explicit residual reporting. It follows standard PVT regression practice (fitting EOS/characterization parameters to measured PVT experiment values with weights) and NeqSim's characterization plus PVT-simulation workflow.

The forward model is injected by the caller, so this skill has no dependency on a particular EOS. In practice it wraps a NeqSim characterization + flash / PVT-simulation evaluation, or the community pseudocomponent-split-characterization and reference-fluid-synthetic-generation skills.

When to Use

  • When one heavy-end factor must reproduce multiple measured quantities (for example saturation pressure and stock-tank-oil density) simultaneously.
  • When targets have different importance and need weighting.
  • When you must report per-target residuals to judge whether the match is acceptable.
  • When a full EOS regression is not warranted but a calibrated split factor is.

Inputs

  • forward_model(factor) -> {target_name: predicted_value}: caller-supplied.
  • targets: a list of RegressionTarget(name, measured, weight).
  • low, high: bounds of the factor search interval.
  • tol, max_iter: search controls.

Outputs

  • RegressionResult: fitted factor, objective, per-target residuals and predictions, iterations, and convergence flag.
  • weighted_ssr(predicted, targets): the weighted sum of squared relative residuals, usable as a standalone objective.

Engineering Method

Each residual is normalized: (predicted - measured) / measured, so quantities of different magnitude and units contribute comparably. The objective is the weighted sum of squared relative residuals. The factor is fitted by a robust golden-section 1-D search over [low, high] — no gradients, suitable for the noisy forward models produced by flash and PVT calculations.

Read the full file on GitHub · 163 lines

Files

What ships with it

6 files 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. 19d ago Changed fcefae5371a7
  2. 1mo ago Changed · +13 lines d453f1b933f7
  3. 1mo ago Changed · +19 lines f16ebf18dbd7
  4. 1mo ago First seen · 131 lines · 93 tokens per session scan A b64b96a0808a

Subscribe to this mod's changes

neqsim-pvt-regression-characterization-factor is a skill published in the GitHub repository equinor/neqsim-community-skills (4 stars, last pushed today), licensed Apache-2.0. It adds 93 tokens to every session and 1,836 once invoked, about $0.0004 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-09-19.

Related

neqsim-pvt-regression-characterization-factor compared with skills from other repositories

neqsim-pvt-regression-characterization-factor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
neqsim-pvt-regression-characterization-factorequinor/neqsim-community-skillsSkill4todayApache-2.0A93Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill35k3d agoApache-2.0A123Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA83Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA44Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill33kyesterdayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.8kyesterdayApache-2.0A205Claude Code