incident-response

incident-response is a skill for Claude Code, Codex from kouroshez/coding-os. It costs 96 tokens per session (2,830 once invoked), scanned A, original, Apache-2.0.

A playbook for handling production incidents, meaning serious problems affecting a live service. It covers classifying severity, stabilising the service, finding the cause, communicating, fixing the issue, and writing a post-incident review.

In plain words
What is it for?
Use it when alerts fire or users report failures, when preparing launch runbooks, when defining severity levels and on-call rotations, or when leading a postmortem.
Why use it?
During an outage, diagnosing before reducing user impact can waste valuable time. A fixed response order helps the team stabilise the service, investigate, and learn from what happened.

Skill for Claude CodeCodex

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

Good fit Use it when alerts fire or users report failures, when preparing launch runbooks, when defining severity levels and on-call rotations, or when leading a postmortem.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kouroshez/coding-os/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 kouroshez/coding-os --skill incident-response
Clone the repo
git clone --depth 1 https://github.com/kouroshez/coding-os

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/kouroshez/coding-os/incident-response/github.svg)](https://agentmods.dev/skills/kouroshez/coding-os/incident-response)
Your own site
<a href="https://agentmods.dev/skills/kouroshez/coding-os/incident-response"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/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/kouroshez/coding-os/incident-response"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/incident-response.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,830 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.00096 $0.02830
Opus 5.5 $0.00038 $0.01132
Sonnet 5.5 $0.00019 $0.00566
Haiku 4.5 $0.00010 $0.00283

Measured 3mo ago against content hash 6305d40cc2a7, 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/classify_severity.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

src/core/skills/incident-response/SKILL.md · 226 lines

How it starts

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

Incident Response — Stop the Bleeding, Then Diagnose

A practical playbook for handling production incidents and learning from them. Aligned with Google SRE practices and the PagerDuty incident-response framework, refined for 2026 SaaS reality.

When to Use This Skill

  • In an incident — pages firing, users complaining, error rate spiked. Load this skill first, before diagnosing.
  • Before launch — writing the runbook for a feature.
  • After an incident — driving the postmortem.
  • Designing the SEV classification.
  • Defining the on-call rotation.
  • Choosing tools (PagerDuty / Opsgenie / FireHydrant / incident.io).

If the user says "the API is down" / "users can't log in" / "we have an outage" — this skill, immediately.

The Three-Phase Loop

   1. Stabilize        2. Diagnose        3. Resolve
   (5 min)             (30-90 min)        (variable)
   stop the bleeding    understand cause   actual fix
        │                  │                  │
        └──────────────────┴──────────────────┘
                 ↓
            Postmortem (within 5 business days)

The order is fixed. Diagnosis before stabilization wastes the most time, because users keep suffering while you read logs. Stabilize first — even if the fix is hacky — then diagnose.

Phase 1 — Stabilize (the first 5 minutes)

When the page fires:

  1. Acknowledge the page. Don't drop it on someone else's screen.
  2. Open the war room. Slack thread, dedicated channel, Zoom — one place for the team.
  3. Declare a SEV. Stops debate over urgency. See SEV scale below.
  4. Roll back, scale up, or feature-flag off. In that order of preference.
    • Rollback the deploy if the timing matches.
    • Scale up if saturation is the signal.
    • Flip the feature flag off if a specific feature is broken.
  5. Communicate. Status page, internal status, customer support team. "We're investigating an issue affecting X." Don't speculate on cause yet.

Hard rule: in the first 5 minutes you take safe reversible actions only. Rollback is reversible. kubectl delete pod is not.

Read the full file on GitHub · 226 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 226 lines · 96 tokens per session scan A 6305d40cc2a7

Subscribe to this mod's changes

incident-response is a skill published in the GitHub repository kouroshez/coding-os (7 stars, last pushed yesterday), licensed Apache-2.0. It adds 96 tokens to every session and 2,830 once invoked, about $0.0004 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.

Related

incident-response compared with skills from other repositories

incident-response next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
incident-responsekouroshez/coding-osSkill7yesterdayApache-2.0A96Claude Code, Codex
graphifyGraphify-Labs/graphifySkill155ktodayApache-2.0B76Claude Code
graph-mutation-planpotpie-ai/potpieSkill5.8k5d agoApache-2.0A22Claude Code, Codex
tencent-ima-wikizj-unicom-ai/UniEmployeeSkill88710d agoMITA127Claude Code, Codex
neural-memorynhadaututtheky/neural-memorySkill246todayMITA125Claude Code
compiler-ecb30d5bFuRongJun-1999/dsh-memorySkill763todayMITA112Claude Code
bi-conversion-analysisagentscope-ai/QwenPaw-DataSkill210todayApache-2.0A141Claude Code, Codex