
Soil quality index
Builds and checks soil quality indices from measured soil indicators
Soil quality index 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 Soil quality index
This skill guides an agent through constructing a Soil Quality Index or Soil Health Index as a composite score of soil condition. It covers choosing a minimum data set of indicators by PCA, network analysis, expert judgement or ecosystem-function grouping, setting the scoring direction and curve for each indicator, weighting and aggregating them, and then testing whether the index actually separates sites through sensitivity, fidelity, external and stability checks.
The material also explains the trade-offs the skill treats as decisive: the choice of minimum data set usually matters more than the aggregation formula, indices built from sample extremes are not comparable across studies, and an index chained from predicted soil properties can lose most of its signal. It points to R tooling for the steps, including the soilquality package and CRAN packages such as SQIpro and SQI, and warns about functions that prompt for input or need a fixed random seed.
The skill expects tabular soil measurements with one row per sample and R as the working language. Some methods depend on additional inputs such as a non-degraded reference soil, external yield data or pairwise expert comparisons.
When your agent uses it
Build, validate and interpret a Soil Quality Index (SQI) or Soil Health Index (SHI) from measured soil indicators — selecting a minimum data set, scoring indicators, weighting and aggregating them, and proving the index actually discriminates. Covers land-use and management comparison, degradation quantification, balanced-fertilisation diagnosis, structural equation modelling of soil health and its drivers, fuzzy rule-based assessment, and estimating indicators from machine learning and remote sensing. Use whenever the goal is a composite statement of soil condition rather than a map of one property. Triggers: "soil quality index", "SQI", "soil health index", "SHI", "minimum data set", "MDS", "indicator scoring", "soil health assessment", "soil degradation index", "SEM soil health", "soil quality indicators", "land use soil quality", "fuzzy association rules soil", "weighted additive index", "which indicators for soil quality".
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 (30 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-skillsOr copy only this skill to ~/.claude/skills/soil-quality-index:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccarbajal16/soil-dsm-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/soil-quality-index &&
cp -R "$tmp/plugins/dsm-soil/skills/soil-quality-index" ~/.claude/skills/soil-quality-index &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/soil-quality-index inside it instead.
Copy the skill folder to ~/.agents/skills/soil-quality-index 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/soil-quality-index &&
cp -R "$tmp/plugins/dsm-soil/skills/soil-quality-index" ~/.agents/skills/soil-quality-index &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/soil-quality-index inside it instead.
Copy the skill folder to ~/.cursor/skills/soil-quality-index 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/soil-quality-index &&
cp -R "$tmp/plugins/dsm-soil/skills/soil-quality-index" ~/.cursor/skills/soil-quality-index &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/soil-quality-index inside it instead.
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/soil-quality-indexOr copy the folder to ~/.gemini/skills/soil-quality-index yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/soil-quality-index:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccarbajal16/soil-dsm-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/soil-quality-index &&
cp -R "$tmp/plugins/dsm-soil/skills/soil-quality-index" ~/.copilot/skills/soil-quality-index &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/soil-quality-index inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ccarbajal16/soil-dsm-skills.gitThen copy soil-dsm-skills/plugins/dsm-soil/skills/soil-quality-index into your agent's skills folder as soil-quality-index. Agents that support SKILL.md read one folder per skill.
What it does
- Minimum data set selection
- Covers PCA, network-analysis and expert routes for choosing which indicators enter the index, with grouping by ecosystem function.
- Indicator scoring curves
- Sets linear, sigmoidal and optimum scoring by indicator direction, including standardisation against a reference soil.
- Weighting and aggregation
- Describes weighted additive and area-based aggregation and how to publish the weights used.
- Index validation tests
- Checks sensitivity, fidelity to the full dataset, correlation with external criteria and ranking stability.
- Structural equation guidance
- Explains when to use CFA, piecewise SEM or PLS path models for soil health and its drivers, and the circularity trap.
- R implementation notes
- Lists the soilquality functions and their defaults, plus cautions about randomised network selection and console prompts.
Good for
- Compare soil health under different land uses or farming practices
- Select a minimal set of soil indicators for a composite quality score
- Quantify soil degradation relative to a non-degraded reference site
- Test whether a soil health index separates sites into useful categories
- Diagnose balanced fertilisation needs using a weighted soil index
Soil quality index FAQ
When does Soil quality index trigger?
It applies when the goal is a composite statement of soil condition, not a map of a single property, and triggers on terms such as soil quality index, SQI, soil health index, minimum data set and weighted additive index.
Does Soil quality index need any tools or packages?
The skill's guidance assumes R. It refers to the soilquality package (version 2.3.0 or later) and to CRAN packages SQIpro and SQI for the conventional methods.
Are SQI values comparable between studies?
Usually not, because scoring is relative to each study's own sample extremes. The exception is a ratio against a non-degraded reference soil, which the skill says can be compared across studies.
Are there scripts or bundled files?
The skill folder contains only its SKILL.md file and no scripts.
How do I install Soil quality index in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/soil-quality-index to use it in all your projects, or to .claude/skills/soil-quality-index 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 Soil quality index 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 Soil quality index?
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 Soil quality index?
The closest alternatives to Soil quality index are Soil fertility mapping, Soil map validation, ML for soil prediction, Digital soil mapping workflow and Soc stock mrv.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ccarbajal16/soil-dsm-skills

Guides an agent through planning a digital soil mapping project from covariates
- Open source
- 13 GitHub stars
- Health and science

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

Guides an agent in building hybrid process-plus-ML models for soil carbon change over time
- Open source
- 13 GitHub stars
- Health and science

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

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

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