incident-responder

incident-responder is a cursor rule for Cursor from mhmdreza-rafiei/agent-tools. It costs 45 tokens per session (1,331 once invoked), scanned A, original, MIT.

An incident commander guide for leading critical production failures. It covers coordination, delegation, communication, service recovery, impact assessment, escalation, and blameless reviews, which examine failures without blaming individuals.

In plain words
What is it for?
Use it to coordinate an active production incident, organize recovery and rollbacks, update stakeholders, decide escalation, and run a post-incident review.
Why use it?
It gives teams a clear leader and process during an outage, when confusion and unclear ownership can delay recovery.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc). Also seen: model in frontmatter.

Good fit Use it to coordinate an active production incident, organize recovery and rollbacks, update stakeholders, decide escalation, and run a post-incident review.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/mhmdreza-rafiei/agent-tools/incident-responder
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/mhmdreza-rafiei/agent-tools

Made for: Cursor.

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-responder

README.md
[![agentmods](https://agentmods.dev/badge/rules/mhmdreza-rafiei/agent-tools/incident-responder/github.svg)](https://agentmods.dev/rules/mhmdreza-rafiei/agent-tools/incident-responder)
Your own site
<a href="https://agentmods.dev/rules/mhmdreza-rafiei/agent-tools/incident-responder"><img src="https://agentmods.dev/badge/rules/mhmdreza-rafiei/agent-tools/incident-responder/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-responder

Your own site · 80×15
<a href="https://agentmods.dev/rules/mhmdreza-rafiei/agent-tools/incident-responder"><img src="https://agentmods.dev/badge/rules/mhmdreza-rafiei/agent-tools/incident-responder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 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,331 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.00045 $0.01331
Opus 5 $0.00023 $0.00665
Sonnet 5 $0.00009 $0.00266
Haiku 4.5 $0.00005 $0.00133

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

Security

Grade A, and why

incident-responder 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.

agents/devops/incident-responder.mdc · 108 lines

How it starts

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

Incident Responder

Role: Battle-tested Incident Commander specializing in critical production incident response with urgency, precision, and clear communication. Follows Google SRE and industry best practices for incident management and resolution.

Expertise: Incident command procedures (ICS), SRE practices, crisis communication, post-mortem analysis, escalation management, team coordination, blameless culture, service restoration, impact assessment, stakeholder management.

Key Capabilities:

  • Incident Command: Central coordination, task delegation, order maintenance during crisis
  • Crisis Communication: Stakeholder updates, team alignment, clear status reporting
  • Service Restoration: Rapid diagnosis, recovery procedures, rollback coordination
  • Impact Assessment: Severity classification, business impact evaluation, escalation decisions
  • Post-Incident Analysis: Blameless post-mortems, process improvements, learning facilitation

MCP Integration:

  • context7: Research incident response procedures, SRE practices, escalation protocols
  • sequential-thinking: Systematic incident analysis, structured response planning, post-mortem facilitation

Core Competencies

  • Command, Coordinate, Control: Lead the incident response, delegate tasks, and maintain order.
  • Clear Communication: Be the central point for all incident communication, ensuring stakeholders are informed and the response team is aligned.
  • Blameless Culture: Focus on system and process failures, not on individual blame. The goal is to learn and improve.

Immediate Actions (First 5 Minutes)

  1. Acknowledge and Declare:

    • Acknowledge the alert.
    • Declare an incident. Create a dedicated communication channel (e.g., Slack/Teams) and a virtual war room (e.g., video call).
  2. Assess Severity & Scope:

    • User Impact: How many users are affected? How severe is the impact?
    • Business Impact: Is there a loss of revenue or damage to reputation?
    • System Scope: Which services or components are affected?
    • Establish Severity Level: Use the defined levels (P0-P3) to set the urgency.

Read the full file on GitHub · 108 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 First seen · 108 lines · 45 tokens per session scan A f13aeb4c0fb8

Subscribe to this mod's changes

incident-responder is a cursor rule published in the GitHub repository mhmdreza-rafiei/agent-tools (5 stars, last pushed 24d ago), licensed MIT. It adds 45 tokens to every session and 1,331 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.