/zd-models:landuse-classifyfrom Zaraat Dost · Models
Trains or runs an XGBoost land-use classifier on temporal Sentinel-2 features with T-minus alignment, unified parcel/sub-parcel inference, and predictions.gpkg output.
Ships in Zaraat Dost · Models. 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.
Classes (default): Agriculture, Sugarcane, Builtup, Open Land, Road, Waterbody, Orchard. Keep the label encoder with the model.
Model bundle (joblib) = {model, label_encoder, feature_columns, scaler?, config{period_days, target_year, bands, indices}, trained_at, git_sha}. Stored on Hugging Face under a versioned directory; load with hf_hub_download using HF_TOKEN from the environment.
T-minus alignment. Training rows are anchored on the ground-truth date: period t−k means k periods before the label date. At inference, anchor on the latest valid Sentinel-2 date for the AOI and build the same offsets, so phenology aligns across years.
Training
feature_matrix.parquet on parcel_uid; drop Isolation-Forest outliers.XGBClassifier with early stopping on a validation fold; class weights for minority classes (Waterbody, Orchard).Inference (unified)
sub-parcelling) → features for both → predict → unit_uid results with parent_uid.predictions.gpkg (geometry, ids, class, probability, top-2 alternative) and a summary CSV by class and district.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub adilmunawar/zd-claude-plugin --plugin zd-models6 skills in this plugin
/boundary-inferenceChunked low-RAM boundary model inference over an AOI from XYZ tiles: tile cache, patch scan, Hanning blending, hysteresis, merged COG./sam2-boundariesZero-shot field boundaries with SAM2: tiled inference, seam stitching, cleanup, GeoJSON, alignment./script-to-packageTurn a constants-at-top pipeline script into a configured, resumable, tested CLI./spectral-featuresPer-parcel Sentinel-1/2 feature matrix from Earth Engine: 15-day composites, band and index set, chunked reduceRegions, batch parquet, resume.Other plugins' skills for the same job