/dsm-soil:soc-stock-mrvfrom dsm-soil
Quantifies, reports, and verifies soil organic carbon stock change for carbon markets (MRV). Computes SOC stock, estimates change uncertainty at field/project level, and applies uncertainty deduction for creditable tons.
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 (20 sources). The wiki is the source of truth. Key pages: soc-mrv, soc-stock, uncertainty-aggregation, quantile-regression-forests, sampling-design, accuracy-metrics. Lean on soil-map-validation for validation and digital-soil-mapping-workflow for the mapping.
Credible soil-carbon credits require Monitoring, Reporting, and Verification: quantify SOC stock change, quantify its uncertainty, and deduct a conservative amount so credited tons are defensible. The whole game is honest uncertainty at the support you credit (field/project), not per-pixel prediction.
stock = SOC[%] × BD × thickness, summed
over depth to a common interval, corrected for coarse fragments. Keep the protocol fixed
— cross-study stock numbers are only comparable under the same BD/depth/definition.Deductions are computed from within-model prediction error. That budget has a hole in it, and Wang 2024 measures how big it can be: two ML models and a process model over Australian SOC stocks, all validated at R² > 0.8 out-of-sample, producing continental estimates from 24.29 to 38.15 t ha⁻¹ — a 57% spread.
⚠️ Pointwise validation does not certify an aggregate. Errors that are small and unbiased at a point can accumulate systematically across millions of pixels, and a metric computed at the observation support says nothing about the support you are reporting on. → uncertainty-aggregation · areal-data-support
What to do about it, cheaply: run a second, genuinely different model — a different paradigm, not a different hyperparameter — over the same data, and report the between-model spread alongside your within-model interval. If the two models disagree by more than your deduction, the deduction is not the binding constraint on your claim and saying so is more defensible than not knowing. → predictive-uncertainty · hybrid-po-ml
Core: Wadoux 2026 (DSM MRV, uncertainty aggregation, deduction). Support: Lai 2026 & Tian
2025 (aggregation, temporal difficulty), Hengl 2026 (scale), Shi 2026 (sequestration
potential), Bouasria 2023 (learning-curve sample sizing; cLHS variance vs mean). Full
citations in the wiki sources/.
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
soil-carbon, carbon-credits, mrv, soc-stock, uncertainty-quantification
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"./soil-fertility-mappingProduce national/regional maps of multiple soil fertility properties and nutrients from harmonized legacy data with machine learning, and integrate them into a composite Soil Fertility Index (SFI) with honest, propagated uncertainty. Use when the goal is a multi-property fertility product (texture, pH, CEC, OC, N, P, K, Ca, BD) at broad scale — a GSNmap-style national soil-nutrient assessment, a fertility/soil-quality index, or region-specific management diagnosis. Triggers: "soil fertility map", "soil fertility index", "SFI", "nutrient mapping", "GSNmap", "map N P K", "soil quality index", "national soil property maps", "map CEC / pH / texture".Other plugins' skills for the same job