Geo infer risk

From FDU-INS/Insurance-Skills · View interactive version

Geo infer risk is an AI agent skill from the GitHub repository FDU-INS/Insurance-Skills. 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.

How to use this skill

Skill file

GEO-INFER-RISK

Instructions

Core Capabilities

Key Imports

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

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}")
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

Integrations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.