# Hybrid process ML soc

> Hybrid process ML soc is an open-source agent skill for health and science. Guides an agent in building hybrid process-plus-ML models for soil carbon change over time. 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/hybrid-process-ml-soc
- **Repository:** https://github.com/ccarbajal16/soil-dsm-skills
- **GitHub stars:** 13
- **License:** MIT
- **Skill name:** hybrid-process-ml-soc
- **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 combining a process-based soil carbon model such as RothC with a machine learning learner such as random forest, so that predictions capture both where soil organic carbon sits and how it changes across years. The central method, called POML, runs the process model across all locations and years, including unsampled ones, and trains the learner on a weighted blend of real measurements and the simulated trajectory. The weight on the process model is meant to be swept and chosen by cross-validation rather than fixed.

The skill also covers the steps that determine whether the hybrid holds up: getting carbon inputs and calibration right in the process model, using sampling repeated at the same locations where possible, and optionally adding a microbial term to decay. It recommends running a process model and a machine learning model independently first, to see whether their aggregate estimates agree before committing to coupling. Validation guidance centres on folds that keep a location's observation and simulation together, reporting RMSE and concordance, and inspecting the temporal trend the model produces.

The guidance is written for a soil modelling workflow with a process model and a data-driven learner; the file set is a single SKILL.md with no bundled scripts.

## When your agent uses it

> Design and build hybrid soil-organic-carbon models that fuse a process-oriented model (RothC / CENTURY / Millennial) with machine learning (Random Forest / QRF) to predict SOC stock in space AND time — getting ML's spatial accuracy together with the process model's physically-plausible temporal dynamics. Use when a task needs SOC *change* over time (not just a static map), when pure ML gives implausible temporal trends, or when integrating mechanistic knowledge into data-driven soil mapping. Triggers: "hybrid soil carbon model", "process + machine learning", "POML", "space-time SOC", "RothC + random forest", "physically plausible SOC prediction", "knowledge-guided ML for soil".

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

## Features

- **Hybrid training target design:** Explains how to train a learner on both measured soil carbon and process-model simulations using a weighted loss.
- **Process model weight tuning:** Describes sweeping the blend weight between the process model and observations and choosing it by cross-validation.
- **Parallel model comparison:** Recommends running separate models first to see whether their estimates agree before building a coupled model.
- **Carbon input preconditions:** Covers the importance of sound carbon inputs and calibration in the process model before augmentation.
- **Space and time validation:** Lists checks for spatial and temporal skill separately, including plausibility of the predicted trend.
- **Common pitfalls list:** Summarises mistakes such as using process output as a covariate or leaving the blend weight at its default.

## Good for

- Build a space-time soil organic carbon model that gives a plausible trend over decades
- Fuse RothC simulations with random forest predictions for a regional soil carbon map
- Check whether separate process and machine learning models agree before coupling them
- Tune the weighting between a process model and sparse soil measurements
- Plan validation for a soil carbon model that must predict change over time

## 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/hybrid-process-ml-soc`:

```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/hybrid-process-ml-soc &&
cp -R "$tmp/plugins/dsm-soil/skills/hybrid-process-ml-soc" ~/.claude/skills/hybrid-process-ml-soc &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/hybrid-process-ml-soc` inside it instead.

### Codex

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

For one repository only, put the folder in `.agents/skills/hybrid-process-ml-soc` inside it instead.

### Cursor

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

For one project only, put the folder in `.cursor/skills/hybrid-process-ml-soc` 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/hybrid-process-ml-soc
```

Or copy the folder to `~/.gemini/skills/hybrid-process-ml-soc` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/hybrid-process-ml-soc`:

```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/hybrid-process-ml-soc &&
cp -R "$tmp/plugins/dsm-soil/skills/hybrid-process-ml-soc" ~/.copilot/skills/hybrid-process-ml-soc &&
rm -rf "$tmp"
```

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

## FAQ

### What does Hybrid process ML soc help an agent do?

It guides building hybrid soil organic carbon models that combine a process model such as RothC with machine learning, so predictions reflect both spatial patterns and temporal change.

### When should the agent use Hybrid process ML soc?

When a task needs soil carbon change over time rather than a static map, when pure machine learning gives implausible trends, or when mechanistic knowledge should guide a data-driven soil model.

### Does Hybrid process ML soc include scripts or tools?

No scripts are included; the skill is a single SKILL.md with instructions and method guidance.

### What inputs does the method need?

It expects soil carbon observations, process model inputs such as carbon inputs and climate drivers, and covariates for the learner, though the file does not list a fixed data format.

### How do I install Hybrid process ML soc in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/hybrid-process-ml-soc to use it in all your projects, or to .claude/skills/hybrid-process-ml-soc 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 Hybrid process ML soc 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 Hybrid process ML soc?

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 Hybrid process ML soc?

The closest alternatives to Hybrid process ML soc are ML for soil prediction, Rothc temporal modelling, Soil map validation, Digital soil mapping workflow and Ensemble ML for soil.

## 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.
- [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 map validation](https://ai-powered.com/skills/soil-map-validation): Soil map validation 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.
- [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.
- [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.
- [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/hybrid-process-ml-soc
