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.
npx skills add tmj-90/gaffer --skill incident-responsegit clone --depth 1 https://github.com/tmj-90/gafferWrote 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.
[](https://agentmods.dev/skills/tmj-90/gaffer/incident-response)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
- 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.
- 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.
- Open a live state document and keep a UTC timeline: every observation, decision, and action with who/when. It becomes the postmortem's timeline.
- 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.
- 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.
- 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.
- 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.
- 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-evidenceskill, then stop.
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.
- 25d ago Changed · +32 lines 9de5ae7555b5
- 1mo ago First seen · 63 lines · 85 tokens per session scan A 7a36be922e45
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.
Other skills, from other repositories
issue-debugging
Systematic methodology for issue debugging including root cause analysis, impact mapping, tiered validation plans, and confidence assessment. Use when analyzing bugs, fixing issues, or validating fixes.
fix-bug
Run the Fix Validation pipeline to investigate, fix, and validate a bug. Ensures deterministic pipeline execution with IssueAnalyzer, FixWriter, TestWriter (conditional), TestAudit (conditional), and FixValidator stages.
pact-bug
Log a bug investigation using PACT's structured bug tracker.
browser-edge-cases
SOP for debugging browser automation failures on complex websites. Use when browser tools fail on specific sites like LinkedIn, Twitter/X, SPAs, or sites with Shadow DOM.
triage-issue
Analyze a GitHub issue, verify claims against the codebase, and close invalid issues with a technical response.
hive.error-recovery
Follow a structured recovery decision tree when tool calls fail instead of blindly retrying or giving up.