Runbook incident response

From elophanto/EloPhanto · View interactive version

Runbook incident response is an AI agent skill from the GitHub repository elophanto/EloPhanto. Incident response runbook — detection through post-mortem for production issues with severity-based response teams. Adapted from msitarzewski/agency-agents.

How to use this skill

Skill file

Triggers

Instructions

Something is broken in production. Users are affected. Speed of response matters, but so does doing it right. This runbook covers detection through post-mortem. Duration: minutes to hours.

Severity Classification

| Level | Definition | Examples | Response Time |

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

| P0 Critical | Service completely down, data loss, security breach | Database corruption, DDoS, auth failure | Immediate |

| P1 High | Major feature broken, significant degradation | Payment down, 50%+ error rate, 10x latency | < 1 hour |

| P2 Medium | Minor feature broken, workaround available | Search not working, non-critical API errors | < 4 hours |

| P3 Low | Cosmetic issue, minor inconvenience | Styling bug, typo, minor UI glitch | Next sprint |

Response Teams by Severity

P0 Critical (use organization_spawn with all):

P1 High:

P2 Medium:

P3 Low:

Step 1: Detection & Triage (0-5 minutes)

Trigger: Alert from monitoring / User report / Agent detection

Infrastructure Maintainer:

  1. Acknowledge alert
  2. Assess scope and impact (users affected, services impacted, data at risk?)
  3. Classify severity (P0/P1/P2/P3)
  4. Use organization_spawn to activate appropriate response team
  5. Create incident channel/thread

Step 2: Investigation (5-30 minutes)

Parallel investigation via organization_delegate:

Output: Root cause identified or narrowed to component.

Step 3: Mitigation (15-60 minutes)

Decision tree:

Throughout:

Step 4: Resolution Verification (Post-fix)

Step 5: Post-Mortem (Within 48 hours)

Use organization_delegate to Workflow Optimizer:

  1. Timeline reconstruction (when introduced, detected, resolved, total impact duration)
  2. Root cause analysis (what failed, why, why not caught earlier, 5 Whys)
  3. Impact assessment (users affected, revenue impact, reputation, data impact)
  4. Prevention measures (monitoring improvements, testing improvements, process changes, infrastructure changes)
  5. Action items with owners and deadlines

Use knowledge_write to persist post-mortem report. Sprint Prioritizer adds prevention tasks to backlog.

Communication Templates

Status Page Update:

[TIMESTAMP] — [SERVICE NAME] Incident
Status: [Investigating / Identified / Monitoring / Resolved]
Impact: [Description of user impact]
Current action: [What we're doing]
Next update: [When to expect next update]

Executive Update (P0 only):

INCIDENT BRIEF — [TIMESTAMP]
SITUATION: [Service] is [down/degraded] affecting [N users/% of traffic]
CAUSE: [Known/Under investigation] — [Brief description if known]
ACTION: [What's being done] — ETA [time estimate]
IMPACT: [Business impact — revenue, users, reputation]
NEXT UPDATE: [Timestamp]

Escalation Matrix

| Condition | Escalate To |

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

| P0 not resolved in 30 min | Studio Producer (additional resources, vendor escalation) |

| P1 not resolved in 2 hours | Project Shepherd (resource reallocation) |

| Data breach suspected | Legal Compliance Checker (regulatory notification) |

| User data affected | Legal Compliance Checker + Executive Summary Generator (GDPR/CCPA) |

| Revenue impact > threshold | Finance Tracker + Studio Producer (business impact assessment) |

Deliverables

Success Metrics

Verify

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.