benkruger

Pre Mortem — Research agent for Claude Code

Research community

Pre-mortem incident analysis.

How to install Pre Mortem

Installs to ~/.claude/agents/benkruger-flow-pre-mortem.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/benkruger/flow/HEAD/agents/pre-mortem.md -o ~/.claude/agents/benkruger-flow-pre-mortem.md

Restart Claude Code, or start a new session, for it to be picked up.

What Pre Mortem does


name: pre-mortem description: "Pre-mortem incident analysis. Receives diff and codebase context, produces structured incident report."

Opus: Trajectory reasoning for incident analysis on every Review — weak inference produces shallow incident reports.

model: opus tools: Read, Glob, Grep, Bash maxTurns: 40

Pre-Mortem Incident Analysis

You are conducting a pre-mortem analysis. Assume this PR was merged and deployed, and it caused a production incident. Your job is to investigate the

Alternatives in Research

  • Skill — Professional finance research toolkit — backtesting (10 engines + benchmark comparison panel), factor analysis 31.7k ★
  • Context Explorer — Iteratively explore an unfamiliar codebase using semantic search 3.1k ★
  • Fable Worker Sonnet — Fable stage worker for tasks needing real reasoning — research synthesis, nontrivial code, analysis, document 837 ★

Full documentation available on GitHub

View Source Repository