incident-commander
БесплатноЗапускает вложенные скриптыНе проверенProduction incident response. Use when handling incidents, classifying severity, reconstructing timelines, writing postmortems, generating comms templates, or…
от 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
- 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.
- Name the incident commander, open the channel, post the first internal update and (SEV1/SEV2) the status page within the response window.
- Mitigate before diagnosing: roll back the last change, fail over, shed load. Record every action with a timestamp.
- 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
- Rebuild the timeline from every source and check the gaps (no events for long stretches usually mean missing data, not inactivity).
- Compute MTTD / time to mitigate / MTTR and compare with your targets.
- Find root causes and contributing factors with the chosen RCA method; blameless, about systems and decisions.
- Write action items that would have prevented or shortened this incident, each with an owner, priority and deadline.
- 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 |
Установить incident-commander в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic