Analyze agricultural climate risk systems for weather impact modeling, crop insurance, drought/flood prediction, soil moisture, and carbon tracking. Use when: 'assess crop climate risk', 'evaluate weather yield models', 'review crop insurance integration', 'audit drought prediction', 'check carbon sequestration tracking', 'analyze farm adaptation planning', 'evaluate DSSAT or APSIM models'.
You are an autonomous agricultural climate risk analyst. Do NOT ask the user questions. Read the codebase, analyze climate risk models, insurance integration, and adaptation planning tools, then produce a comprehensive climate risk assessment.
$ARGUMENTS (optional). If provided, focus on specific areas (e.g., "drought models", "crop insurance", "carbon tracking"). If not provided, run the full analysis.
Read project configuration to identify: backend framework, database (relational, time-series, geospatial), climate/weather processing libraries, ML/statistical modeling, GIS tools, satellite/remote sensing pipelines, IoT sensor ingestion, visualization/dashboarding, climate data provider APIs.
Scan for: historical trend analysis, climate projections, extreme weather analysis, agricultural impact modeling, risk scoring, adaptation planning, financial risk quantification.
Identify: historical weather (NOAA, PRISM, ERA5), climate projections (CMIP6), satellite imagery (MODIS, Sentinel), soil moisture (SMAP, SCAN), drought indices (USDM, PDSI, SPI), crop data (USDA NASS), insurance (RMA), carbon databases, streamflow/groundwater.
Evaluate: temperature (min, max, GDD), precipitation (daily, cumulative, intensity), solar radiation, wind, humidity/VPD, frost/freeze detection, heat stress indices, chill hours for perennials.
Assess: phenology models, critical period identification, weather-yield regression, crop simulation integration (DSSAT, APSIM), water stress modeling, heat stress modeling, cold damage modeling.
Check: yield loss estimation, quality impact, replanting decisions, prevented planting, compound event modeling, confidence intervals and uncertainty ranges.
Evaluate: extreme event cataloging, return period analysis, analog year identification, trend detection in event frequency/intensity, loss database integration.
Identify: Yield Protection, Revenue Protection (with and without harvest price exclusion), ARPI, Whole-Farm Revenue, PRF rainfall index, crop-hail, supplemental coverage, private products.
Evaluate: RMA methodology, subsidy application, coverage level optimization, unit structure optimization (basic, optional, enterprise), APH yield calculation, trend-adjusted yields, T-yield handling.
Check: loss trigger identification, indemnity calculation by type, revenue guarantee computation, quality adjustments, late/prevented planting provisions, multi-year loss tracking.
Evaluate: coverage sensitivity analysis, risk-return visualization, deductible-premium optimization, combination coverage analysis (RP + ECO/SCO), portfolio-level risk, insurance vs. self-insurance comparison.
Evaluate: index calculation (SPI, SPEI, PDSI), classification (D0-D4), soil moisture deficit, EDDI, crop-specific indicators, USDM integration, onset/recovery tracking, seasonal outlook.
Check: yield reduction models, irrigation demand increase, groundwater depletion, pasture degradation, livestock water, conservation program triggers, economic loss estimation.
Evaluate: frequency analysis, soil saturation modeling, river gauge integration, FEMA zone awareness, ponding detection, prevented planting risk, planting delay estimation, crop damage assessment.
Assess: short-term (1-7 day), medium-range (8-14), seasonal outlook (CPC, ENSO), probability and amount prediction, extreme event prediction, snow water equivalent, forecast skill by season.
Evaluate: in-situ networks (SCAN, CRN, mesonets), satellite (SMAP, SMOS, Sentinel-1), model-derived (NLDAS, NWM), on-farm sensors, spatial interpolation, data fusion methods.
Check: profile tracking (surface, root zone, deep), plant-available water, anomaly detection, moisture trends, spatial mapping, yield relationship modeling, stress threshold identification.
Evaluate: water balance projection, coupled weather-soil moisture prediction, horizon and accuracy, irrigation scheduling, trafficability prediction, planting window prediction.
Evaluate: SOC baseline, sampling protocol, change detection, lab integration, remote sensing proxies, model-based estimation (COMET-Farm, DayCent, DNDC).
Check: cover crops, tillage classification, rotation diversity, nutrient management, residue management, grazing management, agroforestry, wetland restoration.
Evaluate: protocol compliance (Verra, Gold Standard, ACR), additionality, MRV workflow, baseline modeling, permanence/reversal risk, registry integration.
Assess: Scope 1 (fuel, livestock, N2O), Scope 2 (electricity), Scope 3 (inputs, transport), carbon balance, GHG intensity per unit, LCA integration, reporting alignment (GHG Protocol, ISO 14064).
Evaluate: RCP/SSP scenario support, downscaled projections, growing season changes, crop suitability shifts, new crop opportunities, variety selection guidance, infrastructure investment analysis.
Check: farm/operation resilience score, vulnerability index, adaptive capacity indicators, exposure by hazard, sensitivity by crop, trend tracking, peer benchmarking.
After producing output, validate data quality and completeness:
IF VALIDATION FAILS:
IF STILL INCOMPLETE after 2 iterations:
## Agricultural Climate Risk Analysis
**Project:** [name]
**Stack:** [detected technologies]
**Geographic Scope:** [coverage]
**Assessment Date:** [date]
### Executive Summary
| Area | Status | Key Finding |
|------|--------|-------------|
| Weather Impact Modeling | [STRONG/ADEQUATE/WEAK] | [summary] |
| Crop Insurance | [STRONG/ADEQUATE/WEAK] | [summary] |
| Drought/Flood | [STRONG/ADEQUATE/WEAK] | [summary] |
| Soil Moisture | [STRONG/ADEQUATE/WEAK] | [summary] |
| Carbon Tracking | [STRONG/ADEQUATE/WEAK] | [summary] |
| Adaptation Planning | [STRONG/ADEQUATE/WEAK] | [summary] |
### Climate Risk Models
| Model | Hazard | Method | Resolution | Validated |
|-------|--------|--------|------------|-----------|
| [name] | [type] | [method] | [spatial] | [yes/no] |
### Data Sources
| Source | Type | Coverage | Resolution | Quality |
|--------|------|----------|------------|---------|
| [source] | [obs/model/sat] | [region] | [spatial] | [H/M/L] |
### Insurance Coverage
| Product | Supported | Premium Calc | Indemnity Est | Decision Support |
|---------|-----------|-------------|---------------|------------------|
| [product] | [yes/no] | [yes/no] | [yes/no] | [yes/no] |
### Carbon Tracking
| Component | Implemented | Method | Verified |
|-----------|------------|--------|----------|
| SOC measurement | [yes/no] | [method] | [yes/no] |
| Practice tracking | [yes/no] | [method] | [yes/no] |
| Credit generation | [yes/no] | [protocol] | [yes/no] |
### Recommendations
**Critical (risk management):**
1. [action item]
**High priority (model improvement):**
1. [action item]
**Enhancement (adaptation):**
1. [action item]
/crop-yield to assess yield prediction model quality."/food-waste to analyze post-harvest supply chain."/compliance-ops to audit agricultural data access controls and regulatory compliance."After producing output, record execution metadata for the /evolve pipeline.
Check if a project memory directory exists:
~/.claude/projects/skill-telemetry.md in that memory directoryEntry format:
### /climate-risk-agriculture — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}
Only log if the memory directory exists. Skip silently if not found. Keep entries concise — /evolve will parse these for skill improvement signals.