incident

incident is a command for coding agents from juanmhidalgo/claude-plugins. It costs 46 tokens per session (471 once invoked), scanned A, original, MIT.

A command for managing a production incident from detection through recovery and later review.

In plain words
What is it for?
Use it for incident triage, in-progress status reports, and blameless postmortems. For ordinary bugs handled by one developer, use a debugging workflow instead.
Why use it?
It helps a team decide how serious the problem is, coordinate during the response, communicate status, and learn from the event afterward.

Command

Part of the debug plugin — 2 skills, 2 commands shipped together

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.

agentmods
npx agentmods add commands/juanmhidalgo/claude-plugins/incident
Clone the repo
git clone --depth 1 https://github.com/juanmhidalgo/claude-plugins

Or install debug, the plugin that ships this one along with the rest of its 2 skills, 2 commands.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/incident.svg)](https://agentmods.dev/commands/juanmhidalgo/claude-plugins/incident)
Your own site
<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/incident"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/incident.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 471 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00046 $0.00471
Opus 5 $0.00023 $0.00235
Sonnet 5 $0.00009 $0.00094
Haiku 4.5 $0.00005 $0.00047

Measured 5d ago against content hash 7e561c5a424d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

incident 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 5d 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.

debug/commands/incident.md · 58 lines

What it actually says

<best_practices> @debug/skills/incident-response/SKILL.md </best_practices>

Incident Response

Manage an incident from detection through postmortem.

Mode: $ARGUMENTS

Mode Detection

If $ARGUMENTS starts with new, update, or postmortem, use that mode. Otherwise ask the user via AskUserQuestion:

Which incident phase are you in?

  • new — initial detection, need to triage and assign severity/roles
  • update — incident is in progress, need a status broadcast
  • postmortem — incident is resolved, time for blameless retrospective

Then follow the workflow in the incident-response skill above. The skill carries the templates and guardrails — do not duplicate them here.

Cross-Skill Handoff

For root-cause investigation during the incident, delegate to debug:debugging-strategies (Stop-the-line rule, triage checklist, error-output safety). This command is the coordination layer; debugging-strategies is the investigation layer.

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. 5d ago First seen · 58 lines · 46 tokens per session scan A 7e561c5a424d

Subscribe to this mod's changes

incident is a command published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 10d ago), licensed MIT. It adds 46 tokens to every session and 471 once invoked, about $0.0002 per session on Opus 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-08-31.