agentleFS
kirubaharan181kirubaharan181/sdlc-agentic-skills/skills/cross-cutting/incident-command/SKILL.md

incident-command

Skill1 starsChanged 18 days agoMITView on GitHub

Use when an incident is active: severity, roles, comms, timeline, recovery. Do NOT use for routine support tickets.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No external API keys, paid services or network access are required.

    line 29
  2. Distinctive:

    Verify service health, communicate resolution and hand off blameless corrective actions.

    line 53
  3. Distinctive:

    Does not replace the humans who hold authority for emergency changes.

    line 106

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Incident command

Purpose

Provides command and coordination during an active incident: it classifies severity, assigns roles, sets escalation and communication cadence, keeps a timeline and decision log, coordinates recovery and hands over to the post-incident review. It coordinates people and decisions; it does not perform the technical fix and it never claims an incident was handled when no incident was run.

When to Use

  • An incident is declared or a service is failing and impact is unclear.
  • Several teams must coordinate, communicate and decide quickly.
  • A timeline and decision log must be kept for later review.

When NOT to Use

  • Routine tickets: use maintenance-support.
  • Designing monitoring or writing the postmortem analysis: use sre-observability.
  • Fixing the bug: use software-implementation.

Prerequisites and Requirements

  • A way to reach the on-call people and stakeholders.
  • Severity definitions and escalation paths.
  • A shared place for the timeline and decision log.
  • No external API keys, paid services or network access are required; work uses files and tools already approved in the repository.

Inputs and Outputs

Required inputs:

  • symptoms and affected users
  • time of detection
  • current owner

Optional inputs:

  • recent changes
  • dashboards
  • previous similar incidents

Outputs and deliverables:

  • severity classification with reason
  • role assignments
  • communication updates on a schedule
  • timeline and decision log
  • recovery confirmation and handover for review

Procedure

  1. Declare severity and assign commander, operations, communications and scribe roles.
  2. Maintain timeline, customer impact, hypotheses, decisions and action owners.
  3. Coordinate safe containment and recovery with change authority and evidence preservation.
  4. Verify service health, communicate resolution and hand off blameless corrective actions.

Shared rules (evidence, approvals, failure, handoff): references/CORE_PROCEDURE.md.

Decision Rules

SituationAction
Customer-visible outage or data riskClassify as highest severity and page the incident roles.
Cause unknown after the agreed intervalEscalate to the next tier and widen the responder group.
Recent change plausibly relatedConsider rollback first if safe and approved.
Fix needs a production changeRoute through emergency change approval and record it.
Roles unfilledAssign explicitly; one person is the incident commander.
Status uncertainSay what is known, unknown and when the next update comes.

Quality Gates

  • One incident commander and named role holders
  • Updates sent at the agreed cadence
  • Every decision logged with time and owner
  • Recovery verified by evidence before closing

Examples

Illustrative only: these show expected behavior and were not executed against a real project.

Example 1: Declare and classify

Request: Checkout errors are rising; payments failing for some users.
Context: Error rate 8 percent, started 12 minutes ago after a release.
Agent behavior: Classify high severity, assign commander, communications and technical lead, and ask whether the release can be rolled back.
Output: Incident record with severity, roles, first update and next update time.
Acceptance: Roles are named and the first update is scheduled.

Example 2: Log a decision

Request: Decide whether to roll back.
Context: Rollback is tested; data impact is none.
Agent behavior: Record options, owner, decision, time and the approval route.
Output: Decision log entry with rollback approved by the on-call authority.
Acceptance: Entry has time, owner and rationale.

Example 3: Close and hand over

Request: Service recovered.
Context: Error rate normal for 30 minutes.
Agent behavior: Confirm recovery with metrics, send the final update, and open the review with timeline.
Output: Closure record and handover to the postmortem owner.
Acceptance: Recovery is shown by data, not by statement.

Limitations

  • Coordinates; it does not diagnose without telemetry or fix without access.
  • Cannot confirm facts it was not told; it marks unknowns.
  • Does not replace the humans who hold authority for emergency changes.

Troubleshooting

ErrorCauseResolution
Too many responders talkingNo single commandName one commander and a communications lead.
No clear owner of the affected serviceOwnership gapsEscalate to the on-call manager and record the gap.
Conflicting informationMultiple sourcesRecord each source and time; verify with data.

Tools

  • incident platform
  • status communication
  • telemetry and runbooks
  • postmortem/action tracker

Stages covered

None. This is a cross-cutting skill applied alongside stage skills.

Handoffs

Hands to:

  • sre-observability: timeline and decision log for root cause analysis
  • secure-change-control: emergency change requests
  • maintenance-support: customer communications and follow-up tickets

Receives from:

  • master-orchestration: active incident declaration with severity
  • sre-observability: severity and detection data when an incident is declared

Contract: references/HANDOFF_CONTRACT.md.

Related

  • Selection and handoff guidance: the skill selection guide in the repository documentation.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.