Incident commander

From seaworld008/Commonly-used-high-value-skills · View interactive version

Incident commander is an AI agent skill from the GitHub repository seaworld008/Commonly-used-high-value-skills. Coordinate active incidents through severity assessment, roles, mitigation, communications, recovery verification, and postmortem handoff.

How to use this skill

Skill file

Incident Commander Skill

Category: Engineering Team

Tier: POWERFUL

Author: Claude Skills Team

Version: 1.0.0

Last Updated: February 2026

Overview

The Incident Commander skill provides a comprehensive incident response framework for managing technology incidents from detection through resolution and post-incident review. This skill implements battle-tested practices from SRE and DevOps teams at scale, providing structured tools for severity classification, timeline reconstruction, and thorough post-incident analysis.

Key Features

Skills Included

Core Tools

  1. Incident Classifier (incident_classifier.py)
  1. Timeline Reconstructor (timeline_reconstructor.py)
  1. PIR Generator (pir_generator.py)

Incident Response Framework

Severity Classification System

SEV1 - Critical Outage

Definition: Complete service failure affecting all users or critical business functions

Characteristics:

Response Requirements:

Communication Frequency: Every 15 minutes until resolution

SEV2 - Major Impact

Definition: Significant degradation affecting subset of users or non-critical functions

Characteristics:

Response Requirements:

Communication Frequency: Every 30 minutes during active response

SEV3 - Minor Impact

Definition: Limited impact with workarounds available

Characteristics:

Response Requirements:

Communication Frequency: At key milestones only

SEV4 - Low Impact

Definition: Minimal impact, cosmetic issues, or planned maintenance

Characteristics:

Response Requirements:

Communication Frequency: Standard development cycle updates

Incident Commander Role

The responsibilities below describe an organization-appointed human IC.

They grant an agent no production-change, spending, staffing or external-message

authority. Agent actions remain within the current user's authorization.

Primary Responsibilities

Read the detailed procedure and examples when working on this part of the task.

Decision-Making Framework

Emergency Decisions (SEV1/2):

Resource Allocation:

Technical Decisions:

Communication Templates

Initial Incident Notification (SEV1/2)

Read the detailed procedure and examples when working on this part of the task.

Executive Summary (SEV1)

Read the detailed procedure and examples when working on this part of the task.

Customer Communication Template

Read the detailed procedure and examples when working on this part of the task.

Stakeholder Management

Stakeholder Classification

Internal Stakeholders:

External Stakeholders:

Communication Cadence by Stakeholder

| Stakeholder | SEV1 | SEV2 | SEV3 | SEV4 |

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

| Engineering Leadership | Real-time | 30min | 4hrs | Daily |

| Executive Team | 15min | 1hr | EOD | Weekly |

| Customer Support | Real-time | 30min | 2hrs | As needed |

| Customers | 15min | 1hr | Optional | None |

| Partners | 30min | 2hrs | Optional | None |

Runbook Generation Framework

Dynamic Runbook Components
  1. Detection Playbooks
  1. Response Playbooks
  1. Recovery Playbooks
Runbook Template Structure

Read the detailed procedure and examples when working on this part of the task.

Post-Incident Review (PIR) Framework

PIR Timeline and Ownership

Timeline:

Roles:

Root Cause Analysis Frameworks
1. Five Whys Method

The Five Whys technique involves asking "why" repeatedly to drill down to root causes:

Example Application:

Best Practices:

2. Fishbone (Ishikawa) Diagram

Systematic analysis across multiple categories of potential causes:

Categories:

Application Method:

  1. State the problem clearly at the "head" of the fishbone
  2. For each category, brainstorm potential contributing factors
  3. For each factor, ask what caused that factor (sub-causes)
  4. Identify the factors most likely to be root causes
  5. Validate root causes with evidence from the incident
3. Timeline Analysis

Reconstruct the incident chronologically to identify decision points and missed opportunities:

Timeline Elements:

Analysis Questions:

Escalation Paths

Technical Escalation

Level 1: On-call engineer

Level 2: Senior engineer/Team lead

Level 3: Engineering Manager/Staff Engineer

Level 4: Director of Engineering/CTO

Business Escalation

Customer Impact Assessment:

Escalation Matrix:

| Severity | Duration | Business Escalation |

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

| SEV1 | Immediate | VP Engineering |

| SEV1 | 30 minutes | CTO + Customer Success VP |

| SEV1 | 1 hour | CEO + Full Executive Team |

| SEV2 | 2 hours | VP Engineering |

| SEV2 | 4 hours | CTO |

| SEV3 | 1 business day | Engineering Manager |

Status Page Management

Update Principles
  1. Transparency: Provide factual information without speculation
  2. Timeliness: Update within committed timeframes
  3. Clarity: Use customer-friendly language, avoid technical jargon
  4. Completeness: Include impact scope, status, and next update time
Status Categories
Update Template
{Timestamp} - {Status Category}

{Brief description of current state}

Impact: {who is affected and how}
Cause: {root cause if known, "under investigation" if not}
Resolution: {what's being done to fix it}

Next update: {specific time}

We apologize for any inconvenience this may cause.

Action Item Framework

Action Item Categories
  1. Immediate Fixes
  1. Process Improvements
  1. Technical Debt
  1. Organizational Changes
Action Item Template

Read the detailed procedure and examples when working on this part of the task.

Usage Examples

Example 1: Bundled Payment-API Sample

Run these offline examples from the loaded skill directory; outputs go to the

host's task temporary directory. They demonstrate rule/template processing of

sample data, not evidence of a real incident or verified causality. Review PIR

inferences against actual evidence before using them.

# Classify the incident
echo '{"description": "Users reporting 500 errors, database connections timing out", "affected_users": "80%", "business_impact": "high"}' | python scripts/incident_classifier.py

# Reconstruct timeline from logs
python scripts/timeline_reconstructor.py --input assets/sample_timeline_events.json --format json --output "$TMPDIR/ic-timeline.json"

# Generate PIR after resolution
python scripts/pir_generator.py --incident assets/sample_incident_pir_data.json --timeline "$TMPDIR/ic-timeline.json" --output "$TMPDIR/ic-pir.md"

Example 2: Classification Text and Alternate PIR Framework

# Quick classification from stdin
echo "API rate limits causing customer API calls to fail" | python scripts/incident_classifier.py --format text

# Reuse the bundled event array; output goes to stdout
python scripts/timeline_reconstructor.py --input assets/sample_timeline_events.json

# Generate a fishbone draft from the bundled sample
python scripts/pir_generator.py --incident assets/sample_incident_pir_data.json --rca-method fishbone

The CLI parses --detect-phases, --gap-analysis and --action-items but does

not pass those flags to its processing calls; do not claim they enable extra

analysis. Generated severity, causes, confidence and actions are rule/template

suggestions that require evidence review, not measured incident facts.

Best Practices

During Incident Response

  1. Maintain Calm Leadership
  1. Document Everything
  1. Effective Communication
  1. Technical Excellence

Post-Incident

Read the detailed procedure and examples when working on this part of the task.

Integration with Existing Tools

Monitoring and Alerting

Communication Platforms

Documentation Systems

Change Management

Conclusion

The Incident Commander skill provides a comprehensive framework for managing incidents from detection through post-incident review. By implementing structured processes, clear communication templates, and thorough analysis tools, teams can improve their incident response capabilities and build more resilient systems.

The key to successful incident management is preparation, practice, and continuous learning. Use this framework as a starting point, but adapt it to your organization's specific needs, culture, and technical environment.

Remember: The goal isn't to prevent all incidents (which is impossible), but to detect them quickly, respond effectively, communicate clearly, and learn continuously.

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.