Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

incident-commander

БесплатноЗапускает вложенные скриптыНе проверен

Production incident response. Use when handling incidents, classifying severity, reconstructing timelines, writing postmortems, generating comms templates, or…

borgheiот borghei★ 1 250 звёзд на GitHub

Об этом скилле

Incident Commander

Run a production incident from declaration to post-incident review: set severity, coordinate response and comms, rebuild the timeline, and write a review whose action items prevent a repeat. The agent's judgment drives the live incident; the scripts score, structure and draft.

When to Use

  • An incident is active: decide severity, establish command, mitigate, communicate.
  • An incident is over: reconstruct the timeline, find root causes, assign action items.
  • Designing escalation paths, comms templates, response playbooks or SLA/error-budget policy.

Clarify First

Settle the inputs that change the work. When one is missing and would not change the result, use a sensible default and say which.

  • Active or post-incident? Active: ask only for impact (who and how many are affected, revenue, data or security exposure) and what is already being done, then give severity and the first comms. Do not start an RCA during an active incident.
  • Post-incident: the event sources (alerts, chat, deploys) and the format the organisation uses for reviews.
  • RCA method (post-incident only): 5 Whys for a single causal chain, Fishbone for many contributing factors, Bow Tie for safety/security-style incidents.

If the user wants a result straight away, produce it and state your assumptions at the top.

Workflow

Active incident

  1. Set severity from impact, using the matrix below. The scorer helps but does not decide; when in doubt, pick the higher severity and downgrade later.
  2. Name the incident commander, open the channel, post the first internal update and (SEV1/SEV2) the status page within the response window.
  3. Mitigate before diagnosing: roll back the last change, fail over, shed load. Record every action with a timestamp.
  4. Update on the cadence for the severity until resolved; then declare resolved and schedule the review.
Severity Typical impact First response Update cadence
SEV1 Core service down, > 75% of users, data loss, or a security breach with customer data Immediate; IC within 5 min; execs within 15 min Every 15 min
SEV2 Major degradation, 25-75% of users, no workaround, high revenue impact Within 15 min Every 30 min
SEV3 Partial degradation, < 25% of users, workaround exists Within 1 h Every 2 h
SEV4 Cosmetic or internal, no customer impact Next business day As needed

Full criteria, escalation paths and examples: references/incident_severity_matrix.md.

Post-incident review

  1. Rebuild the timeline from every source and check the gaps (no events for long stretches usually mean missing data, not inactivity).
  2. Compute MTTD / time to mitigate / MTTR and compare with your targets.
  3. Find root causes and contributing factors with the chosen RCA method; blameless, about systems and decisions.
  4. Write action items that would have prevented or shortened this incident, each with an owner, priority and deadline.
  5. Validate the review before sharing: every action item has an owner, every timeline gap is explained, and the root cause is a mechanism, not "human error".

Quick Start

# Severity: multi-dimensional score from the shared incident schema (SEV2 on the sample)
python3 scripts/severity_classifier.py assets/sample_incident_data.json --format text
# Quick triage from free text only (keyword heuristic; advisory)
python3 scripts/incident_classifier.py --input assets/sample_incident_classification.json --format text
# Timeline with lifecycle phases and gap analysis
python3 scripts/timeline_reconstructor.py --input assets/sample_timeline_events.json --detect-phases --gap-analysis --format markdown
# Review documents
python3 scripts/postmortem_generator.py assets/sample_incident_data.json --format markdown
python3 scripts/pir_generator.py --incident assets/sample_incident_pir_data.json --rca-method fishbone --action-items

Tools Overview

Use one tool per job. Two input schemas are in play; pick the tool that matches the data you have.

Job Primary tool Input Alternative
Severity severity_classifier.py <file> — weighted revenue, user scope, data/security, criticality, blast radius; escalation path Shared incident schema (assets/sample_incident_data.json: incident, impact, signals, context, events, resolution, action_items) incident_classifier.py --input <file> — keyword triage from {description, service, affected_users, business_impact}; its confidence reflects input completeness and is capped at 85%
Timeline timeline_reconstructor.py --input <events.json> — merge multi-source events, lifecycle phases (detection, triage, mitigation, resolution, review), gaps List of {timestamp, source, type, message, severity, actor} (assets/sample_timeline_events.json) `incident_timeline_builder.py <file
Полный SKILL.md на GitHub

Установить incident-commander в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdassets/incident_report_template.mdassets/runbook_template.mdassets/sample_incident_classification.jsonassets/sample_incident_data.jsonassets/sample_incident_pir_data.jsonassets/sample_timeline_events.jsonassets/simple_incident.jsonassets/simple_timeline_events.jsonexpected_outputs/incident_classification_text_output.txtexpected_outputs/pir_markdown_output.mdexpected_outputs/simple_incident_classification.txtexpected_outputs/timeline_reconstruction_text_output.txtreferences/communication_templates.mdreferences/incident-response-framework.mdreferences/incident_severity_matrix.mdreferences/rca_frameworks_guide.mdreferences/response-playbooks.mdreferences/sla-management-guide.mdscripts/incident_classifier.pyscripts/incident_timeline_builder.pyscripts/pir_generator.pyscripts/postmortem_generator.pyscripts/severity_classifier.pyscripts/timeline_reconstructor.py

FAQ

Что делает скилл incident-commander?

Production incident response. Use when handling incidents, classifying severity, reconstructing timelines, writing postmortems, generating comms templates, or building response playbooks with severity scoring and RCA frameworks.

Как установить скилл incident-commander?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл incident-commander запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить incident-commander с