~ / rigs / Dominik2806 / incident-agent

Dominik2806/incident-agent

A Claude Code agent that investigates production incidents using subagents, a skill, a custom MCP server and hooks.

↗ GitHub ★ 0 MIT updated 1mo ago project Claude Code
field: unknown workflow: DebuggingResearch
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
up to ~3.8k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
0/5
No committed guardrails · details
Quality 5/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add incident-logs -- uv run incident-logs-server
$ npx degit Dominik2806/incident-agent/.claude ./rig-incident-agent  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ claude mcp add incident-logs -- uv run incident-logs-server
$ npx degit Dominik2806/incident-agent/.claude/skills/incident-runbook .claude/skills/incident-runbook
$ curl -fsSL --create-dirs -o .claude/agents/root-cause.md https://raw.githubusercontent.com/Dominik2806/incident-agent/main/.claude/agents/root-cause.md
$ curl -fsSL --create-dirs -o .claude/agents/triage.md https://raw.githubusercontent.com/Dominik2806/incident-agent/main/.claude/agents/triage.md

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 17.0k rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(git push --force:*)",
      "Read(**/*.pem)",
      "Read(.env)",
      "Read(~/.aws/**)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(git push --force*)",
      "Bash(rm -rf *)",
      "Bash(rm -rf:*)",
      "Bash(sudo *)",
      "Bash(sudo:*)",
      "Bash(rm -rf /)",
      "Bash(git push -f:*)",
      "Read(.env.*)",
      "Read(./secrets/**)",
      "Bash(git reset --hard*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(gh pr merge *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(gh pr merge:*)",
      "Bash(npm publish:*)",
      "Bash(git reset --hard:*)",
      "Bash(git clean *)",
      "Bash(git rebase *)"
    ]
  }
}

MCP servers (1)

serversourceest. tokens
incident-logs-server · "incident-logs" pypi 2.5k

Skills (1)

Subagents (2)

root-causeUse after triage to find the root cause of a production incident. Pass the full triage summary in the prompt, including the handoff notes, because this agent does not see the conversation. Cross-check
triageUse FIRST whenever a production error, outage or elevated error rate is reported, before any investigation of causes. Examples - "customers get 500 errors at checkout", "payments are failing since 2 p

Similar rigs

copied ✓