# incident-commander

incident-commander — a skill for Claude Code guides production incident response: it scores severity, rebuilds timelines, and drafts postmortems. It also runs on Codex, Cursor, and other platforms.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 125 installs · ★ 1183 repo stars
- Author: borghei
- License: LicenseRef-MIT-Commons-Clause · policy=link-only · description only; the file stays with the author
- Source: https://github.com/borghei/Claude-Skills/tree/HEAD/engineering/incident-commander/SKILL.md
- Updated: 2026-11-08
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/borghei-incident-commander

## What it does

During a live incident, it helps assess impact, choose severity, assign an incident commander, prepare updates, and track mitigation steps. Diagnosis comes after mitigation, so the workflow does not start an RCA while the service is still affecting users.

For a post-incident review, it combines events from alerts, chats, and deployments into a timeline, calculates MTTD, time to mitigate, and MTTR, then drafts an RCA with action items. Each action item gets an owner, priority, and deadline. The available RCA approaches include 5 Whys, Fishbone, and Bow Tie.

The package includes Python scripts for severity scoring, incident classification, timeline reconstruction, and postmortem generation. They are run with `python3` and accept the JSON shapes described by the tools. A live incident stays focused on mitigation first.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill incident-commander -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/incident-commander/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/incident-commander/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill incident-commander -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/incident-commander/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill incident-commander -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/incident-commander/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install borghei/Claude-Skills engineering/incident-commander/SKILL.md
```

2. **Manually: put the files in place**
- File: `.github/skills/incident-commander/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill incident-commander -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/borghei/Claude-Skills --path engineering/incident-commander
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/incident-commander/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill incident-commander -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/borghei/Claude-Skills/tree/HEAD/engineering/incident-commander/SKILL.md

## When to use it
- classify the severity of an active incident
- reconstruct a timeline from mixed event sources
- draft internal and status-page communications
- produce a postmortem with RCA and owned action items

## Example prompts
- Classify the incident in `assets/sample_incident_data.json` and print the result as Markdown.
- Rebuild the timeline from `assets/sample_timeline_events.json`, detect phases, and report gaps.
- Create a post-incident review from `assets/sample_incident_pir_data.json` with the `fishbone` RCA method and action items.

## Similar
- [incident-postmortem](https://affpapa.org/en/nevibecode/skills/incident-postmortem.md) — skill · 81 installs
- [incident-management](https://affpapa.org/en/nevibecode/skills/incident-management.md) — skill · 375 installs
- [incident-response](https://affpapa.org/en/nevibecode/skills/anthropics-incident-response.md) — skill · 6100 installs
- [Incident Response taste](https://affpapa.org/en/nevibecode/prompts/incident-response-taste.md) — prompt · ★ 178201 repo stars
- [incident-responder](https://affpapa.org/en/nevibecode/agents/qdhenry-incident-responder.md) — subagent · ★ 1357 repo stars
- [writing-postmortems](https://affpapa.org/en/nevibecode/skills/writing-postmortems.md) — skill · 26600 installs

## Other versions with the same name
- [incident-commander · alirezarezvani](https://affpapa.org/en/nevibecode/skills/incident-commander.md) — 610 installs

From the same set: [borghei/claude-skills](https://affpapa.org/en/nevibecode/by/borghei/claude-skills.md) — 120 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
