name: incident-damage-analyzer description: Analyze incidents affecting areas and generate damage assessments with prevention reports. Use when user provides location data (coordinates, addresses, place names) along with an incident description (fire, flood, explosion, storm, attack, etc.). Also use when user asks to assess damage, estimate losses, evaluate infrastructure risk, or create emergency response plans.
Incident Damage Analyzer
Overview
When a user provides location information and describes an incident (or asks to analyze potential damage from an event), you need to:
- Research the affected area to identify buildings and infrastructure
- Assess potential damage based on incident type
- Quantify losses where possible
- Generate prevention recommendations and response procedures
Input Processing
Extract from the user's message:
- Location: coordinates (lat/long), addresses, place names, or general area descriptions
- Incident type: fire, flood, explosion, earthquake, storm, hurricane, chemical spill, attack, sabotage, or other
- Scope: radius of affected area, specific targets mentioned
If location is vague ("downtown", "the industrial district"), ask for clarification or make reasonable assumptions and state them.
Area Research
For each incident, research the affected area:
Identify infrastructure: Use web search to find:
- Types of buildings (residential, commercial, industrial, institutional)
- Critical infrastructure (hospitals, schools, power stations, water treatment, transportation)
- Historical buildings or special sites
Gather context:
- Population density in the area
- Typical building construction types
- Previous incidents in the area (for comparison)
- Local emergency services and hospitals
Map the area: If coordinates are provided, research what's typically found in that type of location (urban, suburban, rural, industrial zone)
Damage Assessment Framework
By Incident Type
Flood/Water Damage
- Ground floor and basement damage
- Electrical system damage
- Mold and structural integrity issues
- Duration of flooding affects severity
- Estimate: 20-80% of building value depending on depth and duration
Fire
- Structural damage (direct burn area)
- Smoke damage (surrounding buildings)
- Water damage from firefighting
- Estimate: 50-100% of affected building, 10-30% of adjacent
Explosion
- Direct blast damage
- Structural shockwave damage
- Secondary fires
- Estimate: 100% of epicenter, 30-70% within blast radius
Storm/Hurricane
- Roof damage
- Window breakage
- Flooding
- Estimate: 10-50% depending on intensity
Earthquake
- Structural damage
- Foundation damage
- Non-structural damage (contents)
- Estimate: 20-100% depending on magnitude and distance
Security Incident (attack/sabotage)
- Direct target damage
- Surrounding area impact
- Infrastructure disruption
- Estimate: varies widely based on target type
Damage Categories to Assess
- Buildings: residential, commercial, industrial
- Infrastructure: power, water, communications, transportation
- Critical facilities: hospitals, schools, emergency services
- Environment: contamination, pollution
Quantification
For each category, provide estimates in these terms:
- Count: number of entities affected
- Severity: low/medium/high/critical
- Financial: rough cost ranges where possible (use comparable incidents for reference)
- Timeline: how long until partial/normal operations resume
Report Generation
Structure
# Damage Assessment Report
## Incident Summary
- Location
- Type
- Time/Date (if known)
- Estimated scope
## Affected Area Overview
- Description of the area
- Infrastructure types present
- Population/usage
## Damage Assessment
### Buildings
[Category breakdown with estimates]
### Infrastructure
[Power, water, comms, transport]
### Critical Facilities
[Hospitals, schools, emergency services]
## Quantified Losses
[Where possible - financial estimates]
## Prevention Recommendations
[Specific to incident type and location]
## Response Procedures
[What to do during/after such incidents]
## Comparable Incidents
[Any similar events found in research]
Tone and Audience
Write for a general audience but include technical details where relevant. Be:
- Clear and factual
- Honest about uncertainties
- Action-oriented on prevention
- Practical on response
Research Sources
Use web search to find:
- Comparable incidents for reference
- Building codes and standards in the area
- Local emergency protocols
- Historical data for the location
Cite sources where appropriate.
Output
Always provide:
- A structured damage assessment report
- Quantified estimates where possible
- Prevention recommendations specific to the incident type
- Response procedures for future incidents