geostatistics-interpolation

geostatistics-interpolation is a skill for Claude Code, Codex from muend/geoai-skills. It costs 121 tokens per session (1,445 once invoked), scanned A, original, MIT.

A guide to estimating values between scattered measurement points and producing a continuous map of those estimates with uncertainty.

In plain words
What is it for?
It helps estimate variables measured at stations, wells, or soundings using methods such as inverse distance weighting and kriging, with spatial cross-validation.
Why use it?
It makes clear where the estimates are reliable and where the available measurements do not support much confidence.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the geoai plugin — 18 skills shipped together

Good fit It helps estimate variables measured at stations, wells, or soundings using methods such as inverse distance weighting and kriging, with spatial cross-validation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/muend/geoai-skills/geostatistics-interpolation
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 muend/geoai-skills --skill geostatistics-interpolation
Clone the repo
git clone --depth 1 https://github.com/muend/geoai-skills

Made for: Claude Code, Codex.

Or install geoai, the plugin that ships this one along with the rest of its 18 skills.

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 geostatistics-interpolation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/muend/geoai-skills/geostatistics-interpolation"><img src="https://agentmods.dev/badge/skills/muend/geoai-skills/geostatistics-interpolation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,445 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00121 $0.01445
Opus 5 $0.00060 $0.00723
Sonnet 5 $0.00024 $0.00289
Haiku 4.5 $0.00012 $0.00145

Measured 12d ago against content hash f5d39feca5fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

geostatistics-interpolation 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 12d 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.

skills/geostatistics-interpolation/SKILL.md · 129 lines

How it starts

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

Geostatistics & Interpolation

Purpose: interpolation that reports what it doesn't know. The difference between a professional product and a pretty raster is the uncertainty surface and an honest cross-validation — both are non-optional here.

Method selection

Situation Method
Dense, smooth phenomenon, quick look IDW (report power parameter; test 1-3)
Physical phenomenon with spatial structure, need uncertainty Ordinary kriging (default professional choice)
Clear trend (elevation gradient, coastal effect) Universal kriging or regression kriging on covariates
Strong covariates available (DEM, land cover, distances) Regression kriging / random-forest residual kriging
Categorical target Indicator kriging
Honeycomb-free tessellation, no extrapolation wanted Natural neighbor

IDW is a reasonable baseline but has no error model and bullseyes around extremes; say so when delivering IDW-only products.

Exploratory phase (before any interpolation)

  • Map the points with values; look for duplicates at identical coordinates (average or offset them — kriging matrices go singular otherwise).
  • Histogram + skew: strongly skewed variables (rainfall, concentrations) usually want a log/normal-score transform; back-transform predictions properly (bias correction for lognormal kriging).
  • Trend check: regress value on x, y, and candidate covariates; visible trend → universal/regression kriging path.
  • Declustering if sampling is preferential (dense where values are high).

Variogram discipline

The variogram is a MODELING decision, not an auto-fit output:

import gstools as gs

bin_center, gamma = gs.vario_estimate((x, y), values, max_dist=dmax)  # dmax ≈ half extent
model = gs.Exponential(dim=2)
model.fit_variogram(bin_center, gamma, nugget=True)
print(model)   # report: nugget, sill, range — plus the fitted plot
  • Max lag ≈ half the domain diameter; ≥30 pairs per bin.
  • Check anisotropy with directional variograms (0/45/90/135°); geological and meteorological fields are often anisotropic — fit an anisotropic model rather than ignoring it.
  • Interpret and report the parameters in words: nugget (measurement error + micro-scale variance), range (correlation distance), sill. A nugget near the sill means the data barely support interpolation — say that honestly.
  • Never interpolate meaningfully beyond the variogram range from the nearest sample; mask or flag those cells.

Read the full file on GitHub · 129 lines

Files

What ships with it

2 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. 12d ago First seen · 129 lines · 121 tokens per session scan A f5d39feca5fa

Subscribe to this mod's changes

geostatistics-interpolation is a skill published in the GitHub repository muend/geoai-skills (17 stars, last pushed 8d ago), licensed MIT. It adds 121 tokens to every session and 1,445 once invoked, about $0.0006 per session on Opus 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-08-31.