/dsm-soil:soil-quality-indexfrom dsm-soil
Builds, validates and interprets a Soil Quality Index (SQI) or Soil Health Index (SHI) from measured soil indicators. Covers MDS selection, scoring, weighting, aggregation and validation for land-use comparison, degradation quantification and fertilisation diagnosis.
Ships in dsm-soil. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Forged from the DSM knowledge wiki. Anchor source: Yuan et al. 2026 — the only study that runs the full factorial of the SQI recipe on one dataset and ranks which choices matter. Framing from Fan et al. 2025 (four decades, 876 papers).
Sibling skills: soil-fertility-mapping (mapping properties across space, then integrating); soil-map-validation (validating spatial predictions). This skill is about constructing and defending the index itself.
An SQI is not a measurement. It is a recipe applied to measurements.
Yuan produced 24 different soil health indices from the same 27 measurements by varying the recipe. They disagree. All are defensible.
Three consequences that govern everything below:
indicators
↓ [1] minimum data set ← LARGEST effect on the answer
↓ [2] indicator scoring
↓ [3] weighting
↓ [4] aggregation ← smallest effect
SQI
↓ [5] validation ← the step everyone skips
Measured by Yuan. Spend your care on the MDS. Do not agonise over the aggregation formula.
The most consequential step. → minimum-dataset-construction
|loading| ≥ 0.9 × max|loading| (within 10% of the
highest).→ soilquality::pca_select_mds(data, within = 0.10, adequacy = "warn"); adequacy on its own is
pca_adequacy(). ⚠️ within defaults to NULL, which is not the rule in step 4 — see §10.
igraph::cluster_louvain()).→ soilquality::na_select_mds(). ⚠️ Louvain is randomised: fix seed, then vary it to check
the selection is real, and pass component = "all" on a disconnected network (§10).
Legitimate when data are incomplete or the question is specific. Chaudhry deliberately rejected PCA because missing data distorts it. Publish the weights.
| Scheme | Grouping | Yuan's fidelity |
|---|---|---|
| MDS | none | lowest |
| RMDS | physical / chemical / biological | middle |
| EMDS ⭐ | five ecosystem functions | R² 0.77 / 0.74, most stable |
The five functions: carbon cycling · nutrient cycling · physical structure stability ·
buffering & filtration · biodiversity maintenance. Pick the highest norm value
N_ik = √(Σ u²_ik·λ_k) per group. → soil-ecosystem-multifunctionality
→ soilquality::assign_function_groups(), then groups = on either selector and
selector = "norm" on the PCA route. Ungrouped selection routinely leaves entire functions
unrepresented — on the package's structured fixture, 2 of 4 covered ungrouped versus 4 of 4
grouped. ⚠️ Nothing in the usual indicator vocabulary measures biodiversity, so most indices
cover four functions; say so instead of implying five.
⚠️ Do not group by physical/chemical/biological. Maaz tested that structure by CFA and found no statistical support for it; Yuan independently found functional grouping beat it. Two methods, two continents, same verdict.
| Situation | Route |
|---|---|
| Standard dataset, conventional reviewable recipe | PCA |
| Non-normal indicators, want fewer + more sensitive | Network analysis |
| Missing data, small n, or a specific functional question | Expert opinion |
| n in the hundreds, want structure and weights from data | CFA/SEM (§6) |
| Any of them | group by ecosystem function |
Cheap robustness check: run two routes, keep the intersection — soilquality::mds_consensus().
On Yuan's tillage data SOC, DOC and soil compaction survived all six variants. ⚠️ An empty
intersection is a finding, not a bug: PCA selects for variance, the network for centrality, and on
a structured dataset they can agree on nothing.
Expect biology. Data-driven selection picks more biological indicators than the literature's usage frequency suggests — Yuan's NA route chose microbial properties for ~55% of its MDS; Theresa's PCA returned phosphatase, urease and MBC.
→ soil-indicator-scoring
First set the direction for every indicator: more is better (SOC, CEC, WHC, enzymes), less is better (bulk density, compaction, salinity, metals), or optimum (pH, and any agronomic window). Getting this wrong inverts that indicator's whole contribution.
LINEAR more: S = X / X_max less: S = X_min / X
NON-LINEAR S = 1 / (1 + (x/x₀)^b) b = −2.5 more · +2.5 less · x₀ = mean
OPTIMUM more-is-better below the band, less-is-better above, 1 inside
⚠️ b = ±2.5 is inherited, not derived (traced to Yu et al.). Treat it as a tunable default and say so.
⚠️ Linear vs non-linear is genuinely unresolved. Yuan finds NL > L (R² 0.65 vs 0.56);
Bilgili et al. 2017 — cited inside Yuan's own introduction — found L > NL. Practice is split.
→ linear-vs-nonlinear-scoring
Compute both. It costs nothing. If your conclusions flip, that is the finding.
→ soilquality::score_sigmoid(x, direction, x0, b = 2.5), then sqi_stability() (§5) to see
whether the ranking moved.
⚠️ Critical limits sit upstream of the function shape. Scoring against your own sample's
X_max is what makes indices incomparable. For fertility, anchor limits to crop yield
(relative cumulative yield regressions); for contamination, to regulatory limits.
→ indicator-critical-limits
→ soilquality::standardize_to_reference(x, reference, direction) scores against a non-degraded
soil instead of your own extremes — the documented escape from incomparability. ⚠️ Its price is a
defensible reference site (same soil type, parent material, climate, undisturbed); a bad one does
not add noise, it silently rescales every index built on it.
Published limits worth reusing: pH optimum 6.5–7.0 (Arshad & Martin) or 5.5–7.0 (Chaudhry); minimum soil depth 50 cm.
→ sqi-aggregation
ADDITIVE SQI = (1/n) Σ sᵢ ← avoid
WEIGHTED ADDITIVE SQI = Σ wᵢ·sᵢ ← the workhorse
AREA SQI = 0.5 · Σ stPᵢ² · sin(2π/n) ← needs NO weights
Area — read this before using it. The formula is the square of each standardised
parameter (verified against Kuzyakov 2020 eq. 2);
the true polygon area would need Σ sᵢ·sᵢ₊₁, which would make the result depend on the
arbitrary order of indicators. Implement the square.
⚠️ As designed it is a RATIO, not an absolute index. Kuzyakov standardises against a
non-degraded reference soil (reference = 1.0) and reports
Area_degraded / Area_non-degraded — his worked figure gives 0.47, "half the function
lost". "Comparison with non-degraded soil is required."
| Use | Standardised against | Comparable across studies? |
|---|---|---|
| Absolute (Yuan's adaptation) | your own sample | no |
| Ratio (Kuzyakov's design) | a non-degraded reference soil | claimed yes ⭐ |
The weight-independence people cite is a consequence of taking a ratio, not of the formula. Use the formula without a reference and the incomparability returns. Optimum-type parameters (pH, permeability) standardise by distance from the optimum; compute per horizon; and note the area route cannot assess multicollinearity, so pair it with a real MDS step.
Do not use the unweighted additive index unless you have proved it discriminates. Maaz: it crushed 94% of plots into the middle 20–80% band vs 61% for a weighted index. Congreves found PCA-weighted 2–10× more sensitive. Xue gained 11 points of accuracy purely by learning weights instead of fixing them.
If you cannot defend your weights, use the area method and remove the step.
→ soilquality::sqi_area(s, reference), or compute_sqi_df(method = "area", reference = ).
⚠️ Note sᵢ² in the area formula — it penalises unevenness, so Area is partially
non-compensatory and is not a monotone rescaling of the weighted sum.
⚠️ Expert weights can be flatly wrong. Sarapatka gave HA/FA the lowest weight (0.65) and SOC the highest (0.9); the SEM then found HA/FA dominated the index (β = 0.77) and SOC did not (β = 0.33). → sqi-weighting-objectivity
Always publish your weights. An SQI without its weights is not reproducible.
An SQI has no ground truth. Three tests, all required. → sqi-validation
| Test | What it checks | How |
|---|---|---|
| Sensitivity | does it separate? | SI = SQI_max / SQI_min, plus the quantile distribution |
| Fidelity | did the MDS lose signal? | R² of MDS-index vs TDS-index |
| External ⭐ | does it predict anything real? | yield, known management contrasts |
⭐ The best validation idea in the corpus: correlation is the wrong diagnostic. Maaz's SEM and additive indices correlated at r = 0.96 — yet one put 94% of sites in the middle band and the other 61%. Report the distribution across your decision categories. An index that calls everything "medium" cannot inform a decision no matter how well it correlates.
Test 4 — stability: recompute under ≥ 2 method combinations. If the ranking flips, report that rather than picking your favourite.
→ soilquality::sqi_validate(x, tds, external) returns all four and warns when more than
middle_band_threshold (default 0.8) of samples land in the middle bands; sqi_stability(a, b)
gives Spearman ρ per pair plus a flag when the best or worst sample changes — a high ρ does
not rescue a changed extreme if the extreme is what you act on. ⚠️ external_r_max (default 0.9)
catches the other trap: an "external" criterion that is really one of the index's own indicators.
What nobody does: put uncertainty on the index. Every SQI in this corpus is a point value. → §8.
→ structural-equation-modelling · lavaan · piecewisesem
⚠️ First: "SEM" names three different estimators. All three corpus papers say "SEM"; they ran three methods with different assumptions, diagnostics and sample-size demands. Pick by n and design, and never judge one by another's standards.
CB-SEM (lavaan) | Piecewise SEM (piecewiseSEM) | PLS-PM (plspm) | |
|---|---|---|---|
| Paper | Maaz (n = 567) | Sarapatka (n = 60) | Wang (8 plots) |
| Latent variables | yes, reflective | no — observed only | composites, reflective or formative |
| Random effects | limited | native, per equation | no |
| Sample size | hundreds | modest | small — its selling point |
| Fit statistic | CFI, RMSEA, SRMR | Fisher's C (p > 0.05 = good) | GoF, R², AVE, composite reliability |
At small n the answer is not "give up" — it is PLS-PM. And ⚠️ never report CFI/RMSEA/SRMR for a PLS-PM fit; those do not exist for it. Report GoF, R² per endogenous construct, composite reliability/AVE for reflective blocks, and bootstrap CIs on the paths.
Two distinct uses. Do not conflate them.
(a) SEM as the index — Maaz, needs n in the hundreds:
CFA → second-order "soil health" factor → adjust indicators for inherent properties
(soilquality::adjust_inherent(), or compute_sqi_df(inherent = ~ soil_type * land_use_history)
— regress on soil type × land-use history so soils aren't penalised for their parent material;
it runs before selection and scoring, and its $r_squared tells you how much of each
indicator was inheritance rather than management)
→ handle clustering (Maaz: ICC > 75%, so cluster-robust or multilevel) → ecdf() to
quantile classes. Fit: CFI > 0.95, SRMR < 0.08, RMSEA < 0.06, ω > 0.7. Factor loadings
are the weights.
(b) SEM to explain the index — Sarapatka, Wang: piecewise SEM with random effects, refined by d-separation, fit by Fisher's C (p > 0.05 = good), then decompose total effects into direct and indirect.
⚠️ The circularity trap. Regressing an SQI on its own components must fit well — Sarapatka's R² = 0.99 is largely structural, and the authors say so. Valid: relative path coefficients, and paths from variables not in the index. Invalid: quoting that R² as predictive skill.
→ soilquality::check_circularity(index, predictors, data, allow_components = FALSE) refuses the
overlap by default and labels the legitimate decomposition use when you allow it. ⚠️ Pass
data — renaming is not laundering: an index built on OM regressed against SOC is the same
measurement × 1.724, and only the correlation check catches it.
| Your question | Route | Anchor |
|---|---|---|
| Which method should I use at all? | run the four-choice decomposition; MDS matters most | Yuan 2026 |
| Compare land uses / management | PCA-MDS → non-linear scoring → weighted additive → ANOVA | Huera-Lucero |
| Quantify degradation | SQI as response; piecewise SEM to find the mediator; don't assume SOC is the signal | Sarapatka |
| Degradation as a fraction of function lost | SQI-area ratio vs a non-degraded reference soil; plus sensitivity/resistance vs SOC change | Kuzyakov |
| Balanced fertilisation | PCA-MDS → linear scoring → WAI → validate against yield; optimise doses, don't maximise | Theresa |
| Soil health scoring at scale | CFA/SEM; adjust for inherent factors; check discrimination | Maaz |
| Fertility index specifically | the fertility branch, incl. non-compensatory threshold routes | soil-fertility-index |
| Land-use pressure at catchment scale | ⚠️ change-of-support; RF ≫ GLM/GAM; expect climate/terrain to dominate | Drewry |
| Estimate indicators from ML + remote sensing | four input blocks (MDS · NIR/Red-Edge indices · climate · management); ANN/RF | Diaz-Gonzalez |
| Interpretable rule-based assessment | W-FARs: Gaussian fuzzification → mine rules → prune → learn rule weights | Xue |
| What indicators do people actually use? | SOM/SOC 610 · pH 467 · N 453 · K 399 · P 366 · texture 303 · MBC 119 | Fan |
Chaudhry 2024, same spectra, same index:
| Route | R² |
|---|---|
Predict 7 properties → score → weight → sum (SQI_p) | 0.23 |
Predict the index directly (SQI_dp) | 0.90 |
Individual property models were fine (Cubist R² 0.35–0.93). The index destroyed the signal.
This is the naive route every spatial SQI takes — map each property with DSM, then compute
the index per pixel. That is SQI_p.
What to do:
⚠️ The direct route's cost: SQI_dp is trained against lab-measured SQI_m, so it is a
data-efficiency win, not a free lunch — and it makes the index a black box, losing the
indicator-level diagnosis that made an SQI actionable. State the trade-off.
→ composite-index-error-propagation
SOC/SOM is the field's most-used indicator by a wide margin (n=610 of 876 papers). Two independent papers show it fails alone:
Two mechanisms, same conclusion: SOC alone is not a soil quality index.
| Package | Covers | Use it for |
|---|---|---|
SQIpro (CRAN) | six index methods — linear, regression, PCA, fuzzy logic, entropy weighting, TOPSIS; scoring (score_more/less/optimum(bell)/trapezoid/custom); select_mds (PCA + VIF); sqi_anova; sqi_sensitivity (leave-one-out); six plot_* incl. plot_radar | the conventional routes, with the widest method menu |
SQI (CRAN) | linear · regression · PCA | a lighter subset of the same ground |
| soilquality ≥ 2.3.0 (Carbajal, MIT, GitHub) | the corpus methods CRAN lacks — area/ratio aggregation, reference-soil standardisation, network-analysis MDS, functional (EMDS) grouping, distribution-based validation, circularity checking, inherent-property adjustment — plus AHP weighting with a Consistency Ratio | almost everything §2–§6 recommends that CRAN cannot run |
⚠️ Check the version. As of v2.3.0 soilquality implements nearly every method this
section previously listed as having no packaged implementation. Below 1.1.0 it is the PCA-MDS →
AHP → linear → weighted-additive route only.
soilquality ≥ 2.3.0)compute_sqi_df(
df,
inherent = ~ soil_type * land_use_history, # §6 adjust BEFORE selecting and scoring
select = c("pca", "network", "none"), # §2 "none" builds the TDS index
network_args = list(seed = 1, component = "all"),
pairwise_df = NULL, # §4 the ONLY weight entry point - see below
method = c("weighted", "area"), # §4
reference = NULL # §4 supply one -> Kuzyakov RATIO
)
Every step is also usable on its own:
# §2 minimum data set
pca_select_mds(data, var_threshold = 0.05, loading_threshold = 0.5,
within = NULL, # <- set 0.10 for the published rule; see below
groups = NULL, selector = c("loading", "norm"),
adequacy = c("report", "warn", "ignore"))
na_select_mds(data, r_min = 0.60, p_max = 0.01, centrality_min = 0.6, within = 0.10,
screen = TRUE, component = c("largest", "all"), groups = NULL, seed = 1L)
mds_consensus(data) # the intersection of both routes
assign_function_groups(properties) # onto soil_function_groups (the five functions)
pca_adequacy(data) # KMO + Bartlett
# §3 scoring
score_higher_better() / score_lower_better() / score_optimum() / score_threshold()
score_sigmoid(x, direction = c("higher","lower"), x0 = NULL, b = 2.5) # 1/(1+(x/x0)^b)
standardize_to_reference(x, reference, direction = c("higher","lower","optimum"))
# rule constructors for compute_sqi_*(): higher_better(), lower_better(), optimum_range(),
# threshold_scoring(), sigmoid_scoring(), reference_scoring()
# §4 weight and aggregate
ratio_to_saaty(c(SOC = 3, pH = 1, BD = 2)) # importance ratios -> named pairwise matrix
ahp_weights(pairwise, indicators = NULL) # eigenvector weights + CR (want CR < 0.10)
create_ahp_matrix(indicators, mode = "interactive", pairwise = NULL)
# ^ ⚠️ the default mode PROMPTS AT THE CONSOLE. Never call it in an unattended or agent run -
# it will block. Pass mode = "matrix", pairwise = <matrix> to use a pre-built one. It is a
# data-entry helper, NOT a step between the two functions above.
sqi_area(s, reference = NULL) # 0.5*sum(s^2)*sin(2*pi/n)
# §5 validation
sqi_validate(x, tds = NULL, external = NULL,
middle_band_threshold = 0.8, external_r_max = 0.9)
sqi_stability(index_a, index_b, ...) # does the RANKING survive a change of recipe?
plot_sqi_validation()
# §6 guards
check_circularity(index, predictors, data = NULL, allow_components = FALSE, r_max = 0.9)
adjust_inherent(data, indicators, inherent = ~ soil_type * land_use_history)
sensitivity_resistance(degraded, reference, carbon = "SOC") # Kuzyakov's second method
Fixtures, and which is for what. soil_data (50 samples) has almost no covariance
structure — fine for scoring, weighting and aggregation, useless for any method that reads
the structure between indicators. soil_structured (120 samples, 40 pairs at |ρ| ≥ 0.6) is
the one for na_select_mds(), mds_consensus() and grouping. soil_inherent (180 samples)
carries soil type, land-use history, management and a plot id, with ICC 0.81–0.99 — the
non-independence Maaz warned about, made visible.
pca_select_mds(within = NULL) — the default keeps only the single highest-loading
indicator per component. That is the package's historical behaviour, not the literature's
rule. Pass within = 0.10 for "every indicator within 10% of the maximum loading" (§2
step 4). loading_threshold is an absolute floor and within a relative band — different
mechanisms, combinable.na_select_mds() is not deterministic. Louvain is randomised; six runs over identical
input returned two different data sets during the package's development. seed = 1 makes a
run reproducible — it does not make a selection robust. Vary the seed and find out. On a
disconnected network pass component = "all", or eigenvector centrality goes to ~0
outside the dominant component and a genuine correlated clique is discarded whole.adjust_inherent() defaults to method = "residual" — calling it is the deliberate
act. The pipeline never adjusts unless you pass inherent = to compute_sqi_df(). And do
not adjust by reflex: if your question is which soil is inherently better (siting,
valuation, capability), adjusting destroys the answer you came for.Two more worth knowing. igraph is in Suggests, not Imports — the package is MIT and a
hard dependency on GPL-2+ igraph would pull the combined work into GPL on distribution — so
the network route degrades gracefully when it is absent. And the biodiversity slot in
soil_function_groups ships empty on purpose: nothing in the indicator vocabulary measures
it, so an index built from these groups covers four functions, not five. Report it that way.
The list is now short. Everything else this skill recommends is runnable — see the pipeline above.
| Method | Why it matters | Section |
|---|---|---|
CFA loadings as index weights (weights_from_cfa()) | the one route that derives weights from a measurement model instead of from assertion. lavaan gives the loadings; carrying them into the index is possible today, but the result mislabels them — see the note below | §6a |
| Uncertainty on the index | every SQI in this corpus is a point value. The method exists (monte-carlo-uncertainty-propagation via spup); a worked example does not | §8 |
| SQI-aware path modelling beyond the circularity guard | lavaan / piecewiseSEM / plspm estimate perfectly well, but none knows what an SQI is. Treat the route as documentation to follow, not a function to call | §6b |
| W-FARs with learned rule weights | SQIpro::sqi_fuzzy() is fuzzy scoring, not mined-and-weighted association rules | §7 |
How to use externally derived weights today (CFA loadings, entropy, CRITIC, centrality from
another tool — anything computed outside the package). compute_sqi_df() has exactly three weight
routes: an AHP pairwise_df, network centrality when select = "network", or equal weights. There
is no weights = argument. So route your vector through the pairwise matrix:
w <- c(SOC = 0.82, TN = 0.74, BD = 0.41) # e.g. standardised CFA loadings
sqi <- compute_sqi_df(df, pairwise_df = ratio_to_saaty(w))
The round trip is exact: ratio_to_saaty() builds p[i,j] = w[i]/w[j], which is rank-1 and
perfectly consistent, and ahp_weights() takes the principal eigenvector — so the weights come
back as w / sum(w), unchanged.
⚠️ Two things the output then gets wrong, and you must correct them in your reporting. The
returned $CR is 0 by construction — it is not evidence of consistent judgement, because CR
measures agreement among expert pairwise comparisons and there were none. And the result calls
them AHP weights when they are not. State the real provenance of your weights in words; §4's rule
("always publish your weights") means the method that produced them, not just the numbers.
Sigmoidal scoring is no longer a gap anywhere. soilquality::score_sigmoid() implements
1/(1+(x/x₀)^b) with b exposed as a parameter, and SQIpro covers the same space via
score_optimum (bell curve), score_trapezoid and score_custom.
⚠️ And the observation that used to sit here — that SQIpro::plot_radar() draws the radar
polygon while nothing measures it — no longer holds: soilquality::sqi_area() measures it,
with the reference-soil ratio.
Design
Build
b value stated if sigmoidalValidate
Report
weights_from_cfa() is still unbuilt, so the CFA route
of §6a ends at the loadings and has to be wired into the index by hand. See §10.soilquality ≥ 2.3.0. This skill no
longer recommends methods the ecosystem cannot execute — verify the version before assuming
otherwise.Portable build from the DSM knowledge wiki (the source of truth). Obsidian cross-references were flattened for standalone use; regenerate with build.ps1.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ccarbajal16/soil-dsm-skills --plugin dsm-soil12 skills in this plugin
/digital-soil-mapping-workflowRun 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"./ensemble-ml-for-soilDecide whether to combine machine-learning models at all, and if so how — by measuring the gain available before building any combiner. Covers the ambiguity/diversity ceiling, the weighting spectrum (simple average, R²-weighted, Bates–Granger, AIC/BIC, NNLS/SuperLearner, Granger–Ramanathan, learned meta-models, attention, per-pixel selection), out-of-fold stacking under spatial CV, cross-fitting the combiner, voting for classification, and significance testing of the margin. Use when someone proposes an ensemble, reports an ensemble gain, or asks whether their averaging scheme is "too simple". Triggers: "ensemble machine learning", "model stacking", "stacked generalisation", "SuperLearner", "meta-learner", "meta-model", "weighted average ensemble", "R2-weighted ensemble", "simple average ensemble", "Bates-Granger", "Granger-Ramanathan", "NNLS weights", "non-negative least squares", "caretStack", "mlr3pipelines stacking", "voting ensemble", "hard voting", "soft voting", "blending", "bagging vs boosting vs stacking", "ensemble gain", "does stacking help", "combine RF and XGBoost", "which model to combine", "base learner diversity", "error correlation", "out-of-fold predictions", "level-one dataset", "landmap", "MACHISPLIN", "spatial ensemble", "per-pixel model selection", "combine my model with SoilGrids"./hybrid-process-ml-socDesign 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"./ml-for-soil-predictionChoose, tune, and reason about machine-learning models for predicting soil properties (SOC, texture, pH, …) — Random Forest, Quantile Regression Forests, gradient boosting, and deep learning — including per-pixel uncertainty and interpretability. Use when the task is the ML modelling craft itself: which algorithm, how to tune it, how to get honest uncertainty, whether deep learning is worth it, why an ML model underperforms. Triggers: "random forest for soil", "QRF", "which ML model", "deep learning soil", "CNN / ANN soil carbon", "hyperparameters", "feature importance / SHAP", "prediction interval", "ML model gives bad R²"./rothc-temporal-modellingSet up, initialize, calibrate, validate, and interpret the RothC (Rothamsted Carbon) model — and CENTURY-family process models — for simulating soil organic carbon stock and its change over time. Use when modelling SOC dynamics under management or climate scenarios, initializing RothC pools (spin-up), calibrating decay constants, choosing carbon inputs, adapting RothC to a region/practice, or judging whether a RothC result is trustworthy. Triggers: "RothC", "CENTURY / CenW", "soil carbon model", "carbon pools DPM/RPM/BIO/HUM/IOM", "spin-up / initialize SOC pools", "calibrate RothC", "SOC under climate change", "carbon input estimation", "first-order decay"./soc-stock-mrvQuantify, report, and verify soil-organic-carbon stock and its change over time for carbon markets / MRV (Monitoring, Reporting, Verification) — computing SOC stock, estimating change and its uncertainty at the field/project support, and applying the uncertainty deduction that determines creditable tons. Use when a task involves soil carbon crediting, an MRV framework (VM0042, VT0014), SOC stock-change detectability, or reporting SOC with defensible uncertainty. Triggers: "SOC MRV", "soil carbon credits", "carbon farming verification", "SOC stock change", "uncertainty deduction", "how much SOC can we credit", "monitoring reporting verification soil carbon".Other plugins' skills for the same job