Incident commander

From event4u-app/agent-config · View interactive version

Incident commander is an AI agent skill from the GitHub repository event4u-app/agent-config. Use during or right after an incident — frames severity, sets comms cadence, drafts the post-mortem skeleton — even when the user just says 'production is down' or 'wir haben einen Vorfall'.

How to use this skill

Skill file

incident-commander

Run the coordination layer during an incident: classify

severity, set comms cadence, hold a clean timeline, and draft the

post-mortem skeleton when the dust settles. This skill does not

debug the system — that is the engineer's job. The commander keeps

the room oriented so the engineer can think.

When to use

scrambling.

Comms?".

Do NOT use when:

route to CODE0 instead.

/bug-fix. The commander coordinates; engineers debug.

CODE0 first; the

commander still runs comms but the response shape changes.

Procedure

1. Inspect the signal and classify severity

| SEV | Trigger |

|---|---|

| SEV-1 | User-facing outage, data loss risk, revenue impact |

| SEV-2 | Major degradation, workaround exists |

| SEV-3 | Single-feature broken, low blast radius |

| SEV-4 | Internal-only, not user-visible |

Pick the highest SEV any signal supports. Downgrades happen later

with evidence; never start low to avoid noise.

2. Set the comms cadence

SEV-3/4 on state change.

the user opts out with a stated reason.

support, leadership). Pre-decide so updates are not rewritten

per-recipient.

3. Hold the timeline

Append-only log: timestamp + actor + observation. No edits, no

"actually it was earlier" — corrections are new entries. Drives

the post-mortem and prevents memory rewrite.

4. Drive to mitigation, not root cause

During the incident, the question is *"what makes the bleeding

stop?"* Root cause is for after. Document the gap explicitly —

"mitigated, root cause unknown" is a valid intermediate state.

5. Draft the post-mortem skeleton

Once stable:

Hand off the skeleton; the engineer fills root cause and the team

adds action items.

6. Validate the handoff

Before declaring the incident handed off, verify: SEV is set, comms

cadence is announced, the timeline has at least one entry per

update, mitigation state is explicit (active / mitigated /

resolved), and a post-mortem owner is assigned. Ensure no field

is left as the placeholder default.

Output format

The incident record is a single block with these ordered fields:

  1. SEV: — one of 1 / 2 / 3 / 4
  2. State: — one of active / mitigated / resolved / post-mortem
  3. Started: and Channel: — timestamp and single thread/room
  4. Cadence: and Timeline: — update interval and append-only log
  5. Mitigation:, Root cause:, Post-mortem owner: — explicit values

or unknown; never blank

Incident
SEV:       1 | 2 | 3 | 4
State:     active | mitigated | resolved | post-mortem
Started:   <timestamp>
Channel:   <thread / room>
Cadence:   <interval>

Timeline (append-only):
  - <ts>  <actor>  <observation>
  - ...

Mitigation: <action> | unknown
Root cause: <hypothesis> | unknown — investigation deferred to post-mortem
Post-mortem owner: <role>

Gotcha

oriented; one person doing both starves comms.

near-misses earn a one-page write-up.

upgrades / downgrades explicitly with a reason.

Do NOT

entries.

See also

that opened this incident, and the runbook contract the first responder reads.

A page arrives with an owner, a runbook and a first diagnostic step; if it did

not, that is a configuration defect to record in the post-mortem.

incident is being diagnosed through, and why a proposed threshold is not a

breach.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.