# Soil map validation

> Soil map validation is an open-source agent skill for health and science. Guides agents in rigorously validating soil and SOC maps, metrics and uncertainty. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/ccarbajal16/soil-dsm-skills/tree/main/plugins/dsm-soil/skills/soil-map-validation
- **Repository:** https://github.com/ccarbajal16/soil-dsm-skills
- **GitHub stars:** 13
- **License:** MIT
- **Skill name:** soil-map-validation
- **Collection:** https://github.com/ccarbajal16/soil-dsm-skills
- **Categories:** [health and science](https://ai-powered.com/categories/health-and-science)
- **Listing updated:** 2026-12-03

## About

This skill gives an AI coding agent a structured method for checking the accuracy of digital soil maps and soil organic carbon predictions, including stock and density estimates, process-model simulations and carbon-credit (MRV) estimates. It walks the agent through stating the target and reporting support, checking sampling design and sample size against a learning-curve plateau, choosing a cross-validation strategy suited to spatial data, and avoiding covariate leakage in each fold.

The guidance covers which metrics to compute and what they mean, including RMSE, bias, R² and its variants, concordance correlation and prediction interval coverage, plus a check of residual spatial autocorrelation. It also covers aggregating point-level uncertainty to field, project or regional means, and separating temporal skill from spatial skill when assessing change over time.

The skill is a reference for reasoning and reporting rather than a script bundle; it ships a single SKILL.md with no bundled scripts. Inputs are the model, predictions, observations and sampling details the user provides.

## When your agent uses it

> Validate soil property maps and SOC (organic carbon) predictions rigorously — choosing cross-validation strategy, computing and interpreting accuracy metrics, checking that uncertainty is honest, and aggregating uncertainty to the reporting support. Use when reviewing, designing, or reporting the accuracy of a digital soil map, an SOC stock/density prediction, a RothC/process-model simulation, or an MRV/carbon-credit estimate. Triggers: "validate soil map", "is this SOC model any good", "cross-validation for spatial data", "prediction interval / PICP", "map accuracy", "uncertainty of the mean", "which metric".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ccarbajal16/soil-dsm-skills/tree/HEAD/plugins/dsm-soil/skills/soil-map-validation)
- [License: MIT](https://github.com/ccarbajal16/soil-dsm-skills/tree/HEAD/plugins/dsm-soil/skills/soil-map-validation)

## Features

- **Cross-validation strategy choice:** Guides selecting random, spatial, leakage-free, design-based or population-based validation for the data at hand.
- **Accuracy metric guidance:** Explains when to use RMSE, bias, R², concordance correlation and related metrics, and how to interpret negative efficiency values.
- **Prediction interval checks:** Describes testing whether uncertainty intervals reach their nominal coverage, such as PICP for a 90% interval.
- **Residual spatial structure test:** Calls for computing Moran's I on residuals to see whether spatial structure remains unexplained.
- **Uncertainty aggregation:** Explains rolling point-level error up to field, project or national means while accounting for spatial correlation.
- **Sample size sanity checks:** Compares sample size against a learning-curve plateau and flags small or fragile training designs.

## Good for

- Check whether a digital soil map's accuracy claims hold up under spatial cross-validation
- Report the uncertainty of a mean SOC stock for a carbon project
- Verify that a 90% prediction interval actually covers about 90% of observations
- Review a SOC model for covariate leakage from kriged layers
- Decide which accuracy metric to report for a soil property map

## Install

### Claude Code

This skill ships in the `dsm-soil` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ccarbajal16/soil-dsm-skills
/plugin install dsm-soil@soil-dsm-skills
```

Or copy only this skill to `~/.claude/skills/soil-map-validation`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccarbajal16/soil-dsm-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/soil-map-validation &&
cp -R "$tmp/plugins/dsm-soil/skills/soil-map-validation" ~/.claude/skills/soil-map-validation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/soil-map-validation` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/soil-map-validation` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccarbajal16/soil-dsm-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/soil-map-validation &&
cp -R "$tmp/plugins/dsm-soil/skills/soil-map-validation" ~/.agents/skills/soil-map-validation &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/soil-map-validation` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/soil-map-validation` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccarbajal16/soil-dsm-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/soil-map-validation &&
cp -R "$tmp/plugins/dsm-soil/skills/soil-map-validation" ~/.cursor/skills/soil-map-validation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/soil-map-validation` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ccarbajal16/soil-dsm-skills.git --path plugins/dsm-soil/skills/soil-map-validation
```

Or copy the folder to `~/.gemini/skills/soil-map-validation` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/soil-map-validation`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccarbajal16/soil-dsm-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/soil-map-validation &&
cp -R "$tmp/plugins/dsm-soil/skills/soil-map-validation" ~/.copilot/skills/soil-map-validation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/soil-map-validation` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ccarbajal16/soil-dsm-skills.git
```

Then copy `soil-dsm-skills/plugins/dsm-soil/skills/soil-map-validation` into your agent's skills folder as `soil-map-validation`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Soil map validation require any scripts or tools?

The skill ships as a single SKILL.md file with no bundled scripts, and it does not set allowed tools.

### When does the skill trigger?

It is meant for reviewing, designing or reporting map accuracy for soil property or SOC predictions, RothC-style simulations and MRV estimates, with triggers such as validate soil map, map accuracy and which metric.

### Which AI clients does Soil map validation work with?

It is a Claude Code plugin skill from the soil-dsm-skills marketplace, so its listed platforms reflect that packaging.

### What does Soil map validation say about small sample sizes?

It flags samples below roughly 150 as fragile for variograms and interval estimates, and suggests checking sample size against a learning-curve plateau around 200 observations.

### How do I install Soil map validation in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/soil-map-validation to use it in all your projects, or to .claude/skills/soil-map-validation in one project. Or install the dsm-soil plugin, which includes it: /plugin marketplace add ccarbajal16/soil-dsm-skills, then /plugin install dsm-soil@soil-dsm-skills.

### Does Soil map validation run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Soil map validation?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Soil map validation?

The closest alternatives to Soil map validation are ML for soil prediction, Digital soil mapping workflow, Soc stock mrv, Soil fertility mapping and Hybrid process ML soc.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [ML for soil prediction](https://ai-powered.com/skills/ml-for-soil-prediction): ML for soil prediction is an open-source agent skill for health and science.
- [Digital soil mapping workflow](https://ai-powered.com/skills/digital-soil-mapping-workflow): Digital soil mapping workflow is an open-source agent skill for health and science.
- [Soc stock mrv](https://ai-powered.com/skills/soc-stock-mrv): Soc stock mrv is an open-source agent skill for health and science.
- [Soil fertility mapping](https://ai-powered.com/skills/soil-fertility-mapping): Soil fertility mapping is an open-source agent skill for health and science.
- [Hybrid process ML soc](https://ai-powered.com/skills/hybrid-process-ml-soc): Hybrid process ML soc is an open-source agent skill for health and science.
- [Soil quality index](https://ai-powered.com/skills/soil-quality-index): Soil quality index is an open-source agent skill for health and science.
- [Ensemble ML for soil](https://ai-powered.com/skills/ensemble-ml-for-soil): Ensemble ML for soil is an open-source agent skill for health and science.
- [Rothc temporal modelling](https://ai-powered.com/skills/rothc-temporal-modelling): Rothc temporal modelling is an open-source agent skill for health and science.

---
Source: https://ai-powered.com/skills/soil-map-validation
