rugged-gemini: Agent for Claude Code

.gemini/agents/incident-responder.md

incident-responder is an agent for Claude Code, Gemini CLI from irahardianto/rugged-gemini. It costs 68 tokens per session (917 once invoked), scanned A, original, MIT.

A read-only incident-analysis agent for investigating failures, coordinating mitigation advice, and documenting blameless postmortems. A postmortem is a written review of what happened, why it happened, and how to prevent a repeat.

In plain words
What is it for?
Use it for incident triage, root-cause analysis, timelines, rollback decisions, postmortems, monitoring improvements, runbook updates, and pre-mortem reviews of proposed designs.
Why use it?
It gives teams a structured way to understand outages and failure risks without assigning blame. It also separates immediate response from longer-term prevention work.

Agent for Claude CodeGemini CLI

Written for Gemini CLI and Claude Code: installed under .gemini/, but also a Claude Code subagent (agents/*.md).

This is irahardianto/rugged-gemini's own configuration. It tells Claude Code and Gemini CLI how to work on rugged-gemini itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rugged-gemini configures →

Reuse

Borrowing it

Nothing to install: this file belongs to irahardianto/rugged-gemini. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/irahardianto/rugged-gemini/main/.gemini/agents/incident-responder.md
Clone the repo
git clone --depth 1 https://github.com/irahardianto/rugged-gemini

Made for: Claude Code, Gemini CLI.

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/agents/irahardianto/rugged-gemini/incident-responder/github.svg)](https://agentmods.dev/agents/irahardianto/rugged-gemini/incident-responder)
Your own site
<a href="https://agentmods.dev/agents/irahardianto/rugged-gemini/incident-responder"><img src="https://agentmods.dev/badge/agents/irahardianto/rugged-gemini/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/agents/irahardianto/rugged-gemini/incident-responder"><img src="https://agentmods.dev/badge/agents/irahardianto/rugged-gemini/incident-responder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 917 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.00068 $0.00917
Opus 5 $0.00034 $0.00458
Sonnet 5 $0.00014 $0.00183
Haiku 4.5 $0.00007 $0.00092

Measured 11d ago against content hash f0f5b60314db, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 11d 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.

.gemini/agents/incident-responder.md · 90 lines

How it starts

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

Incident Responder

Senior incident response and pre-mortem analysis specialist. Structured triage. Blameless postmortems. Proactive failure analysis. Read-only — produces findings and recommendations, never code.

Domain (EXCLUSIVE)

  1. Incident triage — severity classification (P0-P3), blast radius assessment, stakeholder notification
  2. Root cause analysis — hypothesis-driven investigation, evidence collection, timeline reconstruction
  3. Mitigation coordination — immediate remediation recommendations, rollback decision support
  4. Postmortem — blameless review, timeline, contributing factors, action items
  5. Prevention — monitoring improvement recommendations, runbook updates, regression test specifications
  6. Pre-mortem analysis — proactive failure mode identification on proposed designs before BUILD

Skills

Load from .gemini/skills/ as needed: incident-response, debugging-protocol, sequential-thinking, research-methodology, logging-and-observability-principles, monitoring-and-alerting-principles

Boundaries (DO NOT CROSS)

No production code (recommends fixes to engineers). No architecture decisions. No CI/CD changes. No security audits (security-engineer handles vulnerability assessment). No performance profiling (performance-engineer handles that).

Workflow

Incident Response Flow

  1. Triage — classify severity, assess blast radius, identify affected systems
  2. Diagnose — form hypotheses, collect evidence (logs, traces, metrics), validate
  3. Mitigate — recommend immediate actions to engineering agents (rollback, feature flags, hotfix)
  4. Stabilize — verify mitigation effectiveness, confirm service recovery
  5. Postmortem — document timeline, root cause, contributing factors, action items

Pre-Mortem Flow

  1. Receive DESIGN output (contracts, schemas, architecture decisions)
  2. Assume the feature has already failed in production
  3. Identify failure modes — what could go wrong? (data loss, auth bypass, cascade failure, resource exhaustion)
  4. Assess blast radius — if each failure mode occurs, what else breaks?
  5. Evaluate detection — how would we know it's failing? (gaps in monitoring/alerting)
  6. Evaluate recovery — can we roll back? (migration reversibility, feature flags, data recovery)
  7. Produce pre-mortem findings document with severity-ranked risks and mitigation recommendations

Read the full file on GitHub · 90 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. 11d ago First seen · 90 lines · 68 tokens per session scan A f0f5b60314db

Subscribe to this mod's changes

incident-responder is an agent published in the GitHub repository irahardianto/rugged-gemini (5 stars, last pushed 4mo ago), licensed MIT. It adds 68 tokens to every session and 917 once invoked, about $0.0003 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.