Skip to content
Skills Library
DevOps & cloud · Automation

sre-incident-response

/sre-incident-response

Use this skill when the user says 'alert correlation', 'automated triage', 'alertmanager grouping', 'runbook automation', 'blameless postmortem template', 'incident timeline', 'postmortem action items', 'reduce alert noise', 'auto-remediation'. Designs the automated side of incident response — alert grouping/inhibition, enrichment, runbook automation with guardrails — and the blameless postmortem process with tracked action items. Do NOT use for: on-call program, severity matrix and incident command roles (devops-incident-response), SLO-based alert design (sre-sli-slo-management).

Licence
MIT
Last repository change
10.11.2026

Assessment and security

95/ 100Class: good
Format20 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
2
Deprecation

No signals detected. Repository changed on 10.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use this skill when the user says 'alert correlation', 'automated triage', 'alertmanager grouping', 'runbook automation', 'blameless postmortem template', 'incident timeline', 'postmortem action items', 'reduce alert noise', 'auto-remediation'. Designs the automated side of incident response — alert grouping/inhibition, enrichment, runbook automation with guardrails — and the blameless postmortem process with tracked action items. Do NOT use for: on-call program, severity matrix and incident command roles (devops-incident-response), SLO-based alert design (sre-sli-slo-management).

Triggers from the description

alert correlationautomated triagealertmanager groupingrunbook automationblameless postmortem templateincident timelinepostmortem action itemsreduce alert noise
Original author description

Use this skill when the user says 'alert correlation', 'automated triage', 'alertmanager grouping', 'runbook automation', 'blameless postmortem template', 'incident timeline', 'postmortem action items', 'reduce alert noise', 'auto-remediation'. Designs the automated side of incident response — alert grouping/inhibition, enrichment, runbook automation with guardrails — and the blameless postmortem process with tracked action items. Do NOT use for: on-call program, severity matrix and incident command roles (devops-incident-response), SLO-based alert design (sre-sli-slo-management).

How it works

  1. Purpose
  2. Agent Protocol
  3. Correlation and Noise Reduction (Alertmanager)
  4. Enrichment
  5. Runbook Automation
  6. Blameless Postmortems
  7. Metrics to Track
  8. Anti-Patterns
  9. Checklist
  10. References
Original SKILL.md headings · 125 lines, 828 words
SKILL.md preview
---
name: sre-incident-response
description: >
  Use this skill when the user says 'alert correlation', 'automated triage', 'alertmanager grouping', 'runbook automation', 'blameless postmortem template', 'incident timeline', 'postmortem action items', 'reduce alert noise', 'auto-remediation'. Designs the automated side of incident response — alert grouping/inhibition, enrichment, runbook automation with guardrails — and the blameless postmortem process with tracked action items. Do NOT use for: on-call program, severity matrix and incident command roles (devops-incident-response), SLO-based alert design (sre-sli-slo-management).
version: "2.0.0"
author: "j4flmao"
license: "MIT"
tags: [sre, incident-response, alertmanager, runbook-automation, postmortem, aiops]
---

# Incident Response: Triage Automation and Blameless Postmortems

## Purpose
Reduce time-to-mitigate by turning raw alerts into a small number of enriched, correlated incidents with the right runbook attached, automate safe first-response actions, and close the loop with blameless postmortems whose action items actually get done.

## Agent Protocol

### Trigger
"alert correlation", "automated triage", "alertmanager grouping", "runbook automation", "blameless postmortem", "incident timeline", "postmortem action items", "alert noise", "auto-remediation".

### Input Context
- Alert sources (Prometheus/Alertmanager, cloud monitoring, APM), paging tool (PagerDuty, Opsgenie, incident.io, Grafana OnCall).
- Service catalog / ownership data, topology (dependencies).
- Current noise level (pages per on-call shift, % actionable).

### Output Artifact
Alertmanager config, automation design, postmortem template. No file unless requested.

### Response Format
```
Noise problem: {duplicates|flapping|cascade|non-actionable}
Correlation: {group_by labels, inhibition rules, topology}
Enrichment: {owner, runbook, recent deploys, dashboards}
Automation: {action, guardrails, human approval?}
Postmortem: {template sections, action-item SLA}
```

### Completion Criteria
- [ ] Every page has an owner, a runbook link, and is actionable.
- [ ] Automated remediation is idempotent, rate-limited, and audited.
- [ ] Postmortem action items have owners and due dates in the tracker.

## Correlation and Noise Reduction (Alertmanager)
```yaml
route:
  receiver: default
  group_by: [alertname, cluster, service]
  group_wait: 30s          # collect related alerts before first notification
  group_interval: 5m       # how often to send updates for a group
  repeat_interval: 4h
  routes:
    - matchers: [severity="page"]
      receiver: pagerduty-primary
      continue: false
    - matchers: [severity="ticket"]
      receiver: jira
inhibit_rules:
  # If the whole cluster is unreachable, don't page for every service in it
  - source_matchers: [alertname="ClusterUnreachable"]
    target_matchers: [severity="page"]
    equal: [cluster]
  # Node down suppresses pod-level alerts on that node
  - source_matchers: [alertname="NodeDown"]
    target_matchers: [alertname=~"KubePod.*"]
    equal: [node]
receivers:
  - name: pagerduty-primary
    pagerduty_configs:
      - routing_key_file: /etc/alertmanager/secrets/pd-routing-key
  - name: jira
    webhook_configs:
      - url: http://alert-to-jira.monitoring.svc:8080/hook
  - name: default
    webhook_configs:
      - url: http://alert-sink.monitoring.svc:8080/hook
```
Techniques beyond grouping: topology-aware suppression (suppress dependents of a failed dependency using the service graph), symptom-based paging (page on SLO burn, ticket on causes like disk filling), and `for:` durations to suppress flapping.

## Enrichment
Attach at alert time (labels/annotations or a webhook enricher):
- `team`, `service`, `runbook_url`, `dashboard_url` from the service catalog (e.g. Backstage).
- Recent deploys/config changes for the service (from CD system) — the most common incident cause.
- Current SLO burn and top error log lines.

## Runbook Automation
| Level | Example | Guardrails |
|---|---|---|
| Diagnostic (safe) | Collect pod logs/events, run `kubectl describe`, thread dumps, attach to incident | Read-only credentials |
| Mitigation with approval | Roll back last deploy, scale out, fail over | Human clicks approve in chat/incident tool |
| Fully automatic | Restart a stuck consumer, clear a known-bad cache key | Idempotent, max N per hour, auto-disable after repeated triggers, audit log, page if it doesn't fix |
Tools: Rundeck/PagerDuty Process Automation, StackStorm, Argo Workflows/Kubernetes Jobs triggered by webhook, cloud runbooks (AWS Systems Manager Automation).

Rule: automation that runs more than a few times per week signals a bug to fix, not a runbook to keep.

## Blameless Postmortems
**When:** every user-impacting incident above a severity threshold, any SLO budget burn > a set fraction, and near-misses worth learning from.
**Principles:** focus on how the system allowed the failure; examine the local rationality of responders ("what did the dashboards show, what did they know at the time"); no naming-and-blaming; facts with timestamps.

Template:
```
Title / Severity / Date / Authors / Status
Summary (3-4 sentences: impact, duration, root contributing factors, fix)
Impact: users affected, SLO budget consumed, revenue/data impact
Timeline (UTC): detection, escalation, key decisions, mitigation, resolution
Contributing factors (technical and organizational) — avoid single "root cause"
Detection: how we found out; how could we have found out sooner?
What went well / what was hard / where we got lucky
Action items: [type: prevent|detect|mitigate] [owner] [due date] [ticket link]
```
Action-item governance: track in the normal backlog with a label; review open items weekly in the ops review; escalate items past due. Tie to the error budget policy: if the budget is exhausted, prevention items for the largest contributors take priority over features.

## Metrics to Track
- MTTA (time to acknowledge), time to mitigate, time to resolve — trend, don't target blindly.
- Pages per shift and % actionable (aim for most pages to require action).
- Repeat incidents with the same contributing factor.
- Postmortem action items closed on time.

## Anti-Patterns
- Paging on causes (CPU 90%) instead of symptoms.
- Auto-remediation without rate limits (restart loops hide real outages).
- Postmortems that end with "human error" or "be more careful".
- Action items without owners/due dates, or stored only in the doc.

## Checklist
- [ ] Alertmanager grouping + inhibition reviewed against the last month's pages.
- [ ] Runbook link required on every paging rule (lint in CI).
- [ ] Automation tiers defined with approval and rate limits.
- [ ] Postmortem template + weekly review of action items.

## References
- `../references/incident_management.md`
- `../references/on_call.md`
- `../references/toil_reduction.md`

Versions

RepositoryScoreLicence
This page · j4flmao/agent-skills95MIT
TheBushidoCollective/han100Apache-2.0

Database snapshot: 13.11.2026 · package version e11cfdcfc42a (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100incident-runbook
    Incident response runbooks, on-call workflows, and postmortem templates. Generates severity-tiered runbooks, communication templates, timeline reconstruction, and blameless postmortem docs. Use when user is in an incident, doing on-call prep, writing a postmortem, or building…
  • 95devops-incident-response
    Use this skill when the user says 'incident response', 'on-call', 'PagerDuty', 'OpsGenie', 'incident management', 'postmortem', 'runbook', 'severity', 'escalation', 'SEV', 'incident command', 'SEV1', 'SEV2', 'incident timeline'. This skill enforces: severity classification with…
  • 100incident
    Incident response and post-mortem skill. Severity classification (SEV1-4), timeline construction, blameless post-mortems, action item tracking. Triggers on: /godmode:incident, "production is down", "post-mortem", "incident report".
  • 100incident-response
    Run an incident from the first alert to a blameless postmortem, with a severity, clear roles, regular updates and mitigation before root cause. Use it whenever a service is down, slow or losing data, an alert fires, a deploy broke production, or the user asks for a postmortem or runbook.
  • 10009-saas-incident-response-and-postmortem
    Use when producing or updating SaaS incident response and postmortem procedure for incident command, containment, recovery, communication, evidence, and blameless learning. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence.
  • 90incident-postmortem
    Write a blameless postmortem or incident report from logs, alerts, chat transcripts, tickets and notes. Use when the user says "write the postmortem", "incident report", "RCA", "what happened during the outage", or pastes an incident timeline or Slack thread.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.