incident-response

incident-response is a skill for Claude Code, Codex from tmj-90/gaffer. It costs 85 tokens per session (1,361 once invoked), scanned A, original, Apache-2.0.

A process for handling a declared production incident, including judging its severity, assigning responsibility, containing the problem, restoring service, and reviewing what happened afterward. A production incident is a live failure or degradation affecting users or systems.

In plain words
What is it for?
Use it to classify SEV1–SEV4 incidents, coordinate incident commanders and technical leads, follow the NIST response lifecycle, and run a blameless post-mortem.
Why use it?
It gives the team a shared response process and escalation path, while filtering out false alarms and reducing the chance of repeated incidents.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to classify SEV1–SEV4 incidents, coordinate incident commanders and technical leads, follow the NIST response lifecycle, and run a blameless post-mortem.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tmj-90/gaffer/incident-response
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tmj-90/gaffer --skill incident-response
Clone the repo
git clone --depth 1 https://github.com/tmj-90/gaffer

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for incident-response

README.md
[![agentmods](https://agentmods.dev/badge/skills/tmj-90/gaffer/incident-response/github.svg)](https://agentmods.dev/skills/tmj-90/gaffer/incident-response)
Your own site
<a href="https://agentmods.dev/skills/tmj-90/gaffer/incident-response"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/incident-response/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for incident-response

Your own site · 80×15
<a href="https://agentmods.dev/skills/tmj-90/gaffer/incident-response"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/incident-response.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,361 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00085 $0.01361
Opus 5.5 $0.00034 $0.00544
Sonnet 5.5 $0.00017 $0.00272
Haiku 4.5 $0.00009 $0.00136

Measured 25d ago against content hash 9de5ae7555b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

incident-response scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

runner/skills/incident-response/SKILL.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Manage declared incidents end-to-end

Mitigate first, understand second, learn always. Structure follows the Google SRE book ("Managing Incidents", "Postmortem Culture") and, for security incidents, NIST SP 800-61 Rev. 3 (detect → respond → recover, feeding back into preparation). In Gaffer you usually act on artefacts — classification notes, the incident timeline, the postmortem, the follow-up tickets — not on production: you cannot deploy, roll back or reach cloud consoles, and never run a production-changing command. Mitigations are recommendations a human executes; if one is needed now, raise request_decision with severity: human_required (or security_required for a security incident).

Severity and declaration

Sev Impact Examples
SEV1 Data loss or corruption, security breach, full outage acknowledged writes lost, credentials leaked
SEV2 Major user journey broken or SLO fast-burn page firing checkout 30% errors
SEV3 Degradation with workaround, slow-burn budget consumption one region slow
SEV4 No user impact yet a single replica crash-looping

Declare an incident (SRE book criteria) if any is true: a second team is needed; the problem is user-visible; it is unresolved after an hour of focused work. When in doubt, declare at the higher severity and downgrade later. Any loss of acknowledged data is SEV1 regardless of how few users saw it.

Procedure

  1. Confirm it is real. Compare the firing signal to its baseline; check whether the alert rule, the deploy, or the telemetry pipeline changed recently. A false positive ends here: record why, and file an alert-tuning follow-up. Do not silence without a record.
  2. Classify and assign roles. Severity from the table. Roles: Incident Commander (coordinates, decides, owns the state document), Operations lead (the only one changing systems), Communications lead (stakeholder updates on a fixed cadence), Planning lead (tracks follow-ups, handoffs). One person may hold several roles for SEV3/4; the IC role is always explicit and handed off explicitly.
  3. Open a live state document and keep a UTC timeline: every observation, decision, and action with who/when. It becomes the postmortem's timeline.
  4. Mitigate before root cause. Fastest safe action that stops user harm: roll back the last change, disable the feature flag, shift traffic, shed load, stop the writer that is corrupting data. For suspected data loss, stop further writes to the affected store before anything else. For security incidents, contain (revoke credentials, isolate hosts) while preserving evidence — snapshot logs and disks before restarting or deleting anything. Write the chosen action into the state document for a human to execute; you do not execute it.
  5. Diagnose from the first anomaly forward. Which golden signal moved first, in which component, right after which change? Check deploys, config changes, dependency status, traffic shape. For data-integrity incidents look specifically for concurrent writers, read-modify-write without locking or versioning, temp-file name collisions, and time-based locks or leases that another process could break while the holder was paused (GC, SIGSTOP, VM migration) — the class of defect that shipped twice in live runs.
  6. Recover and verify. The code fix goes on this ticket's branch; a human deploys it. Write the recovery check into the state document: the SLI back within SLO over a full short window and, for data incidents, what was acknowledged reconciled against what was persisted. State the impact numerically from the data you were given.
  7. Postmortem — mandatory for SEV1/SEV2, any data loss, any on-call intervention (rollback, traffic reroute), any incident found by a human rather than monitoring. Draft within 2 business days. Sections: summary; impact (users, duration, error budget consumed, data affected); UTC timeline; root cause(s) and trigger; contributing factors; detection (how, how fast, what would have caught it sooner); what went well; where we got lucky; action items.
  8. Action items each have an owner, a priority, a due date, and a tracking reference; at least one per contributing factor; prefer items that prevent a class of failure (a test schedule that pauses the lock holder, an alert on lease takeovers) over "be more careful". Evidence the postmortem with the record-evidence skill, then stop.

Read the full file on GitHub · 95 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 25d ago Changed · +32 lines 9de5ae7555b5
  2. 1mo ago First seen · 63 lines · 85 tokens per session scan A 7a36be922e45

Subscribe to this mod's changes

incident-response is a skill published in the GitHub repository tmj-90/gaffer (2 stars, last pushed 26d ago), licensed Apache-2.0. It adds 85 tokens to every session and 1,361 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.