AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Process Units Conversion

skill-jskherman-engg-skills-process-units-conversion · by jskherman

>-

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add skill-jskherman-engg-skills-process-units-conversion

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-jskherman-engg-skills-process-units-conversion)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Process Units Conversion? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Process Units Conversion

Overview

Deterministic unit conversions for the common process-engineering quantities (flow, pressure, viscosity, thermal conductivity, energy, temperature, length, area, volume, density, mass). All calculations are SI under the hood; converting to or from a non-SI unit goes through the SI value.

Prerequisites

  1. uv available.

When to Use

  • An input is given in psia, bar, lbm/hr, gpm, cP, ft, in, etc., and you

need SI before calling another skill.

  • The user requests output in non-SI units (e.g. shop-floor reporting).
  • You need to sanity-check a vendor data sheet expressed in mixed units.

Don't use for

  • Computing properties that depend on state (density, viscosity, heat

capacity) — those need a property package (thermo-process-properties).

  • Currency, financial, or non-physical conversions.
  • Unit groups that are NOT pure conversions (e.g. API gravity to density

depends on water reference; check the underlying definition).

Utility Scripts

  • uv run scripts/convert_units.py convert --value 100 --from-unit psi --to-unit Pa --output /tmp/p.json
  • uv run scripts/convert_units.py convert --value 2.5 --from-unit gpm --to-unit m3_s --output /tmp/q.json
  • uv run scripts/convert_units.py list-units --output /tmp/units.json

Procedure

  1. Identify the source unit and the target unit.
  2. Confirm the conversion is purely dimensional (no T/P/composition

dependence).

  1. Run the script; inspect the JSON for the SI value as well.
  2. If the result is suspicious (off by a factor of 10), check whether you

confused similar units (e.g. psia vs psig, bar vs barg, mol/h vs kmol/h).

Pitfalls

  • Treating gauge pressure (psig, barg) as absolute (psia, bara). The skill

is unit-of-quantity, not gauge-vs-absolute; you must subtract / add atmospheric pressure yourself.

  • Mixing mass and molar flow ("kg/s vs kmol/s"); they are different

dimensions and the skill will refuse them.

  • Treating "Bbl" or "STB" without specifying the reference (oil vs water).
  • Treating Celsius and Kelvin as interchangeable for delta-T calculations

(they are; for absolute, they are not). Convert intentionally.

  • Treating cP and cSt as the same; cP is dynamic viscosity, cSt is

kinematic viscosity (= dynamic / density).

  • Converting GPM to m³/s and forgetting US-vs-Imperial gallons.
  • Inputting flow in "mol%" when the schema expects mole fraction.
  • Reporting a converted value with more digits than the source warrants.

Fallback Strategies

  • If the requested unit is not in the registry, surface to the user; do

NOT guess the conversion factor.

  • For non-trivial conversions (e.g. API gravity, gas SCF at standard

conditions), use a dedicated property routine instead.

Verification

  • Run the listed script with representative inputs and an --output file when a deterministic calculation is available.
  • Confirm the JSON result contains ok: true, expected units, and no unhandled warnings.
  • Check result magnitudes against the stated assumptions, references, and a hand calculation or known operating range before reporting them.

References

  • references/unit_conventions.md — supported quantities and units.

Anti-Patterns

  • Embedding a "convenient" conversion factor in another script instead of

routing through this skill.

  • Reporting bar and psi values together without naming gauge vs absolute.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.