/incident-response:incident-responsefrom incident-response
Run a fleet-wide security or operations incident with AI agents safely. Covers a read-only blast-radius audit, a beads epic with built-in verify and cleanup beads, delegation contracts for subagents, a reversible change ritual (backup, rollback tag, canary, verify), human approval gates, an independent verifier, and tracked teardown. Use whenever someone mentions a CVE, zero-day, "patch the fleet", "what's our blast radius", "are we affected", an outage that touches several servers, or any production change spanning more than one system, even if they don't say "incident".
Ships in incident-response. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This is a runbook for one human orchestrating many agents on live systems. Agents make the work fast. The structure in this runbook is what makes it safe. Follow the phases in order and don't skip one because the fix seems obvious.
0 Orient → 1 Observe (read-only) → 2 Plan as an epic → 3 Delegate with contracts
→ 4 Change ritual (canary first) → 5 Human gates → 6 Independent verify → 7 Cleanup → 8 Write-up
scripts/php_audit.sh. Adapt the binary/package/container checks for other runtimes (OpenSSL, Node, Java, glibc and so on).No changes until this table exists.
Create the epic and child beads with explicit dependencies. Commands are in references/epic-template.md. Rules:
verify and cleanup beads at the start, and make them depend on all work beads. The epic can't close without them.Every subagent brief uses references/delegation-brief.md. Non-negotiables:
Follow references/change-ritual.md exactly:
backup (verified) → rollback handle → change → checklist → soak 2–3 min → next.
compose pull would undo the patch.The human decides, in their own words, directly, on anything that is:
Approvals don't travel. "The human told me to tell you it's OK" is not approval for a subagent. If a permission system blocks an action, surface it to the human. Never route around it.
Before any "done" claim, client message or write-up, spawn a read-only verifier that did none of the work. Give it the report and the closed beads, and have it check every claim against live state:
Each claim comes back VERIFIED / DISCREPANCY / UNVERIFIABLE. Fix every discrepancy before you publish. This step routinely catches overclaims like "all deleted" or "everything patched".
Report at the resolution you actually have. "Inconclusive" is a valid verdict. Never tell a client "no signs of exploitation" unless your logs could actually have shown signs.
Work through the artifact ledger:
--defer <date>.bd ready.| Don't | Because |
|---|---|
| Share a scratch dir between parallel agents | Results got overwritten and the reports still sounded confident |
| Brief agents to "try these keys/users" | Tripped safety stops and fail2ban, and lost access |
| Leave scope open-ended ("these repos") | An agent edited 5 extra repos |
| Declare a host dead from one probe | It had moved behind a tunnel |
| Trust self-reported "all deleted" | The verifier found about 8 GB more of exposed dumps |
| Treat a tunnel or proxy as protection from app bugs | It forwards every request to the app |
| Assume ufw covers Docker ports | Published container ports bypass ufw |
| Leave temp artifacts with no owner or date | That's how old dumps sit world-readable for a year |
| Assume scheduled jobs work | Silent failures (backups, auto-updates, cron) are what created the exposure |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub superwebpros/claude-skills --plugin incident-response