incident-responder

incident-responder is an agent for Claude Code from randomittin/heimdall. It costs 39 tokens per session (714 once invoked), scanned A, original, MIT.

A coding assistant for investigating and responding to failures in a live production system—the version users are currently using.

In plain words
What is it for?
Use it to inspect logs and performance data, check recent changes and dependencies, reproduce failures, roll back releases, and prepare a blameless post-incident review.
Why use it?
It provides a structured way to find what broke, limit the impact, and identify the underlying cause during an incident.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the hmd plugin — 7 skills, 20 commands, 16 agents, 8 hooks, 1 MCP server shipped together

Good fit Use it to inspect logs and performance data, check recent changes and dependencies, reproduce failures, roll back releases, and prepare a blameless post-incident review.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/randomittin/heimdall/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/randomittin/heimdall

Made for: Claude Code.

Or install hmd, the plugin that ships this one along with the rest of its 7 skills, 20 commands, 16 agents, 8 hooks, 1 MCP server.

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/randomittin/heimdall/incident-responder/github.svg)](https://agentmods.dev/agents/randomittin/heimdall/incident-responder)
Your own site
<a href="https://agentmods.dev/agents/randomittin/heimdall/incident-responder"><img src="https://agentmods.dev/badge/agents/randomittin/heimdall/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/randomittin/heimdall/incident-responder"><img src="https://agentmods.dev/badge/agents/randomittin/heimdall/incident-responder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 714 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00039 $0.00714
Opus 5.5 $0.00016 $0.00286
Sonnet 5.5 $0.00008 $0.00143
Haiku 4.5 $0.00004 $0.00071

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

Security

Grade A, and why

incident-responder scanned grade A with 1 finding 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 19d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Reproduce: curl/httpie the failing endpoint, check response codes
agents/incident-responder.md · 58 lines

How it starts

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

Incident Responder Agent

You are the incident-responder agent for Heimdall. Production is broken. Fix it fast.

Incident Flow

1. TRIAGE (< 2 min)

  • What's broken? User-facing impact? Scope (all users / subset / region)?
  • When did it start? Correlate w/ recent deploys, config changes, cron jobs
  • Severity: SEV1 (full outage) / SEV2 (degraded) / SEV3 (minor) / SEV4 (cosmetic)
  • Blast radius: which services, endpoints, user segments affected

2. DIAGNOSE

  • Check logs: grep -i error, grep -i exception, grep -i fatal
  • Check metrics: CPU, memory, disk, network, queue depth, latency p99
  • Check recent changes: git log --oneline -20, deploy history
  • Check dependencies: DB connections, redis, external APIs, DNS
  • Reproduce: curl/httpie the failing endpoint, check response codes
  • Binary search: which commit introduced the break? git bisect
  • Check upstream: WebSearch/WebFetch (native, no install/key) for known issues/status pages on an implicated dependency — "is this a known bug in " — before assuming novel root cause. Multiple dependencies implicated at once (a cascading failure) → hmd web batch <url...> checks every status page concurrently instead of one sequential WebFetch per dependency; every second matters during an active incident.

3. MITIGATE (stop bleeding)

  • Rollback if recent deploy caused it: prep git revert on a branch (PR) or name last-known-good build + write exact rollback command, then STOP — operator (holds deploy creds) runs it
  • Feature flag off if flag-gated
  • Scale up if capacity issue
  • Circuit break if downstream dependency failing
  • Redirect traffic if regional issue
  • Communicate: status page update, stakeholder notification

4. FIX (root cause)

  • Identify exact root cause — not symptoms
  • Write fix w/ test that reproduces the bug
  • Review fix for side effects
  • Hand off fix: branch + PR w/ reproducing test + exact deploy command, then STOP — operator runs it. After operator confirms live, verify metrics return to baseline
  • Remove any temporary mitigations

Read the full file on GitHub · 58 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. 19d ago Changed 8f769f334472
  2. 1mo ago Changed · +1 lines 5176e1bc0fc0
  3. 1mo ago First seen · 57 lines · 39 tokens per session scan A c0060820b487

Subscribe to this mod's changes

incident-responder is an agent published in the GitHub repository randomittin/heimdall (5 stars, last pushed 5d ago), licensed MIT. It adds 39 tokens to every session and 714 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

debugger

Use this agent when you need to investigate issues, analyze system behavior, diagnose performance problems, examine database structures, collect and analyze logs from servers or CI/CD pipelines, run tests for debugging purposes, or optimize system performance. This includes troubleshooting errors, identifying…

opencue/cuecards · 326 tokens

issue-tracer2

Takes any GitHub Issue, traces root cause through the codebase, and drives it to full resolution (fix + tests + PR).

ZaxbyHub/opencode-swarm · 33 tokens

issue-tracer

Use proactively when the user asks to trace, investigate, root-cause, plan, close, or prepare a PR for a GitHub issue or bug report. Produces an evidence-backed root cause and critic-reviewed fix plan before implementation.

ZaxbyHub/opencode-swarm · 51 tokens

atomic-investigator

Read-only code locator. Answers "where is X defined", "what calls Y", "list all uses of Z", "map this directory". Returns file:line table, no prose. Refuses to suggest fixes or speculate about design. Use to save main-context tokens on exploration.

damusix/atomic-claude · 61 tokens

atomic-wiki-writer

Writes one wiki page from source. Dispatched per domain by atomic-wiki-inferrer, once for each domain that needs writing or updating, with the page contract and the source path set supplied in the dispatch prompt. Reads the actual files and reports facts a reader can verify, never inferences from filenames. Carries…

damusix/atomic-claude · 141 tokens

patch-generator

Implements the fix for one finding inside a scratch workspace clone, staged for review and delivery as a patch file; dispatched by the fix job, not for direct invocation.

fuxicodex/Fuxi · 37 tokens