Skip to main content
skill CX Codex

incident-response-plan — Claude Code skill: features and setup

The incident-response-plan Claude Code skill helps build procedures for security incidents. It applies to breach handling, response playbooks, and forensic investigations.

MIT 488 installs ★ 386 updated 2026-03-04

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aj-geddes/useful-ai-prompts --skill incident-response-plan -a claude-code
Open on GitHub

What incident-response-plan does

The skill guides incident detection, containment, and recovery. Its scenarios include data breaches, malware infections, DDoS attacks, insider threats, and compliance violations.

Reference material covers an incident response framework and detection and response for Node.js. A Python example defines incident severity, status, and type, but leaves out the full implementation. The guides are in references/incident-response-framework.md and references/nodejs-incident-detection-response.md.

What it helps with

  • draft a response plan for a data breach
  • investigate a malware infection
  • set containment and recovery steps after an attack
  • prepare a post-incident review

Example prompts for the agent

  • Create a response plan for a data breach in this project.
  • Outline an investigation for a malware infection.
  • Write containment and recovery steps for a DDoS attack.

How to install incident-response-plan

1Skills CLI (Vercel)

npx skills add aj-geddes/useful-ai-prompts --skill incident-response-plan -a claude-code

2Manually: put the files in place

~/.claude/skills/incident-response-plan/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/incident-response-plan/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about incident-response-plan

How do I install incident-response-plan in Claude Code?

Run npx skills add aj-geddes/useful-ai-prompts --skill incident-response-plan -a claude-code. The skill file is at ~/.claude/skills/incident-response-plan/SKILL.md.

What does incident-response-plan do?

It helps create procedures for security incidents, from detection through containment and recovery. It also includes material for incident investigation.

Which incidents does incident-response-plan cover?

Its scenarios include data breaches, malware infections, DDoS attacks, insider threats, and compliance violations.

Source text

SKILL.md · MIT
---
name: incident-response-plan
description: >
  Create and execute incident response procedures for security breaches, data
  leaks, and cyber attacks. Use when handling security incidents, creating
  response playbooks, or conducting forensic analysis.
---

# Incident Response Plan

## Table of Contents

- [Overview](#overview)
- [When to Use](#when-to-use)
- [Quick Start](#quick-start)
- [Reference Guides](#reference-guides)
- [Best Practices](#best-practices)

## Overview

Structured approach to detecting, responding to, containing, and recovering from security incidents with comprehensive playbooks and automation.

## When to Use

- Security breach detection
- Data breach response
- Malware infection
- DDoS attacks
- Insider threats
- Compliance violations
- Post-incident analysis

## Quick Start

Minimal working example:

```python
# incident_response.py
from dataclasses import dataclass, field
from typing import List, Dict, Optional
from enum import Enum
from datetime import datetime
import json

class IncidentSeverity(Enum):
    CRITICAL = "critical"  # P1 - Business critical
    HIGH = "high"          # P2 - Major impact
    MEDIUM = "medium"      # P3 - Moderate impact
    LOW = "low"            # P4 - Minor impact

class IncidentStatus(Enum):
    DETECTED = "detected"
    INVESTIGATING = "investigating"
    CONTAINED = "contained"
    ERADICATED = "eradicated"
    RECOVERED = "recovered"
    CLOSED = "closed"

class IncidentType(Enum):
    DATA_BREACH = "data_breach"
    MALWARE = "malware"
    UNAUTHORIZED_ACCESS = "unauthorized_access"
// ... (see reference guides for full implementation)
```

## Reference Guides

Detailed implementations in the `references/` directory:

| Guide | Contents |
|---|---|
| [Incident Response Framework](references/incident-response-framework.md) | Incident Response Framework |
| [Node.js Incident Detection & Response](references/nodejs-incident-detection-response.md) | Node.js Incident Detection & Response |

## Best Practices

### ✅ DO

- Maintain incident response plan
- Define clear escalation paths
- Practice incident drills
- Document all actions
- Preserve evidence
- Communicate transparently
- Conduct post-incident reviews
- Update playbooks regularly

### ❌ DON'T

- Panic or rush
- Delete evidence
- Skip documentation
- Work in isolation
- Ignore lessons learned
- Delay notifications

© aj-geddes · MIT · aj-geddes/useful-ai-prompts

Similar skills

All skills for DevOps and infrastructure →
incident-response official anthropics incident-response walks an incident from detection to review: severity triage, status updates, timeline and a blameless postmortem. CX Codex +1 6,100installs ai-sre-incident-response devops-skills ai-sre-incident-response — a skill for Claude Code, Codex, Cursor and other platforms: builds SRE practices for AI incidents — model outage, quality regression, cost explosion, safety violations. CX Codex +1 365installs incident-response-forensics securityskills incident-response-forensics — a skill for collecting and analyzing digital evidence during security incident investigations. Preserves proof without corruption, gathers ephemeral data, and constructs an attack timeline. CX Codex +1 254installs sre-incident-response paulip114 sre-incident-response is a Claude Code skill that structures production outage management using Google IMAG methods. Responders deploy generic mitigations first and triage systematically. CX Codex +1 ★ 67repo stars supply-chain-incident-response W4L33Dx supply-chain-incident-response is a Claude Code skill for investigating a compromised dependency or vendor. It identifies affected versions, exposed environments, and recovery steps. CX Codex +1 ★ 73repo stars Incident Response taste f The Incident Response taste prompt for ChatGPT sets out how a calm on-call engineer can handle incidents. It calls for early declaration and coordinated response before the root cause is known. GP ChatGPT ★ 178,201repo stars

From the same set151

The whole set →
api-response-optimization api-response-optimization — a coding-agent skill that trims payloads, adds caching and compression, and gives you a checklist for slow API endpoints. CX Codex +1 491installs accessibility-compliance The accessibility-compliance skill guides accessibility work for WCAG 2.1/2.2, keyboard navigation, screen readers and a11y checks in web interfaces. CX Codex +1 490installs background-job-processing A skill for wiring up background job processing: task queues, workers, scheduling and retries. Useful when emails, reports or large exports should not block the request path. CX Codex +1 490installs git-workflow-strategy git-workflow-strategy — a skill that helps your agent pick a branching model and walk a feature, release or hotfix through the right steps. Useful when the team has no shared branch rules. CX Codex +1 489installs zero-trust-architecture zero-trust-architecture guides AI coding agents to implement Zero Trust security with identity verification and microsegmentation. Useful for cloud-native apps. CX Codex +1 488installs frontend-state-management Guides your agent through frontend state management: Redux, MobX, Zustand or the Context API. CX Codex +1 487installs cross-platform-compatibility cross-platform-compatibility guides the agent to handle OS differences without breaking builds. It enforces safe path resolution, line endings, and dependency handling on Windows, macOS, and Linux. CX Codex +1 485installs pull-request-automation pull-request-automation — a skill for Claude, Cursor and Codex that adds a PR template, checklists, reviewer assignment and auto-merge rules. Handy when everyone on the team reviews by their own habits. CX Codex +1 1installs

Project sponsors

Companies that keep this analytics open