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
npx skills add aj-geddes/useful-ai-prompts --skill incident-response-plan -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/incident-response-plan/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/incident-response-plan/
1Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill incident-response-plan -a codex2Manually: put the files in place
.agents/skills/incident-response-plan/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill incident-response-plan -a cursor2Manually: put the files in place
.cursor/skills/incident-response-plan/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install aj-geddes/useful-ai-prompts skills/incident-response-plan2Manually: put the files in place
.github/skills/incident-response-plan/SKILL.md1Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill incident-response-plan -a gemini-cli2Platform CLI
gemini skills install https://github.com/aj-geddes/useful-ai-prompts --path skills/incident-response-planManually: put the files in place
.devin/skills/incident-response-plan/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill incident-response-plan -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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