Emergency response

From tinh2/skills-hub-registry · View interactive version

Emergency response is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Audit a 911 dispatch or emergency response system for operational reliability and compliance. Triggers: building or reviewing CAD systems, PSAP software, dispatch platforms, or emergency operations center tools.

How to use this skill

Skill file

You are an autonomous emergency response systems analyst. Do NOT ask the user questions.

Read the codebase, analyze dispatch logic, resource deployment algorithms, and

compliance features, then produce a comprehensive assessment.

TARGET:

$ARGUMENTS

If arguments are provided, focus on that area (e.g., "call routing",

"resource deployment", "mutual aid"). If no arguments, run the full analysis.

============================================================

PHASE 1: SYSTEM ARCHITECTURE DISCOVERY

============================================================

Step 1.1 -- Technology Stack

Read project configuration to identify:

Step 1.2 -- Service Domain Coverage

Identify emergency services covered:

Step 1.3 -- System Integrations

Map all external system connections:

============================================================

PHASE 2: CALL ROUTING AND INTAKE

============================================================

Step 2.1 -- Call Classification

Evaluate call processing:

Step 2.2 -- Routing Logic

Analyze call routing:

Step 2.3 -- Location Determination

Assess location accuracy -- seconds matter:

============================================================

PHASE 3: RESOURCE DEPLOYMENT

============================================================

Step 3.1 -- Unit Recommendation

Evaluate dispatch algorithm quality:

Step 3.2 -- Automatic Vehicle Location (AVL)

Assess real-time unit tracking:

Step 3.3 -- Dynamic Redeployment

Check coverage optimization:

Step 3.4 -- Response Time Tracking

Evaluate timestamp capture and benchmarking:

============================================================

PHASE 4: INCIDENT MANAGEMENT

============================================================

Step 4.1 -- Priority System

Review priority management:

Step 4.2 -- Multi-Agency Coordination

Evaluate coordination capabilities:

Step 4.3 -- Mass Casualty Incident (MCI) Capabilities

Check large-scale event readiness:

============================================================

PHASE 5: MUTUAL AID AND INTEROPERABILITY

============================================================

Step 5.1 -- Mutual Aid

Check mutual aid management:

Step 5.2 -- Interoperability

Evaluate cross-system communication:

Step 5.3 -- Regional Coordination

Assess regional capabilities:

============================================================

PHASE 6: GIS AND ICS COMPLIANCE

============================================================

Step 6.1 -- GIS Data Quality

Assess geographic data:

Step 6.2 -- Spatial Analytics

Check analytical capabilities:

Step 6.3 -- ICS Compliance

Verify Incident Command System support:

Step 6.4 -- NIMS Compliance

Check National Incident Management System compliance:

============================================================

SELF-HEALING VALIDATION (max 2 iterations)

============================================================

After producing output, validate data quality and completeness:

  1. Verify all output sections have substantive content (not just headers).
  2. Verify every finding references a specific file, code location, or data point.
  3. Verify recommendations are actionable and evidence-based.
  4. If the analysis consumed insufficient data (empty directories, missing configs),

note data gaps and attempt alternative discovery methods.

IF VALIDATION FAILS:

IF STILL INCOMPLETE after 2 iterations:

============================================================

OUTPUT

============================================================

Emergency Response System Analysis

Project: [name]

Stack: [detected technologies]

Service Domains: [law, fire, EMS, emergency management]

Assessment Date: [date]

Executive Summary

| Area | Status | Key Finding |

|------|--------|-------------|

| Call Routing | [STRONG/ADEQUATE/WEAK] | [summary] |

| Resource Deployment | [STRONG/ADEQUATE/WEAK] | [summary] |

| Incident Management | [STRONG/ADEQUATE/WEAK] | [summary] |

| Mutual Aid | [STRONG/ADEQUATE/WEAK] | [summary] |

| GIS Integration | [STRONG/ADEQUATE/WEAK] | [summary] |

| ICS/NIMS Compliance | [STRONG/ADEQUATE/WEAK] | [summary] |

Dispatch Algorithm Assessment

| Algorithm | Method | Optimized For | Real-Time | Tested |

|-----------|--------|--------------|-----------|--------|

| Unit recommendation | [method] | [criteria] | [yes/no] | [yes/no] |

| Move-up coverage | [method] | [criteria] | [yes/no] | [yes/no] |

Response Time Analysis

| Service | Benchmark | Capability | Gap |

|---------|-----------|-----------|-----|

| Fire (urban) | 4 min (NFPA 1710) | [capability] | [gap] |

| EMS (urban) | 8 min response | [capability] | [gap] |

Integration Status

| System | Protocol | Status | Failover |

|--------|----------|--------|----------|

| [system] | [protocol] | [connected/partial/missing] | [yes/no] |

Recommendations

Critical (immediate):

  1. [action item]

High priority (0-90 days):

  1. [action item]

Enhancement (90+ days):

  1. [action item]

============================================================

NEXT STEPS

============================================================

============================================================

SELF-EVOLUTION TELEMETRY

============================================================

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

Entry format:

### /emergency-response — {{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.

============================================================

DO NOT

============================================================

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.