Skip to content
Back to skills

Geo Infer Risk

ASecurity

Geospatial risk modeling including catastrophe models, exposure analysis, and underwriting. Use when assessing spatial risk, building catastrophe models, analyzing exposure/hazard/vulnerability, or computing portfolio risk metrics.

  • 71 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 27, 2026
testing-securitypythonapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add FDU-INS/Insurance-Skills --skill geo-infer-risk --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Geo Infer Risk?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Geo Infer Risk
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fdu-ins-geo-infer-risk/badge)](https://www.skillsdirectory.com/skills/fdu-ins-geo-infer-risk)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: geo-infer-risk
description: Geospatial risk modeling including catastrophe models, exposure analysis, and underwriting. Use when assessing spatial risk, building catastrophe models, analyzing exposure/hazard/vulnerability, or computing portfolio risk metrics.
prerequisites:
  required:
    - geo-infer-space
    - geo-infer-data
  recommended:
    - geo-infer-bayes
    - geo-infer-math
difficulty: advanced
estimated_time: 60min
examples_dir: ../GEO-INFER-EXAMPLES/examples/
---

# GEO-INFER-RISK

## Instructions

### Core Capabilities

- **Catastrophe models**: Cholesky-decomposition spatial correlation
- **Risk engine**: Moran's I, Geary C, Monte Carlo loss calculation
- **Exposure modeling**: Multi-source data loading (DB, file, stream, API)
- **Hazard modeling**: Spatial hazard assessment and mapping
- **Vulnerability**: Bayesian uncertainty quantification
- **Underwriting**: Rule-based fraud detection, env var API keys

### Key Imports

```python
from geo_infer_risk.core.risk_engine import RiskEngine
from geo_infer_risk.core.catastrophe_models import CatastropheModel
from geo_infer_risk.core.exposure_model import ExposureModel
from geo_infer_risk.core.hazard_model import HazardModel
```

## Examples

```python
from geo_infer_risk.core.risk_engine import RiskEngine

engine = RiskEngine()
result = engine.assess(
    hazard_raster=flood_depth,
    exposure_data=building_footprints,
    vulnerability_curve="residential_flood"
)
print(f"Expected loss: ${result.expected_loss:,.0f}")
print(f"Loss exceedance (100yr): ${result.loss_at_return_period(100):,.0f}")
```

```python
from geo_infer_risk.core.catastrophe_models import CatastropheModel

cat_model = CatastropheModel(peril="earthquake", region="pacific_ring")
simulations = cat_model.run_monte_carlo(n_simulations=10_000)
print(f"Mean annual loss: ${simulations.mean_annual_loss:,.0f}")
print(f"99th percentile: ${simulations.percentile(99):,.0f}")
```

## Guidelines

- All 18 former placeholder references verified clean (0 remaining)
- Spatial correlation uses Cholesky decomposition
- Risk aggregation uses real Moran's I and Monte Carlo
- Test: `uv run python -m pytest GEO-INFER-RISK/tests/ -v`

### Integrations

- **BAYES** → Bayesian uncertainty quantification
- **ECON** → Economic loss and insurance modeling
- **CLIMATE** → Climate-driven hazard projections
- **SPACE** → Spatial correlation of hazards
- **AG** → Crop loss risk assessment

Files in this skill

  • .cursorrules1.9 KB
  • AGENTS.md2.6 KB
  • README.md4.2 KB
  • SKILL.md2.4 KB
  • config/AGENTS.md257 B
  • config/README.md154 B
  • config/example.yaml11.1 KB
  • config/schema.json16.3 KB
  • docs/AGENTS.md251 B
  • docs/README.md118 B
  • docs/api_schema.yaml55.4 KB
  • examples/AGENTS.md352 B
  • examples/README.md1.2 KB
  • examples/basic_risk_assessment.py4.6 KB
  • examples/comprehensive_risk_assessment.py6.7 KB
  • pyproject.toml3.7 KB
  • requirements.txt705 B
  • setup.py1.6 KB
  • src/AGENTS.md324 B
  • src/README.md1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.