Skip to content
Skill

Hybrid process ML soc

Guides an agent in building hybrid process-plus-ML models for soil carbon change over time

Hybrid process ML soc is an open-source agent skill for health and science. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
13
Last commit
License
MIT
Listing updated

Similar skills

About Hybrid process ML soc

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".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (8 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

/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:

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.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/hybrid-process-ml-soc to use it in every repository:

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.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/hybrid-process-ml-soc to use it in every project:

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

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

More from ccarbajal16/soil-dsm-skills

  1. Guides an agent through planning a digital soil mapping project from covariates

    • Open source
    • 13 GitHub stars
    • Health and science
  2. Measures whether combining soil ML models can beat the best single model, and how

    • Open source
    • 13 GitHub stars
    • Health and science
  3. Guides an agent in choosing, tuning and interpreting ML models for soil property

    • Open source
    • 13 GitHub stars
    • Health and science
  4. Guides an agent through setting up, calibrating and checking RothC soil carbon models

    • Open source
    • 13 GitHub stars
    • Health and science
  5. Guides an agent through soil organic carbon stock change measurement and crediting

    • Open source
    • 13 GitHub stars
    • Health and science
  6. Guides an agent through multi-property soil fertility maps and composite fertility indices

    • Open source
    • 13 GitHub stars
    • Health and science