incident-response

incident-response is a skill for Claude Code, Codex from jamestorrevillas/dev-skills. It costs 65 tokens per session (824 once invoked), scanned A, original, MIT.

A guide for handling production incidents such as outages, service disruptions, and serious bugs from detection through follow-up. A production incident is a problem affecting software that users rely on.

In plain words
What is it for?
Use it during on-call events to assign roles, investigate logs and recent changes, consider a rollback, escalate problems, and write a post-incident review.
Why use it?
It provides a way to assess impact, coordinate people, communicate updates, restore service, and learn how to prevent a repeat.

Skill for Claude CodeCodex

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

Good fit Use it during on-call events to assign roles, investigate logs and recent changes, consider a rollback, escalate problems, and write a post-incident review.

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

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/jamestorrevillas/dev-skills/incident-response/github.svg)](https://agentmods.dev/skills/jamestorrevillas/dev-skills/incident-response)
Your own site
<a href="https://agentmods.dev/skills/jamestorrevillas/dev-skills/incident-response"><img src="https://agentmods.dev/badge/skills/jamestorrevillas/dev-skills/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/jamestorrevillas/dev-skills/incident-response"><img src="https://agentmods.dev/badge/skills/jamestorrevillas/dev-skills/incident-response.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 824 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.00065 $0.00824
Opus 5 $0.00032 $0.00412
Sonnet 5 $0.00013 $0.00165
Haiku 4.5 $0.00006 $0.00082

Measured 9d ago against content hash 4597bd6ad168, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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.

.github/skills/incident-response/SKILL.md · 134 lines

How it starts

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

Incident Response

The Five Phases

DETECT → ASSESS → RESPOND → RESOLVE → LEARN

Every incident touches all five. Never skip LEARN — it's the only one that prevents recurrence.


Phase 1: Detect & Assess (First 5 Minutes)

1. What is broken? (specific service, feature, endpoint)
2. Who is affected? (all users, subset, specific region)
3. What is the impact? (data loss? revenue? user-facing?)
4. When did it start? (correlate with recent deploys/changes)
5. Severity: P1 (all users, data loss) / P2 (major feature) / P3 (minor)

Communicate immediately — even if you don't know the cause yet:

"We're investigating an issue with [service]. 
Impact: [who is affected]. 
We'll update in 15 minutes."

Phase 2: Respond (During Incident)

Incident Roles

  • Incident Commander — coordinates, communicates, makes calls
  • Technical Lead — investigates and fixes
  • Communicator — updates stakeholders

Response Checklist

  • Create incident channel/ticket
  • Assign IC and Technical Lead
  • Begin investigation (check logs, metrics, recent changes)
  • Post status updates every 15-30 minutes
  • Consider rollback if recent deploy is suspect
  • Escalate if not resolved in [your SLA]

Rollback Decision Criteria

Roll back immediately if:

  • Root cause is a recent deploy (< 24h)
  • Fix is not immediately obvious
  • User impact is severe

Phase 3: Resolve

Document as you go:

Timeline:
[time] - Incident detected: [symptom]
[time] - Identified probable cause: [cause]
[time] - Applied fix: [action taken]
[time] - Monitoring for stability
[time] - Incident resolved

Phase 4: Post-Mortem (Within 48h)

Post-Mortem Template

## Incident: [title]
**Date:** | **Duration:** | **Severity:**

### Summary
[2-3 sentences: what happened and impact]

### Timeline
[Chronological events from detection to resolution]

### Root Cause
[The actual cause — not the symptom]

### Contributing Factors
[Conditions that allowed this to happen]

### What Went Well
[Things that helped during response]

### Action Items
| Action | Owner | Due Date |
|--------|-------|----------|
| [preventive fix] | [name] | [date] |
| [monitoring improvement] | [name] | [date] |

Read the full file on GitHub · 134 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. 9d ago First seen · 134 lines · 0 tokens per session scan A 4597bd6ad168

Subscribe to this mod's changes

incident-response is a skill published in the GitHub repository jamestorrevillas/dev-skills (3 stars, last pushed 5mo ago), licensed MIT. It adds 65 tokens to every session and 824 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

log-analyzer

Senior-SRE log analysis specialist. Use when investigating incidents from logs, triaging error spikes, extracting timelines, correlating distributed traces, or separating signal from noise across plain-text, JSON (slog/zap), syslog, journald, container, and Kubernetes logs. ALWAYS use when the user asks to "analyze…

johnqtcg/awesome-skills · 138 tokens

incident-postmortem

Incident post-mortem specialist for writing blameless post-mortems, extracting timelines from logs/events, conducting root cause analysis (5-Why, fishbone), classifying severity, and generating tracked action items. ALWAYS use when writing a post-mortem, reviewing an incident, extracting a timeline, performing root…

johnqtcg/awesome-skills · 98 tokens

systematic-debugging

Use when debugging, diagnosing, or investigating any bug, test failure, flaky test, race condition, unexpected behavior, build failure, production incident, third-party breakage, root cause analysis, or performance regression before proposing fixes.

johnqtcg/awesome-skills · 49 tokens

hotfix

Fixes an observed defect with reproducible evidence in one call: writes a short trace doc before touching code, implements the fix, and backs it with a regression test written before the fix. Production incidents are the motivating case, not a gate. When blocked, it halts by name and saves the doc for a later call to…

pe-menezes/vibeflow · 102 tokens

sap-sac-scripting

Comprehensive SAC scripting skill for SAP Analytics Cloud Analytics Designer and Optimized Story Experience. This skill should be used when the user asks to "create SAC script", "debug Analytics Designer", "optimize SAC performance", "planning operations in SAC", "filter data in SAC", "use DataSource API", "chart…

secondsky/sap-skills · 166 tokens

sapui5-linter

Use this skill when working with the UI5 Linter (@ui5/linter) for static code analysis of SAPUI5/OpenUI5 applications and libraries. Covers setup, configuring linting rules, running the linter to detect deprecated APIs, global variable usage, CSP violations, and manifest issues. Supports autofix for deprecated API…

secondsky/sap-skills · 103 tokens