Irp

From coco-research/coco · View interactive version

Irp is an AI agent skill from the GitHub repository coco-research/coco. Use when the user asks for an incident response plan, IRP, escalation matrix or incident playbook. Writes an offline HTML plan with severities, escalation contacts and comms; DR restores service, IRP runs the incident.

How to use this skill

Skill file

IRP — Incident Response Plan

Purpose

Generates an Incident Response Plan specific to the product/platform. Not a generic IT incident template — this plan is scoped to the product, uses its real stakeholders as escalation contacts, and ties severity to its data classification.

Process

Step 1: Read Context

Read all that exist:

Step 2: Ask Discovery Questions

Only ask what can't be inferred:

  1. What constitutes an "incident" for this product? (data breach, service outage, unauthorized access, integration failure, data corruption)
  2. Who is the Incident Commander? (default: PM, but confirm)
  3. Vendor support model? (SLA response times, escalation contacts, ticket system)
  4. Legal/privilege considerations? (e.g., ProductB has legal privilege — incidents may require legal counsel)
  5. Existing Coco Inc incident process? (does the team already report through ServiceNow, Slack, etc.)

Step 3: Generate IRP Document

Output: Operational/IRP-{ProductName}-{Date}.html

Self-contained HTML with print-optimized CSS. No CDN dependencies — this document must work offline during an actual incident.

12 sections:

1. Purpose & Scope

2. Severity Classification

Build product-specific severity matrix. See references/severity-matrix.md for the framework.

Key rule: Data classification drives minimum severity.

| Severity | Definition | Response Time | Example |

|----------|-----------|---------------|---------|

| SEV1 — Critical | Data breach, complete service outage, legal/regulatory exposure | 15 min | Purple Data accessed by unauthorized user |

| SEV2 — High | Significant functionality loss, data integrity issue, >50% users affected | 1 hour | Integration failure causing data sync halt |

| SEV3 — Medium | Partial functionality loss, workaround available, <50% users affected | 4 hours | Single module unavailable, manual process possible |

| SEV4 — Low | Minor issue, cosmetic, single-user impact | Next business day | Report formatting error, UI glitch |

3. Detection & Reporting

4. Escalation Matrix

5. Response Procedures

6. Communication Protocol

7. Evidence Preservation

8. Resolution & Recovery

9. Post-Incident Review (PIR)

10. Roles & Responsibilities

11. Vendor Escalation

12. Review & Maintenance

Step 4: Present for Review

Show the complete plan structure with key content decisions highlighted:

Ask for approval before writing the file.

Critical Rules

  1. Zero external dependencies. The HTML must render fully offline. No CDN links. During an incident, internet may be unreliable.
  2. Real contacts only. Pull names/emails from project files. Leave blanks with "[TBD — add contact]" markers rather than guessing.
  3. Legal privilege awareness. If the project involves legal privilege (like ProductB/Tax), include a section on when to involve legal counsel and how to protect privilege during incident response.
  4. Severity ties to data. Always tie severity classification to the product's data classification. Don't create a severity matrix that ignores data sensitivity.
  5. Actionable, not aspirational. Every procedure should be something the team can actually execute today with current tools and access. Don't include monitoring procedures if no monitoring exists yet.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.