# Digital soil mapping workflow

> Digital soil mapping workflow is an open-source agent skill for health and science. Guides an agent through planning a digital soil mapping project from covariates. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ccarbajal16/soil-dsm-skills/tree/main/plugins/dsm-soil/skills/digital-soil-mapping-workflow
- **Repository:** https://github.com/ccarbajal16/soil-dsm-skills
- **GitHub stars:** 13
- **License:** MIT
- **Skill name:** digital-soil-mapping-workflow
- **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 walks an agent through a full digital soil mapping project, starting with framing the target property, depth, units and spatial support, and then choosing the scale of the study. It covers assembling scorpan-style covariates across climate, relief, organisms, parent material and position, harmonizing layers to one grid, and reducing redundancy with correlation filtering, VIF, recursive feature elimination or Boruta. It also covers sampling design, including cLHS, probability sampling and sample size checks based on learning curves.

The workflow steers model choice by data regime rather than defaulting to one algorithm. It compares random forests, quantile regression forests, geographically weighted regression, regression kriging and spatiotemporal options, and it emphasizes judging candidates on independent holdouts or cross-validation. It also addresses spatial autocorrelation diagnostics using Moran's I on residuals, interpretation with variable importance and SHAP, and producing maps with prediction intervals and extrapolation-risk layers.

The skill is written as guidance and a checklist, with no bundled scripts. It expects a project with environmental covariate rasters and georeferenced soil observations, and it points to a separate validation skill for the validation stage.

## When your agent uses it

> Run a digital soil mapping (DSM) project end to end — from framing the target and assembling scorpan covariates, through sampling design, model selection, handling spatial autocorrelation, training, and producing a map with calibrated uncertainty. Use when planning or reviewing any project that predicts a soil property (SOC, texture, pH, …) across space (and optionally time) from environmental covariates. Triggers: "digital soil mapping", "DSM", "predict soil property from covariates", "soil map", "scorpan", "which model for soil mapping", "covariates for soil", "map SOC / soil carbon".

## 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/digital-soil-mapping-workflow)
- [License: MIT](https://github.com/ccarbajal16/soil-dsm-skills/tree/HEAD/plugins/dsm-soil/skills/digital-soil-mapping-workflow)

## Features

- **Target and scale framing:** Defines the soil property, depth, units and reporting support, and explains how extent changes which covariates matter.
- **scorpan covariate assembly:** Organizes environmental covariates by soil-forming factor and advises on grid harmonization and redundancy reduction.
- **Sampling design guidance:** Covers cLHS, probability sampling, legacy data representativeness and sizing sample counts from learning curves.
- **Regime-based model selection:** Matches candidate models such as random forest, GWR, regression kriging and CNNs to data size and terrain complexity.
- **Spatial autocorrelation checks:** Describes diagnosing residual Moran's I and applying spatially aware algorithms or spatial validation.
- **Uncertainty and extrapolation mapping:** Explains producing prediction intervals, extrapolation-risk layers and area-aggregated uncertainty for reporting.

## Good for

- Plan a soil organic carbon mapping project for a regional area
- Pick covariates for predicting soil pH from environmental layers
- Decide how many soil samples a mapping project needs
- Review a digital soil map for overfitting and missing uncertainty
- Choose between random forest and kriging for a texture 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/digital-soil-mapping-workflow`:

```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/digital-soil-mapping-workflow &&
cp -R "$tmp/plugins/dsm-soil/skills/digital-soil-mapping-workflow" ~/.claude/skills/digital-soil-mapping-workflow &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/digital-soil-mapping-workflow` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/digital-soil-mapping-workflow` 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/digital-soil-mapping-workflow &&
cp -R "$tmp/plugins/dsm-soil/skills/digital-soil-mapping-workflow" ~/.agents/skills/digital-soil-mapping-workflow &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/digital-soil-mapping-workflow` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/digital-soil-mapping-workflow` 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/digital-soil-mapping-workflow &&
cp -R "$tmp/plugins/dsm-soil/skills/digital-soil-mapping-workflow" ~/.cursor/skills/digital-soil-mapping-workflow &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/digital-soil-mapping-workflow` 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/digital-soil-mapping-workflow
```

Or copy the folder to `~/.gemini/skills/digital-soil-mapping-workflow` yourself.

### VS Code

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

```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/digital-soil-mapping-workflow &&
cp -R "$tmp/plugins/dsm-soil/skills/digital-soil-mapping-workflow" ~/.copilot/skills/digital-soil-mapping-workflow &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/digital-soil-mapping-workflow` 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/digital-soil-mapping-workflow` into your agent's skills folder as `digital-soil-mapping-workflow`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Digital soil mapping workflow change in the agent's behavior?

It gives the agent a structured workflow for digital soil mapping projects, covering framing, covariates, sampling, model choice, autocorrelation, training, validation handoff and uncertainty mapping.

### When does Digital soil mapping workflow trigger?

It triggers on requests about digital soil mapping, DSM, scorpan, soil maps, soil carbon mapping, or predicting a soil property from covariates across space or time.

### Does Digital soil mapping workflow include scripts or tools?

No. The skill is a single SKILL.md with guidance and no bundled scripts.

### Which clients does Digital soil mapping workflow support?

The content does not tie it to specific clients, so it follows the shared agent skills format.

### How do I install Digital soil mapping workflow in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/digital-soil-mapping-workflow to use it in all your projects, or to .claude/skills/digital-soil-mapping-workflow 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 Digital soil mapping workflow 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 Digital soil mapping workflow?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Digital soil mapping workflow?

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

## Where this comes from

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

## Alternatives

- [Soil map validation](https://ai-powered.com/skills/soil-map-validation): Soil map validation 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.
- [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.
- [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.
- [Soc stock mrv](https://ai-powered.com/skills/soc-stock-mrv): Soc stock mrv 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.
- [Soil quality index](https://ai-powered.com/skills/soil-quality-index): Soil quality index is an open-source agent skill for health and science.

---
Source: https://ai-powered.com/skills/digital-soil-mapping-workflow
