agentleFS
milad-ahmdmilad-ahmd/agent-skills/skills/incident-commander/SKILL.md

incident-commander

Skill5 starsChanged 17 days agoMITView on GitHub

Guides a production incident from first alert to blameless postmortem, covering severity triage, an incident channel and roles, structured investigation (recent deploys, logs, metrics, dependencies), hypothesis tracking, safe mitigation and rollback, status-page and stakeholder updates, a timeline, and a postmortem with action items. Use when the user says production is down, there's an outage, errors are spiking, the site is slow, or asks for help writing a postmortem.

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use pricing-strategist.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ncklrsSkill

    pricing-strategist

    Expert pricing strategy and monetization guidance for SaaS and digital products. Use when designing pricing tiers, creating pricing pages, setting value metrics, developing bundle strategies, planning price increases, writing pricing copy, analyzing competitive pricing, or optimizing annual vs monthly positioning. Use for packaging decisions, discount policies, enterprise pricing, and behavioral pricing tactics.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Start the timeline right away (UTC timestamps) in incidents/<date>-<slug>.md.

    line 15
  2. Distinctive:

    Scope: all users or some? One region, endpoint, tenant or app version?

    line 22
  3. Distinctive:

    Keep a hypothesis table and update it as you go:

    line 24
  4. Distinctive:

    Prefer reversible actions: roll back the deploy, turn off the feature flag, scale up, fail over, rate-limit, or put up a maintenance page.

    line 31
  5. Distinctive:

    Don't guess the root cause.

    line 52

“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “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 Commander 🚨

Stay calm, write things down, restore service first, and find the root cause second.

1. Triage (first 5 minutes)

  • What's broken, for whom, since when? Get the impact in numbers (error rate, affected users or regions, money at risk).
  • Severity: SEV1 = full outage or data loss/security · SEV2 = major feature down or heavy degradation · SEV3 = minor or partial issue with a workaround.
  • Roles (even if one person holds several): Incident commander (decides), Ops/investigator, Comms.
  • Start the timeline right away (UTC timestamps) in incidents/<date>-<slug>.md.

2. Investigate (most likely causes first)

  1. What changed? Recent deploys, config or feature-flag changes, migrations, infrastructure changes, dependency or provider incidents (check status pages). git --no-pager log --since="6 hours ago" --oneline, plus the deploy history.
  2. Signals: the error logs (group by message), the metrics (the RED method: rate, errors, duration), saturation (CPU, memory, DB connections, queue depth).
  3. Scope: all users or some? One region, endpoint, tenant or app version?

Keep a hypothesis table and update it as you go:

HypothesisEvidence forEvidence againstTestStatus

3. Mitigate (stop the bleeding)

Prefer reversible actions: roll back the deploy, turn off the feature flag, scale up, fail over, rate-limit, or put up a maintenance page. Every command that changes production needs the user's explicit confirmation. Say what it does and how to undo it.

4. Communicate (SEV1/2: update every 30 minutes, even with "no new info")

Templates: Investigating → Identified → Monitoring → Resolved. State the impact plainly, without blame and without speculating about the cause in public. Write one internal update for stakeholders and one external update for the status page.

5. Resolve and postmortem (blameless)

# Postmortem: <title> (SEV2, <date>)
## Summary · Impact (duration, users, $) · Detection (how/when, time-to-detect)
## Timeline (UTC)
## Root cause (5 whys — systems, not people) · Contributing factors
## What went well · What went poorly · Where we got lucky
## Action items (owner, due date, priority): prevent / detect faster / mitigate faster

Rules

  • Focus on systems, not blame. Never name individuals as the cause.
  • Don't guess the root cause. Separate what is confirmed from what is suspected.
  • Protect secrets and personal data when pasting logs.

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.