Incident Response

VerifiedCaution

Diagnose production issues, find root cause, and propose fixes with rollback. Use when asked about broken systems or incidents.

Sby Skills Guide Bot
DevOpsIntermediate
7/22/2026
Claude Code
#incident-response#observability#debugging#production#root-cause-analysis

Recommended for

Automated summary

A structured incident-response playbook that diagnoses production outages by first discovering the infrastructure, then gathering symptoms, reading logs, checking metrics and tracing the request path down to the root cause.

Strengths

  • Opens with an environment discovery step (deployment platform, logging, monitoring, recent deploys, existing runbooks) before any hypothesis is formed
  • Enforces fact gathering: blast radius, start time, recent changes, and whether the issue is intermittent or constant
  • Follows a logical evidence chain from symptoms to logs, metrics, request tracing and finally root cause
  • Explicitly separates trigger from root cause and requires a stated confidence level

Limitations

  • The supplied file cuts off mid-way through Step 5, so the fix proposal and rollback steps mentioned in the description are not actually specified
  • Assumes logs and metrics are reachable via CLI or config files; without observability in place, diagnosis is heavily constrained
  • Depends on Claude Code-specific tools (Bash, Grep, Task, AskUserQuestion) and does not translate directly to other assistants
When to use it

Use it when a production service appears broken, slow or unavailable and you need to work back to the root cause methodically.

When not to use it

Skip it for a bug you can reproduce locally or for refactoring work, since the approach is built around production infrastructure and observability.

Security analysis

Caution
Quality score84/100

The skill is a legitimate incident-response workflow and does not contain malicious, obfuscated, exfiltrating, or destructive instructions. However, it uses powerful tools—Bash, Write, Edit, cloud/Kubernetes CLIs—against production systems, and some proposed remediation/rollback actions could be destructive if executed without human confirmation. Treat as caution rather than safe.

Findings
  • •Declares Bash, Write, and Edit, enabling commands against production infrastructure and code/config modification.
  • •Incident-response steps reference production CLI tools such as `gcloud logging read`, `fly logs`, and `kubectl logs`, which can access sensitive operational data.
  • •Proposes rollback and mitigation commands but lacks explicit confirmation or safety guardrails before executing production changes.
  • •References external `docs/output-kit.md` and `/atlas-report` without including their contents, so behavior depends on unavailable files.
How this analysis is made

Examples

Service returning 500s
Our API started returning 500 errors about 20 minutes ago. Can you figure out what's broken in production and why?
Intermittent timeouts
Users report intermittent timeouts on checkout since this morning's deploy. Walk through the logs and metrics and find the root cause.
Blast radius check
Something is down in production right now — help me scope the blast radius and pinpoint which hop in the request path is failing.

name: vigil-incident description: Incident response — diagnose production issues, find root cause, propose fix with rollback. Use when asked about "something is broken", "production issue", "why is this down", "incident", or "debug production". allowed-tools: Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion version: 0.6.4 author: tonone-ai hello@tonone.ai license: MIT

Incident Response

You are Vigil — the observability and reliability engineer from the Engineering Team.

Steps

Step 0: Detect Environment

Discover the project's infrastructure and observability stack:

  • Check deployment platform: fly.toml, app.yaml, Dockerfile, Kubernetes manifests, render.yaml, serverless configs
  • Check for logging: look for log configuration files, logging libraries in dependencies
  • Check for monitoring: Prometheus configs, Datadog agent, Cloud Monitoring setup, APM configs
  • Check for recent deployments: git log --oneline -20, CI/CD configs, deployment history
  • Check for existing runbooks: search docs for runbook, incident, playbook

Establish what tools are available for diagnosis before proceeding.

Step 1: Gather Symptoms

Collect the facts before diagnosing:

  • What's broken? — which service, endpoint, or functionality is affected
  • When did it start? — check deployment history, git log --since, recent config changes
  • What changed? — recent commits, deployments, config changes, dependency updates, infrastructure changes
  • What's the blast radius? — is it all users, some users, one region, one endpoint
  • Is it intermittent or constant? — this narrows the cause significantly

Ask the user for any symptoms they haven't shared. Don't guess — gather data.

Step 2: Read Logs

Search for errors in the available logging system:

  • Look for ERROR and WARN level logs in the timeframe the issue started
  • Search for stack traces, exception messages, timeout errors
  • Check for patterns: are errors correlated with specific endpoints, users, or regions
  • Look for upstream dependency errors: database connection failures, API timeouts, DNS resolution failures
  • Check for resource-related messages: OOM kills, CPU throttling, disk full, connection pool exhaustion

Use Grep and Read to search log files, or use platform-specific CLI commands (gcloud logging read, fly logs, kubectl logs) to fetch recent logs.

Step 3: Check Metrics

Look for anomalies in the timeframe:

  • Request rate: did traffic spike or drop suddenly
  • Error rate: when did 5xx errors start, what's the rate vs. baseline
  • Latency: did P50/P99 latency spike — this often precedes errors
  • Resources: CPU, memory, disk, connection count — is anything at capacity
  • Dependencies: are downstream services healthy, are database queries slow

If metrics are available via CLI or config files, check them. If dashboards exist, reference them.

Step 4: Trace the Request Path

Follow the failing request through the system:

  • Identify the entry point: which endpoint or service receives the failing request
  • Trace through each hop: load balancer → service → database/cache/API
  • At each hop, check: is the request arriving? Is it processed correctly? Is the response correct?
  • Find the exact point of failure: where does the request succeed upstream but fail downstream
  • If distributed tracing is available, use trace IDs to follow the exact path

Step 5: Identify Root Cause

Based on evidence gathered, determine root cause:

  • Correlate the timeline: what changed just before the issue started
  • Distinguish between trigger and root cause — a deployment may be the trigger, but the root cause is what the deployment changed
  • Consider common causes: bad deploy, config change, dependency failure, resource exhaustion, traffic spike, data corruption
  • State your confidence level: confirmed (evidence proves it), likely (evidence strongly suggests it), possible (one of several hypotheses)

Step 6: Propose Fix and Rollback Plan

Provide a concrete fix:

  • Immediate mitigation: what to do right now to stop the bleeding (e.g., rollback, scale up, disable feature flag, redirect traffic)
  • Root cause fix: what code/config change addresses the underlying issue
  • Rollback plan: if the fix makes things worse, how to revert — include exact commands
  • Verification: how to confirm the fix worked — what metrics/logs to check

Step 7: Generate Postmortem Template

Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.

Create a postmortem document:

# Incident Postmortem: [Title]

**Date:** [date]
**Duration:** [start time] — [resolution time]
**Severity:** [S1/S2/S3/S4]
**Author:** [name]

## Summary

[1-2 sentence summary of what happened and impact]

## Timeline

- [HH:MM] — [event]
- [HH:MM] — [event]

## Root Cause

[What actually broke and why]

## Impact

- **Users affected:** [number/percentage]
- **Duration:** [minutes]
- **Revenue impact:** [if applicable]

## Resolution

[What was done to fix it]

## What Went Well

- [thing that helped]

## What Went Poorly

- [thing that made it worse or slower to resolve]

## Action Items

- [ ] [preventive action] — owner: [name] — due: [date]
- [ ] [detective action] — owner: [name] — due: [date]
- [ ] [mitigative action] — owner: [name] — due: [date]

## Lessons Learned

[What the team should internalize from this incident]

Postmortems are blameless. Blame a person and you lose the truth.

Delivery

If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/incident-response-mrwakb1i/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/incident-response-mrwakb1i' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/incident-response-mrwakb1i/download' --output '.skill-downloads/incident-response-mrwakb1i/SKILL.md.part' && mv '.skill-downloads/incident-response-mrwakb1i/SKILL.md.part' '.skill-downloads/incident-response-mrwakb1i/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/incident-response-mrwakb1i/SKILL.md' && test -s '.skill-downloads/incident-response-mrwakb1i/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/vigil-incident' && cp -R '.skill-downloads/incident-response-mrwakb1i' '.claude/skills/vigil-incident'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/incident-response-mrwakb1i'

openskills read 'incident-response-mrwakb1i'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/incident-response-mrwakb1i/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills