incident-response

incident-response is a skill for Claude Code, Codex from kid-sid/codex-spellbook. It costs 37 tokens per session (2,931 once invoked), scanned A, original, MIT.

A guide to handling production incidents, meaning failures or serious degradation in a live software service. It covers detection, mitigation, communication, postmortems, runbooks, severity levels, and on-call escalation.

In plain words
What is it for?
Use it to triage alerts, classify incidents from minor issues to outages or data loss, write postmortems, create runbooks, define escalation paths, and run incident exercises.
Why use it?
It provides a shared way to judge urgency and coordinate a response when users are affected. It also helps teams record what happened and reduce the chance of the same failure returning.

Skill for Claude CodeCodex

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

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.

agentmods
npx agentmods add skills/kid-sid/codex-spellbook/incident-response
Any agent
npx skills add kid-sid/codex-spellbook --skill incident-response
Clone the repo
git clone --depth 1 https://github.com/kid-sid/codex-spellbook

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/kid-sid/codex-spellbook/incident-response.svg)](https://agentmods.dev/skills/kid-sid/codex-spellbook/incident-response)
Your own site
<a href="https://agentmods.dev/skills/kid-sid/codex-spellbook/incident-response"><img src="https://agentmods.dev/badge/skills/kid-sid/codex-spellbook/incident-response.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,931 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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.00037 $0.02931
Opus 5 $0.00018 $0.01465
Sonnet 5 $0.00007 $0.00586
Haiku 4.5 $0.00004 $0.00293

Measured 6d ago against content hash 3fb16a6cec91, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

incident-response scanned grade A with 1 finding 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 6d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

-- curl -s localhost:8080/metrics | grep db_pool
skills/incident-response/SKILL.md · 277 lines

How it starts

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

Incident Response

Incident response is the structured process of detecting, mitigating, communicating, and learning from production failures to minimise user impact and prevent recurrence.

When to Activate

  • Triaging a production alert or on-call page
  • Writing a postmortem after an incident
  • Creating or updating a runbook for a service
  • Defining severity levels and escalation paths for a team
  • Setting up an on-call rotation
  • Running an incident response drill or game day

Severity Classification

Severity Definition Response SLA Comms cadence Example
P0 Total outage or data loss — all users affected Page immediately, < 5 min Every 15 min Payment service down, DB unreachable
P1 Major feature broken — most users affected < 15 min acknowledgement Every 30 min Login failing for 50%+ of users
P2 Significant degradation — subset of users affected < 1 hour Every 2 hours Search slow for US region
P3 Minor issue — small impact, workaround available Next business day Once resolved Non-critical dashboard shows stale data
P4 Cosmetic / no user impact Sprint backlog N/A Log noise, minor UI misalignment

Escalation path:

  • P0/P1: page on-call engineer → page on-call lead if not ack'd in 5 min → escalate to eng manager
  • P2: page on-call engineer
  • P3/P4: create ticket, no page

Incident Lifecycle

Detection → Triage → Mitigate → Communicate → Resolve → Review (Postmortem)

First 5 Minutes — Triage Checklist

  • Acknowledge the alert and claim the incident in your incident tool (PagerDuty / Opsgenie)
  • Identify: what is broken, who is affected, since when?
  • Check the deployment timeline: was anything deployed in the last 2 hours?
  • Check the dashboards: error rate, latency, saturation — which service is the origin?
  • Open an incident channel: #inc-YYYY-MM-DD-short-description
  • Post initial acknowledgement message (see template below)
  • Assign roles: Incident Commander (IC), Communicator, Subject Matter Expert (SME)

Read the full file on GitHub · 277 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. 6d ago First seen · 277 lines · 37 tokens per session scan A 3fb16a6cec91

Subscribe to this mod's changes

incident-response is a skill published in the GitHub repository kid-sid/codex-spellbook (21 stars, last pushed 3mo ago), licensed MIT. It adds 37 tokens to every session and 2,931 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

diagnose

Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.

emdash-cms/emdash · 43 tokens

azsdk-common-pipeline-analysis

Analyze Azure SDK CI/CD pipeline failures into a structured diagnosis, and define the required output format. Load this skill before calling azsdkanalyzepipeline, which returns raw failure data that this skill interprets and formats. USE FOR: "pipeline failed", "build failure", "CI check failing", "tests failing in…

Azure/azure-sdk-for-net · 192 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens