Logo: Incident Response

Incident Response

Communautéit
nahid-sparktales
incident-response

Stabilize a system that is failing right now — name the signal that flagged it, size the blast radius in numbers, keep a timestamped log written as you go, find the last known-good state, then propose the smallest reversible mitigation and confirm recovery against that same signal. Use when production is degraded or down and time to mitigation matters more than a complete explanation. Not for a defect that is not currently failing (systematic-debugging), not for the root-cause investigation or the postmortem that follows, and never authorization to touch production without asking first.

Iwwersiicht

Editeurnahid-sparktales
Repositoryagent-dispatcher
Skill-Nummincident-response
Stären
58
Forks
5
Matgeliwwert Dateien
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    nahid-sparktales huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Incident Response an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/devops/incident-response
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nahid-sparktales/agent-dispatcher.git /tmp/agent-dispatcher
mkdir -p .claude/skills
cp -r /tmp/agent-dispatcher/skills/devops/incident-response .claude/skills/incident-response
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Incident Response an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Incident Response automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Incident Response net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Incident response

Mitigation comes before explanation. The cause keeps; the outage does not. Every step here exists to stop you from applying an unrecorded change you cannot undo and then calling a coincidence a fix.

When this fires

A production system is failing or degraded now and the harm is ongoing. It stops firing the moment the signal is stable again — then it is a debugging problem and a postmortem, not this.

If the symptom has already passed on its own, do not start mitigating. Preserve evidence and hand it to investigation.

Procedure

  1. Name the flagging signal exactly — which alert, dashboard, query or user report, what threshold, and the first bad timestamp. Everything you do later is judged against this one signal. If nobody can name it, you do not yet know that anything is wrong.
  2. Open the log before investigating. Append-only, UTC timestamps, one line per observation, action and decision, each action recording who ran it and what happened. A timeline written afterwards is a story assembled from memory of a stressful hour.
  3. Size the blast radius in numbers: who (users, tenants, regions), what (endpoints, jobs, features), how much (share and absolute count of affected requests), since when — and whether it is growing, flat or shrinking. "Lots of users" is not a blast radius.
  4. Say the impact out loud early, and leave comms to a human. Status pages, customer notices and broadcast messages are outward-facing: draft them if asked, stop before posting.
  5. Enumerate what changed before the first bad timestamp — deploys, config edits, feature-flag flips, migrations, scaling changes, dependency bumps, credential or certificate rotation, traffic shifts, upstream vendor status. List them before forming a causal theory; a theory formed first will pick whichever change it likes.
  6. Rank mitigations by reversibility and blast radius, not by how likely they are to be the cause. Revert the deploy, flip the flag off, drain or fail over the bad instance, scale out, shed load or rate-limit, restart. A mitigation does not need to know the cause. Writing a forward fix during an outage is the least reversible option available — treat it as the last one.
  7. Before applying anything, state four things: the expected effect on the flagging signal, the window you expect it in, the risk the action itself carries, and exactly how to undo it. Then stop and ask. Every production-affecting action needs its own confirmation, and "while I am in there" changes are never included in it.
  8. Apply one change at a time and record the time it went in. Two simultaneous changes buy an uninterpretable recovery and a mitigation nobody can safely remove later.
  9. Preserve evidence before it ages out. Copy the log excerpts, the metric graph with its time range, traces, failing payloads and the exact error strings into the incident log. Never delete logs, rotate files, drop tables or clear a queue to make a symptom disappear — that is irreversible data loss during the one hour it matters most; stop and ask.
  10. Confirm recovery against the flagging signal, over a window long enough to outlast a coincidental dip and to cover at least one full cycle of whatever failed. A green build, a passing test, a healthy synthetic check and "I am not seeing errors now" are none of them recovery evidence.
  11. If the mitigation did not work, undo it before trying the next one. An incident carrying three abandoned mitigations has become a second incident with no known-good state.
  12. Hand off explicitly: what is mitigated and by what, what is still unexplained, every change still in place and how to remove it, and where the preserved evidence is. Root cause goes to systematic debugging once the bleeding has stopped.

Checklist

  • The flagging signal is named, with its threshold and first bad timestamp
  • A timestamped log exists and was written during, not after
  • Blast radius stated in numbers, with its direction of travel
  • Recent changes enumerated before any causal theory was offered
  • Mitigation options ranked by reversibility, with the undo written down
  • Each production-affecting action confirmed individually before it was applied
  • One change at a time, each with the time it was applied
  • Evidence preserved before retention could drop it
  • Recovery confirmed on the flagging signal over a stated window
  • Handoff names what is mitigated, what is unexplained, and what must still be removed

Failure handling

  • The signal recovered but your change could not have reached it — different region, tenant or code path — it is a coincidence. Do not close the incident on it; keep watching.
  • Nothing changed in the window — not every incident is self-inflicted. Check upstream provider status, expired certificates, exhausted quotas or licences, full disks and volumes, rotated credentials, and the slowly growing resource (connections, queue, retention, ids) that crossed a threshold with no deploy at all.
  • Several things broke at once — look for the shared dependency before treating them as separate incidents.
  • Monitoring itself is degraded — absence of alerts is now unknown, not healthy. Say so and fall back to a signal you can read directly.
  • "Just restart it" — acceptable as a mitigation when it is reversible and recorded, but a restart destroys the process state that would have explained the failure. Capture what you can first, and expect it to return.
  • Pressure to apply a fix without confirmation — urgency is not authorization. State the proposed action and its undo, and wait.

Evidence to report

The timestamped log itself, verbatim — it is the deliverable, not a summary of it. The flagging signal with its query, and its values before and after with timestamps. Each action with the time applied, who confirmed it, and its observed effect on that signal. Then state plainly what is mitigated (the symptom stopped) versus what is fixed (the cause is gone) — conflating these is how a mitigation gets removed a week later and takes the site down again. List what remains unexplained, and every temporary change still holding the system up, each with an owner.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Incident Response?

Stabilize a system that is failing right now — name the signal that flagged it, size the blast radius in numbers, keep a timestamped log written as you go, find the last known-good state, then propose the smallest reversible mitigation and confirm recovery against that same signal. Use when production is degraded or down and time to mitigation matters more than a complete explanation. Not for a defect that is not currently failing (systematic-debugging), not for the root-cause investigation or the postmortem that follows, and never authorization to touch production without asking first.

Firwat Incident Response op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Incident Response besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Incident Response an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/nahid-sparktales/agent-dispatcher/tree/main/skills/devops/incident-response an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Incident Response benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Incident Response benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Incident Response domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Incident Response gratis?

Jo. nahid-sparktales huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇