incident-response · anthropics — Claude Code skill: run incidents and postmortems
Walks an incident from detection to review: severity triage, status updates, timeline and a blameless postmortem.
npx skills add anthropics/knowledge-work-plugins --skill incident-response -a claude-codeWhat incident-response does
The skill moves through four phases: triage, communication, mitigation and postmortem. During triage it helps assign a SEV1–SEV4 level, list affected systems and users, and hand out roles such as incident commander, comms lead and responders. Then it drafts internal and customer messages, and once the incident is resolved it assembles the review document.
Three modes drive it: /incident-response new [description] opens an incident, /incident-response update [status] writes an update, /incident-response postmortem builds the review from collected data. Name no mode and the skill asks which phase you are in. The postmortem template covers a timeline, a root cause section with the five whys, and an action table with owners and priorities.
Connect monitoring, incident management or chat and the skill pulls alert metrics, opens an incident in PagerDuty or Opsgenie, and posts updates to a channel. Without those connectors it still runs — you just type the details in yourself. The docs advise starting to write right away instead of waiting for the full picture.
What it helps with
- assign a severity level from SEV1 to SEV4
- split incident roles across the response team
- draft a status update for the internal channel
- keep a running timeline while the incident is open
- write a blameless postmortem with owned action items
Example prompts for the agent
- We have an incident: checkout is down, help me triage it
- Write a status update for the current incident
- Generate a postmortem for this incident with a five whys analysis
How to install incident-response
1Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill incident-response -a claude-code2Manually: put the files in place
~/.claude/skills/incident-response/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/incident-response/
1Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill incident-response -a codex2Manually: put the files in place
.agents/skills/incident-response/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill incident-response -a cursor2Manually: put the files in place
.cursor/skills/incident-response/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install anthropics/knowledge-work-plugins incident-response2Manually: put the files in place
.github/skills/incident-response/SKILL.md1Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill incident-response -a gemini-cli2Platform CLI
gemini skills install https://github.com/anthropics/knowledge-work-plugins --path engineering/skills/incident-responseManually: put the files in place
.devin/skills/incident-response/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill incident-response -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about incident-response
How do I install incident-response in Claude Code?
Run npx skills add anthropics/knowledge-work-plugins --skill incident-response -a claude-code. The skill lands in ~/.claude/skills/incident-response/SKILL.md.
What does incident-response do?
It runs an incident through triage with severity assessment, communication with status updates, mitigation tracking, and a blameless postmortem with a timeline and action items.
What modes does the skill support?
Three: new to open an incident, update to post a status update, and postmortem to generate the review. With no mode given, the skill asks which phase the incident is in.
Source text
SKILL.md · Apache-2.0
--- name: incident-response description: Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution. argument-hint: "<incident description or alert>" --- # /incident-response > If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../../CONNECTORS.md). Manage an incident from detection through postmortem. ## Usage ``` /incident-response $ARGUMENTS ``` ## Modes ``` /incident-response new [description] # Start a new incident /incident-response update [status] # Post a status update /incident-response postmortem # Generate postmortem from incident data ``` If no mode is specified, ask what phase the incident is in. ## How It Works ``` ┌─────────────────────────────────────────────────────────────────┐ │ INCIDENT RESPONSE │ ├─────────────────────────────────────────────────────────────────┤ │ Phase 1: TRIAGE │ │ ✓ Assess severity (SEV1-4) │ │ ✓ Identify affected systems and users │ │ ✓ Assign roles (IC, comms, responders) │ │ │ │ Phase 2: COMMUNICATE │ │ ✓ Draft internal status update │ │ ✓ Draft customer communication (if needed) │ │ ✓ Set up war room and cadence │ │ │ │ Phase 3: MITIGATE │ │ ✓ Document mitigation steps taken │ │ ✓ Track timeline of events │ │ ✓ Confirm resolution │ │ │ │ Phase 4: POSTMORTEM │ │ ✓ Blameless postmortem document │ │ ✓ Timeline reconstruction │ │ ✓ Root cause analysis (5 whys) │ │ ✓ Action items with owners │ └─────────────────────────────────────────────────────────────────┘ ``` ## Severity Classification | Level | Criteria | Response Time | |-------|----------|---------------| | SEV1 | Service down, all users affected | Immediate, all-hands | | SEV2 | Major feature degraded, many users affected | Within 15 min | | SEV3 | Minor feature issue, some users affected | Within 1 hour | | SEV4 | Cosmetic or low-impact issue | Next business day | ## Communication Guidance Provide clear, factual updates at regular cadence. Include: what's happening, who's affected, what we're doing, when the next update is. ## Output — Status Update ```markdown ## Incident Update: [Title] **Severity:** SEV[1-4] | **Status:** Investigating | Identified | Monitoring | Resolved **Impact:** [Who/what is affected] **Last Updated:** [Timestamp] ### Current Status [What we know now] ### Actions Taken - [Action 1] - [Action 2] ### Next Steps - [What's happening next and ETA] ### Timeline | Time | Event | |------|-------| | [HH:MM] | [Event] | ``` ## Output — Postmortem ```markdown ## Postmortem: [Incident Title] **Date:** [Date] | **Duration:** [X hours] | **Severity:** SEV[X] **Authors:** [Names] | **Status:** Draft ### Summary [2-3 sentence plain-language summary] ### Impact - [Users affected] - [Duration of impact] - [Business impact if quantifiable] ### Timeline | Time (UTC) | Event | |------------|-------| | [HH:MM] | [Event] | ### Root Cause [Detailed explanation of what caused the incident] ### 5 Whys 1. Why did [symptom]? → [Because...] 2. Why did [cause 1]? → [Because...] 3. Why did [cause 2]? → [Because...] 4. Why did [cause 3]? → [Because...] 5. Why did [cause 4]? → [Root cause] ### What Went Well - [Things that worked] ### What Went Poorly - [Things that didn't work] ### Action Items | Action | Owner | Priority | Due Date | |--------|-------|----------|----------| | [Action] | [Person] | P0/P1/P2 | [Date] | ### Lessons Learned [Key takeaways for the team] ``` ## If Connectors Available If **~~monitoring** is connected: - Pull alert details and metrics - Show graphs of affected metrics If **~~incident management** is connected: - Create or update incident in PagerDuty/Opsgenie - Page on-call responders If **~~chat** is connected: - Post status updates to incident channel - Create war room channel ## Tips 1. **Start writing immediately** — Don't wait for complete information. Update as you learn more. 2. **Keep updates factual** — What we know, what we've done, what's next. No speculation. 3. **Postmortems are blameless** — Focus on systems and processes, not individuals.
© anthropics · Apache-2.0 · anthropics/knowledge-work-plugins
Similar skills
All skills for DevOps and infrastructure →incident-response by other authors comes first.