incident-response

incident-response is a command for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 27 tokens per session (1,105 once invoked), scanned A, original, MIT.

A command that guides the first response to a reported security incident. It checks whether the alert is real, identifies the incident type, and assesses how widely it has spread.

In plain words
What is it for?
Use it when monitoring detects suspicious activity, a user reports a problem, a vulnerability is being exploited, or a third party reports a breach.
Why use it?
It turns scattered alert details or user reports into an initial assessment that can support containment and escalation.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the incident-response plugin — 1 skill, 2 commands, 2 agents shipped together

Good fit Use it when monitoring detects suspicious activity, a user reports a problem, a vulnerability is being exploited, or a third party reports a breach.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hermeticormus/libresecops-claude-code/incident-response
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-Claude-Code

Made for: Claude Code.

Or install incident-response, the plugin that ships this one along with the rest of its 1 skill, 2 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for incident-response

README.md
[![agentmods](https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/incident-response/github.svg)](https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/incident-response)
Your own site
<a href="https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/incident-response"><img src="https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/incident-response/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for incident-response

Your own site · 80×15
<a href="https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/incident-response"><img src="https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/incident-response.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,105 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.01105
Opus 5.5 $0.00011 $0.00442
Sonnet 5.5 $0.00005 $0.00221
Haiku 4.5 $0.00003 $0.00111

Measured 12d ago against content hash e30449510453, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

incident-response scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/incident-response/commands/incident-response.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/incident-response

Activate an incident response playbook for a reported security event, guiding through triage, containment, and initial response.

Trigger

Use this command when:

  • A security alert fires from monitoring/SIEM
  • Suspicious activity is reported by a user or team member
  • A vulnerability is discovered to be actively exploited
  • A third party notifies you of a breach involving your systems
  • Automated detection systems flag anomalous behavior

Input

Required:

  • Indicator: What was observed (alert details, user report, suspicious behavior)

Optional:

  • Affected system(s): What systems or services are involved
  • Time of observation: When the indicator was first noticed
  • Actions already taken: Any steps already performed
  • Incident type hint: malware, breach, account-compromise, ddos, ransomware, insider, supply-chain, phishing

Process

Step 1: Triage

  1. Validate the alert: Is this a real incident or a false positive? Check for known benign causes.
  2. Classify the incident type: Match indicators to incident categories
  3. Assess scope: How many systems/users are affected? Is it contained or spreading?
  4. Determine severity: Using the severity matrix:
Severity Criteria
SEV1 - Critical Active data exfiltration, ransomware deployment, complete service outage, safety risk
SEV2 - High Confirmed compromise, active attacker presence, significant service degradation
SEV3 - Medium Suspected compromise, potential data exposure, partial service impact
SEV4 - Low Security event, policy violation, no confirmed compromise
  1. Activate the appropriate playbook: Select from IR Playbooks skill based on incident type

Step 2: Initial Response

  1. Assign roles: Incident Commander, Technical Lead, Communications Lead, Scribe
  2. Open communications channel: Dedicated Slack channel, war room, or bridge call
  3. Start the timeline: Document everything with UTC timestamps from this point forward
  4. Notify stakeholders: Based on severity level:
    • SEV1: CISO, CTO, Legal, PR, all affected team leads
    • SEV2: Security leadership, affected team leads
    • SEV3: Security team lead
    • SEV4: Logged, monitored

Read the full file on GitHub · 133 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago Changed · +5 lines · +27 tokens per session e30449510453
  2. 1mo ago First seen · 128 lines · 0 tokens per session scan A e32056866ee8

Subscribe to this mod's changes

incident-response is a command published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 9d ago), licensed MIT. It adds 27 tokens to every session and 1,105 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.