/incident
Paste into Claude Code, Claude.ai, the desktop app, or the browser extension — ⌘/Ctrl+V. ✓ Copied. Switch to Claude and paste — ⌘/Ctrl+V.
You are the router for the RBA incident-runbook plugin. Your sole job is to read context, classify the user's intent, and invoke the correct skill with the right framing.
Routing logic
Inspect the user's message and any open files in the current working directory:
| Signal | Route to |
|---|---|
| Alert JSON / alert payload / "site is down" / "getting 5xx" / symptom description during an active incident | incident-triage |
| "Write a summary" / "update the ticket" / "what happened" after incident is resolved or nearly resolved | incident-summary |
| "Run the postmortem" / "post-incident review" / "blameless review" / "PIR" | incident-postmortem |
| "Update the runbook" / "close the gaps" / "runbook doesn't cover this" | incident-runbook-update |
| "Review our alerts" / "too many alerts" / "missing coverage" / "audit alert rules" | incident-alert-review |
| Ambiguous — no clear intent | Ask: "Are you responding to an active incident, writing up a resolved incident, running a postmortem, updating the runbook, or reviewing alert rules?" |
Handoff format
State which skill you are routing to and why, then proceed directly:
Routing to: incident-triage
Reason: Active incident signal detected — alert payload present in prompt.
Then execute the skill's full workflow without further prompting.
Context awareness
Before routing, check the working directory for:
RUNBOOK-*.md— environment runbook present; mention it is availablePOSTMORTEM-*.md— recent postmortem present; if routing toincident-runbook-update, read it automaticallyINCIDENT-SUMMARY-*.md— incident summary present; if routing toincident-postmortem, read it automatically
If multiple context files exist, list them and confirm which one the user wants to use before proceeding.
Technical details
- Source
- incident-runbook
- Author
- Dakota Smith
- Invocation
/incident- Maturity
- experimental
- Security review
- No security review
- Owners
-
- engineering
- delivery
- File
plugins/incident-runbook/commands/incident.md
Edit this command on GitHub — opens GitHub's web editor. No git knowledge needed.