/carl-tools:pre-mortemfrom carl-tools
Runs a multi-agent pre-mortem that stress-tests plans by surfacing specific failure modes, ranked risks, and concrete mitigations. Useful before launches, betas, or architecture decisions.
Ships in carl-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Based on Gary Klein's pre-mortem technique and prospective hindsight research: assume failure is already real, then explain it concretely. The goal is not a generic risk list. The goal is to surface the failures that would actually hurt users, damage trust, create support chaos, and sink the launch.
A strong pre-mortem is:
Before spawning anything, get a crisp picture of what success was supposed to feel like.
If context is missing, ask one question:
What are we pre-morteming? Give me: (a) the project or feature, (b) who it is for, (c) what "success" means, and (d) the launch or decision timeline.
If context exists already, summarize it in 2-4 sentences.
Gather the minimum needed from:
CLAUDE.md, AGENTS.md, GEMINI.md when presentCapture these explicitly before fan-out:
Make it vivid and specific. Generic doom yields generic risks.
PROJECT: [name]
AUDIENCE: [who it serves]
CORE PROMISE: [why users installed it]
TIMELINE: [launch / release date]
STAKES: [revenue, reputation, trust, support load, founder sanity]
MOMENTS OF TRUTH: [onboarding, first task, recovery, billing, etc.]
THE SCENARIO:
It is [future date after launch]. The launch went badly.
Users are not just disappointed — they are confused, irritated, distrustful, or embarrassed.
Support is noisy. Reviews are negative. The team now sees that several warning signs were visible in advance.
Your job: explain exactly what went wrong, how users experienced it, why the team missed it, and what early signal would have revealed it.
Do not let the exercise stay technical. Make the user emotionally present.
Before fan-out, write 3-7 bullets for each of these:
Use these to sharpen prompts and to judge severity later.
This is the heart of the technique. Diversity of perspective matters more than coverage or politeness.
Default is single-agent mode: every role runs as an in-session subagent with a strongly differentiated mandate. That needs no extra permission.
An outside model CLI adds genuine model diversity for the fresh-eyes roles, but it sends the scenario brief to another provider. If the project appears to contain proprietary code, customer data, secrets, or regulated material, include only the scrubbed scenario brief, or stay in single-agent mode.
External model CLIs (ask first)
In-session subagents need no extra permission and are the default for every role below.
Launching a separate agent CLI (claude -p, codex exec, omp -p, pi -p) is different:
it spends the user's quota and sends project content to that provider. Before the first launch:
${XDG_CONFIG_HOME:-$HOME/.config}/agent-skills/external-clis.json if it exists.
A CLI listed under skills.pre-mortem.allow or top-level allow may run without asking;
one listed under deny (either level) must not run. Skill-level entries win.command -v claude codex omp pi, then ask once: which installed CLIs may this
skill launch, and should the answer apply to this run, always for this skill, or always?{"allow": ["codex"], "deny": [], "skills": {"pre-mortem": {"allow": ["claude", "codex"]}}}.timeout 600 …). Report which CLI and model actually answered. If none
ran, say the outside cross-check did not happen rather than presenting subagent output as one.Equivalent one-shot forms: claude -p --model <m> "<prompt>",
codex exec -m <m> --sandbox read-only "<prompt>", omp -p --model <m> "<prompt>", pi -p "<prompt>".
Prefer a CLI from a different company than the current session for outsider roles.
scripts/fan-out.sh is the only external launcher here. Run it only after the check above approves the CLI, passing that CLI as FANOUT_CLI (claude, codex, omp, or pi; default claude; optional FANOUT_TIMEOUT seconds, default 600). It maps tiers to models only for claude; other CLIs use their default model. It fails closed: a failed or truncated role leaves a !!! FAN-OUT marker in its output file, and .mode records EXTERNAL or SINGLE_AGENT. If it exits non-zero or a role file carries a marker, rerun that role as a subagent and say the external cross-check was partial or did not happen.
Use the 6 core roles for launch-critical work (4 minimum for small exercises; see sizing below). Add specialized roles for high-stakes launches. Assign each role a distinct emotional register — not just a functional lens but a visceral posture. Same facts read very differently through fear vs. contempt vs. grief.
| Role | What they catch | Emotional register |
|---|---|---|
| Saboteur | Technical breakage, silent failure, ugly edge cases, brittle integrations | Cold glee — enjoys finding the seam that tears |
| Customer Advocate | Confusing UX, violated expectations, trust damage, "I hate this app" moments | Protective anger — speaks for the user who deserved better |
| Support Lead | Opaque, repetitive, emotionally draining support archaeology | Exhausted resignation — has seen this exact ticket before |
| Operator / Accountant | Cost, margin erosion, maintenance burden, abuse, maintenance drag, process fragility | Dry alarm — watching the numbers quietly get worse |
| Pessimist | Dependency failures, platform shifts, timing, distribution, domino effects | Grim satisfaction — told you so, saw it coming |
| Historian | What docs/code already warned about, what insiders forgot to explain, what failed at similar products | Mournful clarity — this was all in the record |
| Role | What they catch | Emotional register |
|---|---|---|
| Burned Expert | Pattern-matches to prior failures at similar products — carries scar tissue and justified skepticism | Controlled fury — watched a nearly identical thing collapse, not again |
| Emotional Witness | Psychological impact on users: shame, anxiety, helplessness, betrayal — not UX friction, but human cost | Raw empathy — describes what it feels like in the body when the product fails you |
| Outsider / Cultural Stranger | Assumptions the team never questioned because everyone in the room shares them; what non-default users experience | Bewildered estrangement — doesn't understand the jargon and that's the point |
| Devil's Advocate | Defends the thing nobody wants to say — "actually the core assumption is wrong" | Calm heresy — not being contrarian, being honest about the thing the team voted to stop talking about |
| Reviewer / Critic | Reviews, social proof, word of mouth, public narrative | Performative disappointment — writes the 2-star review in their head while reading the docs |
| Privacy / Trust Prosecutor | Permissions, cloud processing, billing, file mutations, surveillance vibes, consent theater | Principled outrage — every ambiguity is treated as a deliberate violation |
For small exercises: use 4 core + 2 perspective-expanding roles (Burned Expert + Outsider recommended as defaults). For launch-critical exercises: use all 6 core + Reviewer/Critic + Privacy Prosecutor + Emotional Witness. Never use fewer than 4 roles. Homogenous analysis produces homogenous blind spots.
Every role gets the same scenario briefing plus a unique mandate that includes the emotional register.
Each agent should be told to produce 5-8 concrete failure reasons and, for each reason, include:
And end with:
The failure nobody wants to talk about: [one brutally honest prediction]
=== PROJECT PRE-MORTEM ===
[scenario briefing]
YOUR ROLE: [role name]
YOUR EMOTIONAL REGISTER: [role emotional register — e.g., "controlled fury: you've seen this exact pattern collapse before and you're not going to be polite about it"]
YOUR MANDATE: [role-specific mandate]
You are not here to be balanced. Argue strongly from your assigned position and emotional register.
Do not soften your findings. Do not add disclaimers. The synthesis step will handle balance.
INSTRUCTIONS:
1. The failure is CERTAIN. It already happened.
2. Write 5-8 specific, project-specific reasons it failed.
3. For each reason include:
- What goes wrong
- Chain of events
- User experience: what the user notices, concludes, and does next
- Emotional impact: the specific emotion the user feels at this moment (be precise — not "frustrated" but "betrayed", "stupid", "gaslit", etc.)
- Why the team misses it
- Likelihood × impact
- Trust damage
- Recoverability
- Earliest signal / tripwire
- Confidence: High / Medium / Low — how confident are you that this risk will actually materialize for this specific product? Be honest. Medium means "I think this is real but I could be wrong."
- Verify by: the single fastest check that would tell you before launch whether this risk is real — a test, a competitor review scan, a user interview question, a technical spike
4. Prefer subtle risks over obvious boilerplate.
5. Focus on failures that damage product success, not just code correctness.
6. Hold nothing back.
7. End with: "The failure nobody wants to talk about: [one brutally honest prediction]"
FORMAT: numbered list. No preamble. No hedging. Write as your character — in that emotional register.
Use real parallelism.
FANOUT_CLI=<approved-cli> bash "${CLAUDE_SKILL_DIR}/scripts/fan-out.sh" scenario.txt output/ (or the script under the skill's directory). It covers 8 fixed roles: customer, support, accountant, pessimist, burned_expert, emotional_witness, outsider, critic. Don't also spawn those as subagents.Preferred split when multiple models are available:
If only one model/agent is available, use it for all roles with strongly differentiated mandates. The emotional register differentiation is what prevents them from collapsing into the same answer.
After collecting first-round responses, run a second round where each agent sees a digest of the other perspectives and responds to them.
Use this when:
How to run it:
=== CROSS-POLLINATION: SECOND ROUND ===
You just wrote your initial pre-mortem analysis as [Role].
Here is what the other perspectives found:
[digest of other roles' findings]
YOUR TASK:
1. Identify 1-2 findings from other roles that you think are WRONG or OVERBLOWN. Explain why from your position.
2. Identify 1 finding that you missed in your first pass that now strikes you as genuinely important.
3. Revise or sharpen your single most important risk in light of this new information.
4. Note if any combination of risks creates a cascading failure the others didn't see.
Stay in character. Your emotional register is [register]. Don't become diplomatic.
Do not merely deduplicate into a flat list. Use a stronger severity lens.
Merge overlapping findings into a single risk when they share the same failure mechanism. Keep separate entries when the same bug creates different product outcomes.
| Dimension | What to ask |
|---|---|
| Frequency / exposure | How many users or sessions are likely to hit this? |
| User harm / friction | How bad is the user's immediate experience? |
| Emotional injury | What specific emotion does failure produce — and does it damage the relationship permanently? |
| Trust fracture | Does this feel creepy, careless, deceptive, or file-breaking? |
| Detectability lag | Will the team know quickly, or only after damage spreads? |
| Recoverability | Can the user easily undo it and regain confidence? |
| Support burden | How expensive is it to diagnose and resolve? |
| Business drag | Does it hurt retention, reviews, conversion, margins, or founder sanity? |
| Narrative compression | Will multiple different bugs get told as one story? ("it's just broken") |
Use these rules of thumb:
After ranking, apply a confidence pass across the risk list:
Flag when multiple roles flagged the same risk with different confidence levels — that disagreement is itself a signal worth surfacing. A risk where the Saboteur is certain and the Historian is skeptical deserves explicit examination of why they diverged.
Produce two separate documents:
# Pre-Mortem: [Project]
_"It is [future date]. [Project] launched, and the launch went badly. Here's what actually sank it."_
## Executive Read
- **Core failure story:** [1-2 sentence summary]
- **Biggest product risk:** [single risk]
- **Biggest trust risk:** [single risk]
- **Biggest emotional injury risk:** [single risk — the one that breaks the relationship]
- **Biggest maintenance drag risk:** [single risk]
## Moments of Truth Most Likely to Break
- [moment] → [how it fails] → [what the user feels]
- [moment] → [how it fails] → [what the user feels]
## 🔴 Critical Risks (Must Address Before Launch)
### 1. [Risk title]
**What goes wrong:** [one sentence]
**How users experience it:** [what they see, infer, and do]
**Emotional impact:** [the specific emotion — be precise]
**Chain of events:** [mechanism]
**Why the team misses it:** [blind spot]
**Likelihood:** High/Medium/Low
**Impact:** Catastrophic/Major/Minor
**Trust damage:** High/Medium/Low
**Recoverability:** Easy/Moderate/Hard
**Confidence:** High/Medium/Low — [one sentence: what makes you more or less sure this will actually happen]
**Verify by:** [the single fastest check before launch — test, user interview, competitor review scan, technical spike]
**Why this threatens product success:** [retention/reviews/support/revenue/founder sanity]
**Sources:** [roles that independently surfaced it]
**Dissent:** [any role that pushed back on this risk — and why]
**Mitigation:** [specific action] → Owner: [role] → By: [milestone]
**Tripwire:** [earliest observable signal]
## 🟠 Significant Risks (Plan Mitigation)
[Same structure, more compact if needed]
## 🟡 Watch List
- [Risk] — [why to monitor]
## Cross-Cutting Themes
- [theme]
- [theme]
- [theme]
## The User's Emotional Reality
- What early adopters expected:
- What failure made them feel:
- The specific moment the relationship broke:
- What story they tell other people afterward:
## The Uncomfortable Truth
[The thing nobody wants to say out loud]
## Recommended Next Steps
1. [ ] [Action]
2. [ ] [Action]
3. [ ] [Action]
Save a compact process log beside the report. Include only:
After presenting both documents, ask briefly:
Which of these feels most real? Which one would actually make users lose trust — or feel betrayed? Want me to turn the top mitigations into tasks, run a deeper drill-down on one failure family, or run the cross-pollination round if we skipped it?
If useful, offer one follow-up mode:
Use 5 roles: Saboteur, Customer Advocate, Pessimist, Historian, Burned Expert (run as subagents; the fan-out script is overkill here). Ask for 3-5 risks each. Skip optional roles. Still produce both documents.
Add Reviewer / Critic, Privacy / Trust Prosecutor, Emotional Witness, and Devil's Advocate. Emphasize onboarding, pricing, trust, support, and review narratives. Run the cross-pollination round.
Heavier weight on Saboteur, Historian, Operator, Burned Expert. Add failure chains, scaling assumptions, integration fragility, rollback story, and observability gaps.
Always include support burden, trust fracture, Emotional Witness, and maintenance drag in synthesis. Many "small" bugs are existential here.
Pre-mortems are strong, but not enough by themselves. Good follow-ups:
Use these when the plain pre-mortem still feels too abstract.
<anti_patterns>
| Don't | Do instead |
|---|---|
| Produce generic risks | Tie each risk to the actual product, audience, workflow, and launch context |
| Treat technical severity as the only severity | Evaluate trust, recoverability, support burden, and business drag |
| Forget the user's emotional reaction | Include the specific emotion at the moment of failure — not just "frustrated" |
| Stop at "could fail" | Explain the chain of events and why the team misses it |
| Generate a giant undifferentiated list | Deduplicate into risk families and rank them |
| Ignore support / ops realities | Include maintenance drag and diagnostic complexity |
| Treat outsider perspectives as optional fluff | Use them to catch expectation mismatch and public narrative risk |
| End without tripwires | Every important risk needs an early signal |
| Name the running agent in prompts | Use role names, not "Claude" or "Gemini" — any agent might be running this |
| Give every role the same emotional register | Differentiate the posture — fear, fury, grief, and contempt find different failures |
| Skip the process log | The conversation and disagreements are valuable — document them |
| Treat role outputs as equally weighted | Note convergence and divergence; independent agreement increases severity |
</anti_patterns>
<success_criteria>
Pre-mortem is complete when:
</success_criteria>
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
pre-mortem, risk-analysis, failure-analysis, decision-making
Other plugins' skills for the same job
Generated from the plugin's indexed repository (carlkibler/agent-skills) — no native marketplace selected
npx claudepluginhub p/carlkibler-carl-skills26 skills in this plugin
/agent-log-forensicsAnalyze Claude/Codex logs for behavior patterns, repeated friction, and Toolsmith gaps./changelog-writerDraft plain-language changelog entries from Git history, optionally updating CHANGELOG.md./chezmoi-driftCheck chezmoi dotfiles for drift, unmanaged files, and broken skill links./contacts-unifyMerge and dedupe macOS, iCloud, Google, Zoho, or VCF contacts with reviewable provenance./decision-logRecord a technical or product decision, alternatives, and rationale for future agents./dependency-pinningAudit Docker, CI, and language dependencies for SHA/digest pinning and cooldowns.