incident-response

incident-response is a skill for Claude Code, Codex from caiaffa/claude-code-ultimate-engineering-system. It costs 22 tokens per session (612 once invoked), scanned A, original, MIT.

A guide for handling live software incidents, such as outages, high error rates, slow services, or stuck queues. It covers assessing impact, limiting damage, restoring service, and reviewing what happened.

In plain words
What is it for?
Use it to triage incidents, roll back or disable risky changes, limit traffic, investigate after recovery, and pass the issue to follow-up reviews.
Why use it?
It gives on-call engineers a clear order of actions when users are affected, so they can stabilize the system before spending time on deeper debugging.

Skill for Claude CodeCodex

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/caiaffa/claude-code-ultimate-engineering-system/incident-response
Any agent
npx skills add caiaffa/claude-code-ultimate-engineering-system --skill incident-response
Clone the repo
git clone --depth 1 https://github.com/caiaffa/claude-code-ultimate-engineering-system

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/caiaffa/claude-code-ultimate-engineering-system/incident-response.svg)](https://agentmods.dev/skills/caiaffa/claude-code-ultimate-engineering-system/incident-response)
Your own site
<a href="https://agentmods.dev/skills/caiaffa/claude-code-ultimate-engineering-system/incident-response"><img src="https://agentmods.dev/badge/skills/caiaffa/claude-code-ultimate-engineering-system/incident-response.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 612 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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 $0.00022 $0.00612
Opus 5 $0.00011 $0.00306
Sonnet 5 $0.00004 $0.00122
Haiku 4.5 $0.00002 $0.00061

Measured 5d ago against content hash 24eb78d24077, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

skills/incident-response/SKILL.md · 61 lines

How it starts

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

Mission

Reduce user impact quickly, stabilize the system safely, and turn operational pain into learning and prevention.

When to use

  • Production behavior degrades.
  • Queue stalls or backlog grows.
  • Latency or error rate spikes.
  • Dependency fails or becomes slow.
  • On-call response needs structure.

Handoff

  • Receives from: CLAUDE.md orchestrator (incident category) or direct alert.
  • Hands off to: deep-root-cause-investigator (after stabilization), then postmortem-reviewer + incident-learning-loop (after resolution).

Phase 1: Triage (first 5 minutes)

  1. What is the user impact? (none / degraded / partial outage / full outage)
  2. What is the blast radius? (one user / segment / all users / all services)
  3. When did it start? (correlate with deploys, config changes, traffic spikes)
  4. Is it getting worse? (check trend in last 15 min)

Phase 2: Contain (next 15 minutes)

  • Can we rollback? → Do it. Don't debug first.
  • Can we feature-flag it off? → Do it.
  • Can we scale or rate-limit? → Do it.
  • Can we redirect traffic? → Do it.
  • Mitigation before diagnosis when users are impacted.

Phase 3: Investigate (after stabilization)

  1. List top 3 hypotheses ranked by likelihood.
  2. For each hypothesis, list the ONE signal that confirms or eliminates it.
  3. Check signals in order. Eliminate fast.
  4. When cause is found, verify with a second independent signal.

Phase 4: Resolve and learn

  1. Confirm user impact has ended.
  2. Document timeline: start → detect → contain → resolve.
  3. Identify contributing factors (not just the trigger).
  4. Schedule postmortem within 48 hours.

Red flags during incident

  • "Let's monitor" without defining what signal and what threshold.
  • Debugging deep code paths while users are still impacted.
  • Multiple people making changes simultaneously without coordination.
  • Assuming a restart fixed the root cause.

Output format

  1. Impact: who, how many, what functionality
  2. Severity: SEV1 / SEV2 / SEV3 / SEV4
  3. Timeline: when started, when detected, gap
  4. Immediate containment actions (prioritized)
  5. Hypotheses (ranked, with confirmation signals)
  6. Investigation plan (ordered steps)
  7. Contributing factors (not just the trigger)
  8. Long-term fixes (not just "add monitoring")
  9. Postmortem actions (owner + deadline)

Read the full file on GitHub · 61 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. 5d ago First seen · 61 lines · 22 tokens per session scan A 24eb78d24077

Subscribe to this mod's changes

incident-response is a skill published in the GitHub repository caiaffa/claude-code-ultimate-engineering-system (17 stars, last pushed 2mo ago), licensed MIT. It adds 22 tokens to every session and 612 once invoked, about $0.0001 per session on Opus 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-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens