Agent skill

Uncertainty And Units

by K-Dense-AI in K-Dense-AI/scientific-agent-skills

Tracks physical units and propagates measurement uncertainty in scientific calculations using pint and uncertainties.

MITAuto-check: notesResearch & Science

Install Uncertainty And Units

skills CLI
$ npx skills add K-Dense-AI/scientific-agent-skills --skill uncertainty-and-units -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install K-Dense-AI/scientific-agent-skills uncertainty-and-units --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/uncertainty-and-units .claude/skills/uncertainty-and-units && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
uncertainty-and-units
GitHub stars
48k
Used in
1 other repo
Token cost
~5.4k tokens
SKILL.md length
2,197 words
Files
15 (incl. scripts, references)
Skills in repo
153
Repo updated
First seen
Licence
MIT

At a glance

Tracks physical units and propagates measurement uncertainty in scientific calculations using pint and uncertainties.

  • Works in 11 steps: Attach units at input and strip them… → Write the measurement model explicitly… → Give every input four things: an… → …
  • Unit conversion and dimensional checking
  • SKILL.md covers Scope, Current release and installation, Non-negotiable workflow and The failures this skill exists…, plus 6 more sections
  • Runs Python scripts from its folder; calls python and uv

What it does

Uncertainty And Units is an agent skill from K-Dense-AI/scientific-agent-skills. Tracks physical units and propagates measurement uncertainty in scientific calculations using pint and uncertainties. Use for unit conversion and dimensional checking, GUM uncertainty budgets, Type A and Type B evaluation, coverage factors and expanded uncertainty, Monte Carlo propagation, significant-figure and plus-minus reporting, error propagation through curve fits, CODATA constants, auditing Python code for stripped units or broken uncertainty propagation, and order-of-magnitude plausibility checks using…

Its SKILL.md is about 5.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 16 other files, including scripts and reference files (for example `references/domain-conversions.md`, `references/gum-methodology.md` and `references/pint-recipes.md`). Compatibility notes: Requires Python 3.12+. The numeric CLIs need pint, uncertainties, NumPy, and SciPy; the static auditor is standard-library only. All bundled tooling runs…

It sits in Research & Science. It works with Python. The repository describes itself as: Turn any AI agent into an AI Scientist. The 1 Agent Skills library for science, used by 250,000+ scientists worldwide. 177 ready-to-use validated skills plus 100+ scientific… The licence is MIT.

When your agent uses it

  • Unit conversion and dimensional checking
  • GUM uncertainty budgets
  • Type A and Type B evaluation
  • Coverage factors and expanded uncertainty

Example prompts

  • “is this number physically reasonable”
  • “sanity check these units”
  • “what regime is this flow in”
  • “/uncertainty-and-units”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Requires Python 3.12+. The numeric CLIs need pint, uncertainties, NumPy, and SciPy; the static auditor is standard-library only. All bundled tooling runs locally with no network access.
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash

Workflow steps

11 steps, taken from the first numbered list in SKILL.md.

  1. Attach units at input and strip them only at output. Convert at function
  2. Write the measurement model explicitly before computing anything, including
  3. Give every input four things: an estimate, a standard uncertainty, the
  4. Convert Type B statements with the right divisor. A certificate's expanded
  5. Identify correlations before combining. A shared calibration, instrument correction, or fit can induce correlation;
  6. Compute sensitivity coefficients, and read the budget from c_i * u(x_i) rather
  7. Check the linearization. Compare propagated distributions with the GUM interval when in doubt.
  8. Justify coverage. A Student-t factor from effective degrees of freedom
  9. Round the uncertainty first, then the value to the same decimal place.
  10. State what the ± is — standard or expanded, with k, the coverage probability,
  11. Sanity-check the magnitude before reporting. A dimensionally consistent result can

What it can do on your machine

Read from SKILL.md and the folder at commit 92ace75. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 7 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • pint.readthedocs.io
    • bipm.org
    • pypi.org
    • arxiv.org
    • nvlpubs.nist.gov
    • physics.nist.gov
    • uncertainties.readthedocs.io
    • docs.scipy.org
    • doi.org
    • export.arxiv.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires Python 3.12+. The numeric CLIs need pint, uncertainties, NumPy, and SciPy; the static auditor is standard-library only. All bundled tooling runs locally with no network access.

    From compatibility in the SKILL.md frontmatter.

Context cost

Uncertainty And Units loads about 5.4k tokens when it runs, and up to ~22k if it reads all its reference files. Until then it costs about 217 tokens; SKILL.md has 2,197 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~217
When it runs · the whole SKILL.md, loaded when a task matches
~5.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~22k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from K-Dense-AI/scientific-agent-skills at commit 92ace75, republished under its MIT licence (© K-Dense-AI). 2,197 words, ~5,419 tokens.

Download SKILL.mdSave it as .claude/skills/uncertainty-and-units/SKILL.md (or your agent's skills folder). This skill also uses 14 other files; get the full folder from GitHub.
name
uncertainty-and-units
description
Tracks physical units and propagates measurement uncertainty in scientific calculations using pint and uncertainties. Use for unit conversion and dimensional checking, GUM uncertainty budgets, Type A and Type B evaluation, coverage factors and expanded uncertainty, Monte Carlo propagation, significant-figure and plus-minus reporting, error propagation through curve fits, CODATA constants, auditing Python code for stripped units or broken uncertainty propagation, and order-of-magnitude plausibility checks using dimensionless groups (Reynolds, Peclet, Damkohler, Knudsen, Biot, Womersley), characteristic scales such as diffusion time or Debye length, and observed magnitude ranges. Trigger on "is this number physically reasonable", "sanity check these units", "what regime is this flow in", or a result that looks off by orders of magnitude.
allowed-tools
Read, Write, Edit, Bash
compatibility
Requires Python 3.12+. The numeric CLIs need pint, uncertainties, NumPy, and SciPy; the static auditor is standard-library only. All bundled tooling runs locally with no network access.
license
MIT
metadata.version
1.3
metadata.last-reviewed
2026-10-01
metadata.skill-author
K-Dense Inc.

Uncertainty and units

Scope

Use this skill whenever a calculation carries physical units or a reported number needs an uncertainty. Concretely:

  • converting between units, including conversions that need a physical context (wavelength to photon energy, mass to amount of substance, energy to temperature);
  • propagating uncertainty through a measurement model, with or without correlated inputs;
  • building a GUM uncertainty budget from calibration certificates, specifications, and repeatability data;
  • choosing a coverage factor and deciding whether k = 2 is defensible;
  • rounding and writing a result so a reader knows what the ± means;
  • extracting parameter uncertainties from a curve fit without discarding correlations;
  • reviewing existing analysis code for silent unit and uncertainty defects;
  • checking that a dimensionally consistent answer is also physically possible — the order of magnitude, the dimensionless group, and the regime it implies.

This skill covers the metrology and the two libraries that implement it. It does not cover statistical inference, model selection, or study design — see statistical-analysis, statistical-power, and experimental-design.

Current release and installation

Verified 2026-10-01:

  • pint 0.26.1, released 2026-09-10; requires Python 3.12+.
  • uncertainties 3.2.3, released 2025-04-21; requires Python 3.8+.
  • NumPy 2.5.3 and SciPy 1.18.1; both require Python 3.12+.
  • scipy.constants in SciPy 1.18.1 serves CODATA 2022. SciPy 1.11 and earlier served CODATA 2018; the switch to CODATA 2022 occurred in SciPy 1.15.
bash
uv venv --python 3.13
source .venv/bin/activate
uv pip install "pint==0.26.1" "uncertainties==3.2.3" "numpy==2.5.3" "scipy==1.18.1"

pint-pandas and pint-xarray add unit-aware columns and arrays and are separate installs.

Non-negotiable workflow

  1. Attach units at input and strip them only at output. Convert at function boundaries with ureg.wraps or m_as("unit"), never mid-calculation.
  2. Write the measurement model explicitly before computing anything, including corrections whose estimated value is zero. A correction left out of the model leaves its uncertainty out of the budget.
  3. Give every input four things: an estimate, a standard uncertainty, the distribution the uncertainty came from, and its degrees of freedom.
  4. Convert Type B statements with the right divisor. A certificate's expanded uncertainty divides by its stated k; rectangular limits divide by sqrt(3).
  5. Identify correlations before combining. A shared calibration, instrument correction, or fit can induce correlation; quantify shared components instead of assuming every pair is correlated.
  6. Compute sensitivity coefficients, and read the budget from c_i * u(x_i) rather than from the raw uncertainties.
  7. Check the linearization. Compare propagated distributions with the GUM interval when in doubt. Establish Monte Carlo numerical stability before a JCGM 101 clause 8 claim; neither method validates the measurement model or the assigned input PDFs.
  8. Justify coverage. A Student-t factor from effective degrees of freedom is an approximation requiring suitable distributional assumptions.
  9. Round the uncertainty first, then the value to the same decimal place.
  10. State what the ± is — standard or expanded, with k, the coverage probability, and the method.
  11. Sanity-check the magnitude before reporting. A dimensionally consistent result can still be impossible. Compare it against a known scale or a dimensionless group, and confirm every assumption you relied on still holds in that regime.

The failures this skill exists to prevent

Each of the following runs without error and produces a plausible number.

A unit stripped at an unknown scale
python
length = (12.7 * ureg.mm).magnitude          # 12.7 -- of what?
length = (12.7 * ureg.mm).m_as("m")          # 0.0127 metres, stated

.magnitude returns whatever the quantity happened to be carrying. Name the unit at the point of extraction, every time.

Offset temperature arithmetic
python
Q(20, "degC") + Q(5, "degC")     # OffsetUnitCalculusError -- correctly refused
Q(20, "degC") + Q(5, "delta_degC")   # 25 degree_Celsius
Q(25, "degC") - Q(20, "degC")        # 5 delta_degree_Celsius

Celsius and Fahrenheit are interval scales. An uncertainty on a temperature is always a difference and belongs in a delta_ unit: converting 20 ± 0.5 degC to Fahrenheit gives 68 degF ± 0.9 delta_degF, two different conversions on one line.

Logarithmic units that add by multiplying
python
Q(10, "dBm") + Q(10, "dBm")   # 0.0001 kilogram**2 * meter**4 / second**6

That is 10 mW × 10 mW, not 20 mW and not 13 dBm. Nothing raises. Convert to a linear unit before any arithmetic.

A correlation destroyed by a round trip
python
x = ufloat(1.0, 0.1)
x - x                                     # 0.0+/-0
x - ufloat(x.nominal_value, x.std_dev)    # 0.00+/-0.14

Rebuilding a variable from its nominal value and standard deviation creates an independent variable. So does any serialization that passes through a pair of floats. Use correlated_values(values, covariance_matrix) to rebuild a correlated set.

A covariance matrix silently rescaled
python
popt, pcov = curve_fit(f, x, y, sigma=sigma)                        # default
popt, pcov = curve_fit(f, x, y, sigma=sigma, absolute_sigma=True)

The default rescales pcov by the reduced chi-square. Relative weights from sigma still affect the fit and covariance: equality with an unweighted fit holds for constant sigma, not generally for heteroscedastic inputs. On one synthetic straight-line fit the two give [0.0364, 0.2154] and [0.0477, 0.2820] — a 31% difference. Pass absolute_sigma=True whenever sigma holds real standard uncertainties.

A linearization that was never checked

For y = x² with x = 1.0 ± 0.5, the GUM framework gives y = 1.0, u_c = 1.0, and a 95% interval of [-0.96, 2.96] — mostly negative, for a squared quantity. Monte Carlo gives a mean of 1.25, u_c = 1.06, and a shortest 95% interval of [0, 3.32]. Nothing in a linear-propagation library will tell you this happened.

Bundled local CLIs

All helpers run offline, reject URLs and symlinks, bound their inputs, write output atomically with private permissions, and refuse to overwrite without --force.

bash
python skills/uncertainty-and-units/scripts/propagate_uncertainty.py --help
python skills/uncertainty-and-units/scripts/uncertainty_budget.py --help
python skills/uncertainty-and-units/scripts/format_result.py --help
python skills/uncertainty-and-units/scripts/convert_units.py --help
python skills/uncertainty-and-units/scripts/audit_units.py --help
python skills/uncertainty-and-units/scripts/check_plausibility.py --help
propagate_uncertainty.py

Runs both propagation methods on the same numerical model and compares interval endpoints. This fixed-trial diagnostic does not implement the adaptive stabilization in JCGM 101 7.9/8.2 and never labels the GUM result fully validated.

bash
python skills/uncertainty-and-units/scripts/propagate_uncertainty.py \
  --expression "m / (pi * (d / 2) ** 2 * h)" \
  --variable "m=250.0,0.05" \
  --variable "d=2.0,0.002,rectangular" \
  --variable "h=4.0,0.005,rectangular" \
  --measurand density --unit "g/cm3" --format markdown

Each --variable is name=value,standard_uncertainty[,distribution[,dof]], where the distribution is normal, rectangular, triangular, arcsine, or exact and controls Monte Carlo sampling only. Here mass is in g and lengths in cm: --unit is a report label, not dimensional validation or conversion. JSON variable units are also labels; convert inputs to a consistent numerical model first. Correlations go in as --correlation "a,b=0.9". A JSON --spec file holds the same model for anything long-lived. The joint normal sampler supports positive semidefinite correlation matrices, including perfect correlations. Other joint distributions need a separate sampler. Correlated finite-dof inputs are refused because independent-input Welch-Satterthwaite is invalid. For independent finite-dof inputs the CLI's MC PDFs remain fixed: dof affects the GUM factor only, not MC sampling. A small-sample t input needs a separate justified model.

The expression is parsed into an abstract syntax tree and reduced by an explicit walk over + - * / ** and a fixed list of functions. It is never compiled or executed.

The report gives the estimate, u_c, sensitivity coefficients, the budget in percent, effective degrees of freedom, k, U, both Monte Carlo coverage intervals, and the endpoint-agreement diagnostic. Repeat/increase sampling and verify model/PDF assumptions before deciding what to report.

uncertainty_budget.py

Combines components stated the way certificates and data sheets state them.

bash
python skills/uncertainty-and-units/scripts/uncertainty_budget.py --template > budget.json
python skills/uncertainty-and-units/scripts/uncertainty_budget.py --spec budget.json --format markdown

Each component names a distribution that fixes its divisor — expanded divides by its coverage_factor, rectangular by sqrt(3), triangular by sqrt(6), arcsine by sqrt(2), normal by 1 — with an optional sensitivity, dof, and relative: true. The tool assumes independent components, requires an explicit factor for expanded, and rejects nonzero exact components. It computes u_c, effective degrees of freedom, k from the t-distribution, and U, and warns when a Type A component has no degrees of freedom, when nu_eff is small enough that k = 2 is wrong, when one component dominates, and when a Type B component declared normal is probably an undivided expanded uncertainty.

format_result.py
bash
python skills/uncertainty-and-units/scripts/format_result.py \
  --value 12.34567 --uncertainty 0.02345 --unit mm \
  --coverage-factor 2.26 --coverage-probability 0.95

Returns 12.346 ± 0.023 mm, 12.346(23) mm, the scientific and LaTeX forms, and the sentence that has to accompany the number. Warns when one significant digit is requested for an uncertainty beginning in 1 or 2, and when the uncertainty exceeds the estimate.

convert_units.py
bash
python skills/uncertainty-and-units/scripts/convert_units.py \
  --value 532 --unit nm --to eV --context spectroscopy --uncertainty 0.5

python skills/uncertainty-and-units/scripts/convert_units.py \
  --value 1.0 --unit g --to mol --context chemistry --context-parameter "mw=180.156 g/mol"

Carries the uncertainty through the conversion's local derivative. Some contexts (such as wavelength to energy) are reciprocal, whereas others are proportional. Context parameters (mw, n) are treated as exact; their uncertainties need an explicit measurement model. Offset-temperature uncertainty units are differences. Names the context in the error message when a conversion needs one, and flags offset and logarithmic units. --list-contexts shows what the registry defines.

Show full SKILL.md (959 more words)Show less
audit_units.py

Static review of existing analysis code. Parses, never imports or runs.

bash
python skills/uncertainty-and-units/scripts/audit_units.py \
  --input analysis.py --format markdown --fail-on medium
RuleSeverityDetects
UNIT001mediuma second UnitRegistry in one module — cross-registry ValueError
UNIT002mediumoffset temperature units with no delta_ unit anywhere
UNIT003high.magnitude without a preceding .to(...) or .m_as(...)
UNIT004mediumlogarithmic units, whose + multiplies
UNC001highcurve_fit without absolute_sigma
UNC002mediumnp.std / np.var without ddof or NumPy's correction alias
UNC003mediummath or numpy functions in a module that uses uncertainties
UNC004higha ufloat rebuilt from .nominal_value and .std_dev
CONST001lowa literal within 0.1% of a CODATA constant

Exit status is 1 when a finding meets --fail-on (default high), which makes it usable as a pre-commit or CI check.

The rules are heuristics, so a false positive is suppressed with a directive comment — trailing to cover its own line, or alone on a line to cover the next one:

python
value = quantity.magnitude  # audit-units: ignore UNIT003 -- already converted upstream

# audit-units: ignore UNC003 -- the argument here is a plain float array
scaled = np.log10(counts)

# audit-units: ignore-file CONST001 covers a whole module, and naming no rule suppresses all of them. Suppressions are counted in the report rather than hidden, so a file that silences everything still says so.

check_plausibility.py

Dimensional consistency is not physical possibility. A cell 2 m across and a Reynolds number of 4e7 in a capillary both pass every unit check. This tool tests a set of quantities against dimensionless groups, characteristic scales, and illustrative typical-value bands, and verifies each formula's dimensionality before reporting a number.

bash
python skills/uncertainty-and-units/scripts/check_plausibility.py \
  --quantity "density=1060 kg/m**3" --quantity "velocity=0.5 mm/s" \
  --quantity "length=8 um" --quantity "viscosity=3.5 mPa*s" \
  --group reynolds --format markdown
# Re = 0.001211 -- laminar (circular pipe, length = diameter)

python skills/uncertainty-and-units/scripts/check_plausibility.py \
  --quantity "diameter=2 m" --band "eukaryotic_cell_diameter=diameter"
# implausible: 4.3 decades outside the 5-100 um range

--group evaluates one of 14 dimensionless groups and names the regime it places the system in; --scale computes a characteristic scale such as a diffusion time, Debye length, or Stokes settling velocity; --band compares a supplied quantity against an observed range. --list prints the whole catalogue with the inputs each formula needs.

Physical constants (k_B, N_A, R_gas, g_earth, and the rest) are available to every formula without being supplied. Their nominal values come from scipy.constants; this plausibility helper does not propagate their uncertainties. g_earth is standard gravity, not a local measurement. Bands are screening heuristics, not physical limits.

The dimensionality check is the point. Passing a kinematic viscosity where the formula needs a dynamic one — both called "viscosity", both tabulated for water, differing by a factor of ρ — is refused before any number is computed:

error: viscosity must have dimensionality [mass] / ([length] * [time]),
       but m²/s is [length] ** 2 / [time]

Exit status is 1 when the verdict meets --fail-on (default implausible; a value within one decade of a band is questionable). The thresholds are conventions with soft edges and assume the geometry their correlation was fitted for — see references/plausibility-scales.md for the characteristic length to use in each case.

Choosing a propagation method

SituationMethod
Linear or near-linear model, normal-ish inputs, large dofGUM framework alone
Any nonlinearity across ±2u of an inputrun both, apply the clause 8 test
Large relative uncertaintycheck model curvature and physical support; linear models can still propagate exactly
Dominant rectangular or otherwise non-normal componentMonte Carlo
Output bounded below (variance, concentration, squared quantity)Monte Carlo
Asymmetric output distributionMonte Carlo; explicitly choose equal-tail or shortest interval
Correlated inputseither, but supply the covariance matrix, not the standard uncertainties alone

A model dominated by rectangular contributions can fail the clause 8 test even when it is perfectly linear: the framework's k = 1.96 over-covers a nearly trapezoidal output. The estimate and u_c are still right; only the interval is too wide.

Constants

Never type a constant from memory. The SI has seven exact defining constants, including c, h, e, k, and N_A; quantities derived solely from exact constants can also be exact (for example, R = N_A * k). Other constants may be measured and change between CODATA releases. Check each constant's stated uncertainty rather than assuming every other value is measured.

python
import scipy.constants as constants

constants.value("electron mass")        # 9.1093837139e-31
constants.unit("electron mass")         # kg
constants.precision("electron mass")    # 3.07e-10, relative standard uncertainty
constants.precision("Planck constant")  # 0.0, exact by definition

precision returns a relative standard uncertainty; multiply by the absolute value of the constant for the absolute one.

Reference files

  • references/gum-methodology.md — Type A and Type B evaluation, distribution divisors, the law of propagation, Welch-Satterthwaite, when the framework fails, the Monte Carlo procedure, and the clause 8 validation test.
  • references/pint-recipes.md — registries, offset and logarithmic units, contexts, boundary enforcement with wraps and check, NumPy interoperability, custom units, formatting.
  • references/uncertainties-recipes.md — variable identity and correlation, correlated_values, umath and unumpy, format specs, fit covariance matrices, and the package's limits.
  • references/domain-conversions.md — the energy ladder, spectroscopy, concentration, pressure, radiation and magnetism, mass spectrometry, logarithmic quantities, and the pairs that share dimensions without sharing meaning.
  • references/reporting-rules.md — rounding, notations, the sentence that must accompany a result, SD versus SEM versus CI in figures, non-detects, and conformity decision rules.
  • references/plausibility-scales.md — choosing the characteristic length, the dimensionless groups and the modelling assumption each one gates, characteristic scales, the observed magnitude bands and their sources, and the caveats on every threshold.

Dated sources

Checked 2026-10-01:

Citing Scientific Agent Skills

This skill is part of Scientific Agent Skills by K-Dense. If it materially contributed to a manuscript, report, presentation, or code release, add the paper to the references or software section and tell the user you did so:

Kassis, T., Agarwal, V., He, Y., Patel, D., & Brueckner, A. M. (2026). Scientific Agent Skills: A Library of Procedural Knowledge for Research Agents. arXiv:2609.00065. https://doi.org/10.48550/arXiv.2609.00065

Always cite the current version. The DOI and https://arxiv.org/abs/2609.00065 resolve to the latest arXiv version, so never append a version suffix such as v1. When network access is available, fetch https://arxiv.org/abs/2609.00065 (or https://export.arxiv.org/api/query?id_list=2609.00065) before writing the reference and take the author list, year, and version from that record. If the record lists a journal reference or publisher DOI, cite the published version instead.

© K-Dense-AI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 14 other files (scripts, references) in skills/uncertainty-and-units of K-Dense-AI/scientific-agent-skills.

  • SKILL.md
  • references/domain-conversions.md
  • references/gum-methodology.md
  • references/pint-recipes.md
  • references/plausibility-scales.md
  • references/reporting-rules.md
  • references/review.md
  • references/uncertainties-recipes.md
  • scripts/_common.py
  • scripts/audit_units.py
  • scripts/check_plausibility.py
  • scripts/convert_units.py
  • scripts/format_result.py
  • scripts/propagate_uncertainty.py
  • scripts/uncertainty_budget.py

Open the folder on GitHubat commit 92ace75

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in K-Dense-AI/scientific-agent-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Uncertainty And Units next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Uncertainty And Units compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Uncertainty And Units this skillK-Dense-AI/scientific-agent-skills48k1 repos~5.4kAutomated safety check: NotesMIT
GitHub Deep Researchbytedance/deer-flow84k4 repos~1.3kAutomated safety check: PassMIT
Last30daysmvanhorn/last30days-skill64k—~7.9kAutomated safety check: NotesMIT
NetworkxzLanqing/codex-claude-academic-skills4.7k15 repos~3.2kAutomated safety check: PassBSD-3-Clause
Nature-Style Scientific FiguresYuan1z0825/nature-skills47k—~3.1kAutomated safety check: PassApache-2.0
Citation ManagementK-Dense-AI/claude-scientific-writer2.4k2 repos~3.9kAutomated safety check: NotesMIT

Similar skills

  • GitHub Deep Research

    bytedance/deer-flow

    Researches a GitHub repository over four rounds using the GitHub API and web search, then writes a structured markdown report with timeline, metrics and Mermaid diagrams.

    84k GitHub starsUsed in 4 repos~1.3k tokens
    Research & ScienceAuto-check passed
  • Last30days

    mvanhorn/last30days-skill

    Research what people actually say about any topic in the last 30 days.

    64k GitHub stars~7.9k tokensUpdated yesterday
    Research & ScienceAuto-check: notes
  • Networkx

    zLanqing/codex-claude-academic-skills

    Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python.

    4.7k GitHub starsUsed in 15 repos~3.2k tokens
    Research & ScienceAuto-check passed
  • Nature-Style Scientific Figures

    Yuan1z0825/nature-skills

    Creates, revises, audits and exports manuscript-ready scientific figures in Python or R, and routes AI-generated graphical abstracts to a separate workflow.

    47k GitHub stars~3.1k tokensUpdated today
    Research & ScienceAuto-check passed
  • Citation Management

    K-Dense-AI/claude-scientific-writer

    Finds papers in OpenAlex, PubMed and Google Scholar, turns DOIs, PMIDs and arXiv IDs into clean BibTeX, and validates citations for a manuscript or thesis.

    2.4k GitHub starsUsed in 2 repos~3.9k tokens
    Research & ScienceAuto-check: notes
  • Preprint Search on bioRxiv

    LigphiDonk/Oh-my--paper

    Searches bioRxiv life sciences preprints by keyword, author, date range or category with a Python script, returning JSON metadata and optional PDF downloads.

    739 GitHub starsUsed in 12 repos~3.7k tokens
    Research & ScienceAuto-check passed

More from K-Dense-AI/scientific-agent-skills

All 153 skills in this repo
  • 13C Metabolic Flux Analysis

    K-Dense-AI/scientific-agent-skills

    Estimates reaction fluxes inside cells from steady-state carbon-13 labeling data with a bundled mfapy-based solver, and reports which fluxes the data pin down.

    48k GitHub starsUsed in 1 repo~3.2k tokens
    Auto-check passed
  • Analytical Method Validation Planner

    K-Dense-AI/scientific-agent-skills

    Plans, runs, and documents analytical method validation, verification, or transfer studies under ICH Q2(R2)/Q14, USP, ICH M10, CLSI EP, or ISO/IEC 17025.

    48k GitHub starsUsed in 1 repo~4.9k tokens
    Auto-check: notes
  • Cantera Ignition Delay

    K-Dense-AI/scientific-agent-skills

    Runs Cantera constant-volume or constant-pressure ignition simulations and reports temperature-based ignition delay with mechanism provenance and checks.

    48k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • DiffDock Molecular Docking

    K-Dense-AI/scientific-agent-skills

    Predicts how small molecules bind to a protein with DiffDock, covering batch docking, pose ranking by confidence and checks on the results; not for binding affinity.

    48k GitHub starsUsed in 1 repo~3k tokens
    Auto-check: notes
  • HypoGeniC Hypothesis Generation

    K-Dense-AI/scientific-agent-skills

    Plans and audits runs of the HypoGeniC and HypoRefine packages, which propose hypotheses from labeled text datasets, with local checks before any model call.

    48k GitHub starsUsed in 1 repo~3.6k tokens
    Auto-check: notes
  • ISO Standards Readiness Evidence

    K-Dense-AI/scientific-agent-skills

    Organizes scope, controlled documents, risk files and traceability into draft evidence for human review against ISO 13485, 14971, 17025 and 15189.

    48k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check: notes

Works with

Questions about Uncertainty And Units

What does Uncertainty And Units do?

Tracks physical units and propagates measurement uncertainty in scientific calculations using pint and uncertainties. Uncertainty And Units is an agent skill from K-Dense-AI/scientific-agent-skills. Tracks physical units and propagates measurement uncertainty in scientific calculations using pint and uncertainties.

When should I use Uncertainty And Units?

Uncertainty And Units fits situations like: unit conversion and dimensional checking; GUM uncertainty budgets; type A and Type B evaluation; coverage factors and expanded uncertainty.

How do I install Uncertainty And Units in Claude Code?

Run `npx skills add K-Dense-AI/scientific-agent-skills --skill uncertainty-and-units -a claude-code`. Or copy the skill folder (skills/uncertainty-and-units in K-Dense-AI/scientific-agent-skills) into .claude/skills/uncertainty-and-units in your project. Claude Code loads it when a task matches its description.

How do I install Uncertainty And Units in Codex?

Run `npx skills add K-Dense-AI/scientific-agent-skills --skill uncertainty-and-units -a codex`. Or copy the skill folder (skills/uncertainty-and-units in K-Dense-AI/scientific-agent-skills) into .agents/skills/uncertainty-and-units in your project. Codex loads it when a task matches its description.

Can I use Uncertainty And Units in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add K-Dense-AI/scientific-agent-skills --skill uncertainty-and-units -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/uncertainty-and-units, .gemini/skills/uncertainty-and-units, .github/skills/uncertainty-and-units and .opencode/skills/uncertainty-and-units in your project.

What does Uncertainty And Units need to run?

Going by SKILL.md and its folder, Uncertainty And Units needs Python for the scripts in its folder and the command-line tools its instructions call (python and uv). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash. Compatibility (from SKILL.md): Requires Python 3.12+. The numeric CLIs need pint, uncertainties, NumPy, and SciPy; the static auditor is standard-library only. All bundled tooling runs locally with no network access..

Does Uncertainty And Units access the network?

SKILL.md names 10 domains. As links in the text: pint.readthedocs.io, bipm.org, pypi.org, arxiv.org, nvlpubs.nist.gov, physics.nist.gov, uncertainties.readthedocs.io, docs.scipy.org, doi.org and export.arxiv.org. This is read from the text; nothing was executed.

Is Uncertainty And Units safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Uncertainty And Units use?

Uncertainty And Units is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Uncertainty And Units use?

About 5.4k tokens (SKILL.md is roughly 22k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 16k tokens, read only when the agent opens those files.

What are the alternatives to Uncertainty And Units?

Skills that share tags, products or a category with Uncertainty And Units: GitHub Deep Research (bytedance/deer-flow, 84k stars), Last30days (mvanhorn/last30days-skill, 64k stars), Networkx (zLanqing/codex-claude-academic-skills, 4.7k stars) and Nature-Style Scientific Figures (Yuan1z0825/nature-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Uncertainty And Units?

K-Dense-AI (a GitHub organization) maintains it in K-Dense-AI/scientific-agent-skills, which has 48,215 GitHub stars. The repository holds 153 skills in this directory. The repository was last updated on October 5, 2026.

Source: K-Dense-AI/scientific-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.