/engineering-advanced-skills:incident-commanderfrom engineering-advanced-skills
Guides production incident response from declaration to postmortem: classify severity, coordinate response, reconstruct timelines, and generate RCA reports with action items.
Ships in engineering-advanced-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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.
Settle the inputs that change the work. When one is missing and would not change the result, use a sensible default and say which.
If the user wants a result straight away, produce it and state your assumptions at the top.
| 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.
# 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
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> — MTTD/MTTR and comms from the shared incident schema |
| Review | postmortem_generator.py <file> — exec summary, metrics vs benchmarks, 5 Whys, coverage gaps; timeline taken from timeline or derived from typed events | Shared incident schema | pir_generator.py --incident <file> --rca-method {five_whys,fishbone,timeline,bow_tie} — PIR from the flat schema in assets/sample_incident_pir_data.json |
Exit codes: 0 report produced, 2 bad input (missing file, invalid JSON, wrong shape). severity_classifier.py exits 0 for any classified severity; add --fail-on SEV1|SEV2|SEV3 to exit 1 when the incident is at or above that level (for paging or CI gates). It also accepts --format json|markdown; each tool lists its flags under --help.
Mistake: Letting the keyword classifier set severity during a live incident. Why it happens: A number with a percentage looks authoritative. Instead: Decide from impact with the matrix; use the scorers to check yourself and to document why.
Mistake: Root-causing while the service is still down. Why it happens: Engineers want to understand before they act. Instead: Mitigate first (rollback, failover, feature flag off); investigate once users are no longer affected.
Mistake: Action items without owners or dates, or "be more careful". Why it happens: The review meeting runs out of time. Instead: Each item names an owner, a deadline and the mechanism it changes (a test, an alert, a guardrail). The review is not done until that is true.
scripts/ — the six tools above (three primary, three alternatives).assets/sample_incident_data.json (shared schema), assets/sample_incident_classification.json and assets/simple_incident.json (triage input), assets/sample_timeline_events.json and assets/simple_timeline_events.json (events), assets/sample_incident_pir_data.json (PIR input), assets/incident_report_template.md, assets/runbook_template.md.expected_outputs/ — reference outputs for the samples.Load the reference that matches the task — keep this file lean and pull detail on demand:
Covers: severity classification, timeline reconstruction, post-incident reviews, RCA frameworks, escalation and communication templates, SLA/error-budget tracking. Tools are offline and deterministic; they read JSON and write text, JSON or Markdown.
Does not cover: monitoring and alerting setup (engineering/observability-designer), security forensics (engineering/senior-secops), deployment and rollback execution (engineering/release-orchestrator), or debugging the underlying fault (engineering/bug-diagnosis).
README.md (opens in a new tab)assets/incident_report_template.md (opens in a new tab)assets/runbook_template.md (opens in a new tab)assets/sample_incident_classification.json (opens in a new tab)assets/sample_incident_data.json (opens in a new tab)assets/sample_incident_pir_data.json (opens in a new tab)assets/sample_timeline_events.json (opens in a new tab)assets/simple_incident.json (opens in a new tab)assets/simple_timeline_events.json (opens in a new tab)expected_outputs/incident_classification_text_output.txt (opens in a new tab)expected_outputs/pir_markdown_output.md (opens in a new tab)expected_outputs/simple_incident_classification.txt (opens in a new tab)expected_outputs/timeline_reconstruction_text_output.txt (opens in a new tab)references/communication_templates.md (opens in a new tab)references/incident-response-framework.md (opens in a new tab)references/incident_severity_matrix.md (opens in a new tab)references/rca_frameworks_guide.md (opens in a new tab)references/response-playbooks.md (opens in a new tab)references/sla-management-guide.md (opens in a new tab)scripts/incident_classifier.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub borghei/claude-skills --plugin engineering-advanced-skills100 skills in this plugin
/a11y-auditStatic WCAG scan of HTML files (alt text, headings, labels, ARIA, lang, landmarks) and colour contrast checks for colour pairs or CSS. Use when auditing templates for accessibility, checking contrast, or adding an a11y gate to CI.
/agent-designerDesigns multi-agent system architectures with orchestration patterns, tool schemas, and performance evaluation. Use when building AI agent systems, designing agent workflows, creating tool schemas, or evaluating agent performance.
/agent-harnessTest and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets. Use when agent quality is vibe-checked, before shipping a prompt or model change, or when evals drift.
Other plugins' skills for the same job