Logo van Sre Incident Response

Sre Incident Response

Community
paulip114
sre-incident-response

Use during or when preparing for a production incident — declaring it, incident command roles, the live incident document, status updates, mitigation, handoff, drills — and when systematically diagnosing a production problem. Based on Google's IMAG / Incident Command System practice.

Overzicht

Uitgeverpaulip114
Repositorysre-practice-skills
Skillnaamsre-incident-response
Sterren
64
Forks
19
Meegeleverde bestanden
1
LicentieApache-2.0
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 1

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door paulip114 op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Sre Incident Response in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/paulip114/sre-practice-skills/tree/main/sre-incident-response
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/paulip114/sre-practice-skills.git /tmp/sre-practice-skills
mkdir -p .claude/skills
cp -r /tmp/sre-practice-skills/sre-incident-response .claude/skills/sre-incident-response
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Sre Incident Response in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Sre Incident Response automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Sre Incident Response niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Incident Response and Troubleshooting

Manage the incident (people, communication, control) and resolve it (mitigate first, then diagnose systematically).

Incident Response

Resolve the incident (mitigate impact, restore service) and manage it (coordinate people, keep everyone informed). Most incidents that spiral do so because of management failures, not technical ones.

The 3Cs

  • Coordinate the response effort.
  • Communicate among responders, to the organization, and to users.
  • Control the response: one clear line of command; no freelancing.

Common failure modes to guard against: the on-call is so deep in the technical problem that nobody manages; nobody knows what others are doing; well-meaning people make uncoordinated changes that make things worse.

When to declare an incident

Declare early. It is cheap to close a small incident and expensive to organize a big one hours late. Declare if any is true:

  • A second team is needed to fix it.
  • The problem is visible to users/customers.
  • It is still unsolved after about an hour of focused work.

Teams should keep their own written criteria based on past outages and known high-risk areas.

Roles

RoleResponsibilities
Incident Commander (IC)Holds the overall picture; assigns roles; makes decisions; removes blockers. Holds every role not yet delegated. Does not get lost in debugging.
Operations Lead (OL)Leads hands-on mitigation. The ops team is the only group that changes production during the incident.
Communications Lead (CL)Public face of the response: periodic updates to stakeholders and users, answers inquiries, keeps the incident doc current.
Planning (larger incidents)Files bugs, tracks deviations from normal state to undo later, arranges handoffs and staffing.

The person who declares is IC by default. Roles can be delegated recursively; if anyone is overloaded they ask for more people and create sub-teams.

Running the incident

  1. Declare in the agreed channel; name the IC.
  2. Open the live incident state document (references/incident-state-doc-template.md). IC's most important job is keeping it accurate; most important info at the top.
  3. Assess impact: who/what is affected, since when, how badly, is it growing.
  4. Mitigate first, root-cause later. Users care that errors stop, not that you understand why. Reach for generic mitigations as soon as you know where the problem is, even if you don't know what it is:
    • Roll back the latest release or config push.
    • Drain traffic away from a bad zone/cluster/region.
    • Disable the new feature via flag.
    • Add capacity / shed low-priority load.
    • Block an abusive client. Record every change in the doc so it can be reverted. Preserve evidence (logs, core dumps) where feasible.
  5. Communicate on a cadence (e.g. every 30–60 min for major incidents, even if "no change"). Use pre-written templates. Say clearly when the incident is over — silence is read as "still broken".
  6. Re-evaluate periodically: is the current approach still the best one? Should we escalate or switch tack?
  7. Hand off explicitly. When the IC changes (shift end, fatigue, or someone more experienced arrives), brief the new IC, say "you are now the incident commander", wait for explicit acknowledgment, and announce the change.
  8. Close: confirm recovery with metrics, declare resolved, assign a postmortem owner (sre-postmortem).

Responders should watch their own state: if you're panicking or exhausted, ask for help or rotate out. Rotate long-incident responders every few hours.

Preparing beforehand

  • Write and socialize the incident process (roles, criteria, channel) before it's needed.
  • Agree on one communication channel (chat room + bridge) and practise using it. Don't host it on infrastructure that might be the thing that's down.
  • Keep a contact list of on-calls and escalation paths for every team you depend on.
  • Prepare 2–3 status update templates and know who approves external communications.
  • Build generic mitigation tooling (one-command rollback, drain, feature kill switches) in calm times; review past postmortems to find which ones would have helped.
  • Practise: role-play past incidents ("Wheel of Misfortune"), run disaster-recovery tests, and use the incident framework for ordinary multi-team operations so it stays familiar. Rotate who plays IC.

Effective Troubleshooting

Treat debugging as applied scientific method: observe, hypothesize, test, repeat — while keeping the service alive.

The loop

  1. Problem report. Write down: expected behavior, actual behavior, how to reproduce if possible, when it started, scope. Vague reports ("it's slow") must be sharpened first.
  2. Triage. Judge severity. If users are hurting, stop the bleeding first (rollback, drain, shed load — see Running the incident above) before deep diagnosis. Preserve evidence when you can (logs, snapshots, a held-out instance).
  3. Examine. Look at what the system is telling you:
    • Golden-signal dashboards for the service and its dependencies.
    • Logs and traces for failing requests; compare with a succeeding one.
    • Introspection endpoints (status pages, current config, version, health).
    • Recent changes: deploys, config pushes, flag flips, traffic shifts, dependency changes. Correlating the start time with a change is often the fastest lead.
  4. Diagnose. Form hypotheses that explain all the observations. Narrow the search space:
    • Simplify and reduce — can you reproduce with a smaller input, one instance, one request?
    • Divide and conquer / bisect — test the middle of the request path (or the commit range) and halve the search each step.
    • Ask "what, where, why" — what is the system doing, where are resources going, why is it doing that.
    • What touched it last? — systems tend to stay working until something changes.
  5. Test and treat. Design tests that can disprove a hypothesis. Prefer tests with mutually exclusive outcomes. Consider side effects: a test that adds logging or load can change behavior. Record every test and result.
  6. Cure. Once the cause is confirmed, fix it, verify, and record the findings for the postmortem (sre-postmortem).

Traps to avoid

  • Looking at irrelevant symptoms or misreading metrics — understand what a graph actually measures before trusting it.
  • Not knowing how to change the system or its inputs to test a hypothesis safely.
  • Favoring far-fetched theories over simple ones; remember common causes are common.
  • Chasing coincidences — correlation in time is a lead, not a proof. Other services may share the symptom for unrelated reasons.
  • Anchoring on the first hypothesis; actively list alternatives and look for evidence against your favorite.
  • Changing several things at once — you won't know which one mattered, and you may stack new problems.
  • Freelance changes during an incident — coordinate through the ops lead.

Make systems easier to debug (do this ahead of time)

  • Consistent structured logging with request IDs propagated across services; adjustable log verbosity at runtime.
  • Distributed tracing on critical paths.
  • Introspection endpoints showing version, config, dependency health, and recent errors.
  • Tools that diff current vs last-known-good config/version.
  • Write down useful diagnostic queries and playbook steps after each investigation.

Output when asked to help debug

Return: a sharpened problem statement, the evidence reviewed, a ranked list of hypotheses with the test that would confirm or refute each, recommended immediate mitigation if users are affected, and what to record for the postmortem.

Sources

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Sre Incident Response?

Use during or when preparing for a production incident — declaring it, incident command roles, the live incident document, status updates, mitigation, handoff, drills — and when systematically diagnosing a production problem. Based on Google's IMAG / Incident Command System practice.

Waarom Sre Incident Response gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Sre Incident Response bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Sre Incident Response in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/paulip114/sre-practice-skills/tree/main/sre-incident-response. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Sre Incident Response gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Sre Incident Response gebruiken?

Zoveel als je wilt. Je kunt Sre Incident Response gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Sre Incident Response gratis?

Ja. Deze skill is door paulip114 op GitHub gepubliceerd onder de licentie Apache-2.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇