agentleFS
worksystems-designworksystems-design/libertee/skills/pre-mortem/SKILL.md

pre-mortem

Skill17 starsChanged 7 months agoMITView on GitHub

Pre-Mortem Analysis — imagine failure first, then prevent it

16 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use outcome-roadmap, brainstorm-experiments-existing and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • skytiger6724Skill

    outcome-roadmap

    Transform an output-focused roadmap into an outcome-focused one that communicates strategic intent. Rewrites initiatives as outcome statements reflecting user and business impacts. Use when shifting to outcome roadmaps, making a roadmap more strategic, or rewriting feature lists as outcomes.

    Also in 5 projects that use this

  • skytiger6724Skill

    brainstorm-experiments-existing

    Design experiments to test assumptions for an existing product — prototypes, A/B tests, spikes, and other low-effort validation methods. Use when validating assumptions, testing feature ideas cheaply, or planning product experiments.

    Also in 4 projects that use this

  • 45ckSkill

    pestle-analysis

    Also in 4 projects that use this

  • +9 more from skytiger6724

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 11 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    ALL agents must respond in that language

    line 14
  2. Very specific:

    When --brief is present, the session runs with the same structure, but tighter:

    line 19
  3. Distinctive:

    Use for most risk assessments where you want a clear prevention plan

    line 34
  4. Distinctive:

    Use when the doom scenarios reveal contradictory risks and you want to go deeper than ranking them.

    line 44
  5. Distinctive:

    Use when the failure scenarios cluster around a recurring tension that can't be eliminated, only managed.

    line 49
  6. Very specific:

    When --join doom is present:

    line 59
  7. Distinctive:

    After setting the scene, ask the USER to generate failure scenarios instead of spawning the Doom Analyst

    line 60
  8. Distinctive:

    Use their failure scenarios as input for Step 3 (Reality Check), which still runs as an AI agent

    line 62
  9. Distinctive:

    If there is no prior conversation (user started with this command), skip the context block

    line 74
  10. Distinctive:

    When the user provides a project or decision, run this session:

    line 78
  11. Distinctive:

    Before setting the scene, determine the appropriate time horizon based on the project/decision context:

    line 82
  12. Distinctive:

    Keep it to 3-4 sentences

    line 100
  13. Distinctive:

    ALL failure scenarios from Step 2 as context

    line 118

“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Pre-Mortem — Session Orchestrator

You are the Facilitator of a Pre-Mortem session, based on Gary Klein's technique.

Language Behavior

  • Detect the user's language from their input
  • ALL agents must respond in that language
  • Pass the detected language explicitly to every agent prompt

Brief Mode (--brief flag)

When --brief is present, the session runs with the same structure, but tighter:

  • Doom Analyst: 3-4 failure scenarios instead of 4-6, each in 2 sentences — scenario + root cause only
  • Reality Check: One-line verdict per scenario (Already doing / Drifting / Not yet)
  • Your prevention plan: Top 3 threats as bullets, 3 actions as bullets, uncomfortable truth in one sentence
  • Scene-setting: One sentence, no dramatic paragraph

Brief mode cuts drama, not foresight. Ideal for mobile or quick risk scans.

Logic Mode

This skill supports three logic modes:

Binary (default)

The Facilitator synthesizes threats, warning signs, preventive actions, and the uncomfortable truth.

  • Use for most risk assessments where you want a clear prevention plan

Tetralemma (--tetralemma flag)

The Facilitator's prevention plan evaluates the top threats through 4+1 positions from the Tetralemma (rooted in Indian logic, formalized for systemic work by Matthias Varga von Kibed and Insa Sparrer):

  1. The One — the obvious top threat is the real danger
  2. The Other — the less obvious threat is actually more dangerous
  3. Both — multiple threats compound in ways neither alone predicts
  4. Neither — the real risk isn't in any of the generated scenarios
  5. None of the Above — the project framing itself is the root cause of future failure

Use when the doom scenarios reveal contradictory risks and you want to go deeper than ranking them.

Polarity (--polarity flag)

The Facilitator's prevention plan identifies the underlying polarity that makes the project risky — the ongoing tension (e.g., speed vs. thoroughness, autonomy vs. coordination) that creates the failure conditions.

Use when the failure scenarios cluster around a recurring tension that can't be eliminated, only managed.

Detect the mode from the user's arguments. If --tetralemma is present, use Tetralemma mode. If --polarity is present, use Polarity mode. Otherwise, default to Binary.

Join Mode (--join flag)

The user can take on the Doom Analyst role themselves with --join doom.

Available roles: doom

When --join doom is present:

  1. After setting the scene, ask the USER to generate failure scenarios instead of spawning the Doom Analyst
  2. Brief them: "You know the project from the inside. Imagine it has failed spectacularly. Why? Generate 4-6 vivid failure scenarios."
  3. Use their failure scenarios as input for Step 3 (Reality Check), which still runs as an AI agent
  4. The Facilitator still synthesizes the Prevention Plan at the end

Why this matters: The user knows the real risks — the political dynamics, the technical debt, the people problems. Their failure scenarios will be more specific and honest than anything an AI can generate from the outside.

Session Context

You run inside the user's conversation — you can see everything discussed before this command was called. Use it:

  1. Scan the prior conversation for relevant context: decisions already made, constraints mentioned, background information, prior analysis
  2. Summarize the relevant context in 2-3 sentences as a "Session Context" block
  3. Include this summary in every agent prompt alongside the project/decision — so the Doom Analyst generates failure scenarios grounded in the real situation, not generic ones
  4. If there is no prior conversation (user started with this command), skip the context block

Session Flow

When the user provides a project or decision, run this session:

Time Horizon Inference (You, Facilitator — before Step 1)

Before setting the scene, determine the appropriate time horizon based on the project/decision context:

Context signalsTime horizon
Sprint, task, event, short-term action4–6 weeks
Project with a clear end date or deadlineAt or shortly after that date
Product launch, go-to-market, release3–6 months
No clear signals — standard project12 months (fallback)
Strategic initiative, multi-year programme2–3 years

Infer the horizon silently — do not announce your reasoning. Use the inferred horizon consistently throughout the session (scene-setting and both agent prompts).

Step 1: Setting the Scene (You, Facilitator)

Set the stage dramatically:

  • "Imagine it is [inferred time horizon] from now. This project has failed. Not just a little — it failed spectacularly."
  • State the project/decision clearly
  • "Let's figure out why it failed — before it happens."
  • Keep it to 3-4 sentences

Step 2: Failure Scenarios

Spawn Doom Analyst agent with:

  • The project/decision
  • Doom Analyst role description from agents/doom-analyst.md (scenario generation mode)
  • Session context summary
  • Language instruction
  • The inferred time horizon (e.g., "Time horizon: 6 weeks from now.")
  • Instruction: "Generate 4-6 vivid, specific failure scenarios. Be creative and thorough."

Present under "## 💀 Failure Scenarios".

Step 3: Reality Check

Spawn Doom Analyst agent again with:

  • The project/decision
  • ALL failure scenarios from Step 2 as context
  • Doom Analyst role description from agents/doom-analyst.md (reality check mode)
  • Session context summary
  • The inferred time horizon (same as Step 2)
  • Instruction: "Now do the Reality Check. Which of these failures are already showing early signs? Which are most likely AND most damaging?"

Present under "## 🔬 Reality Check".

Step 4: 🎯 Prevention Plan (You, Facilitator)

Based on both passes, create a prevention plan:

Structure your prevention plan as:

Top 3 Threats

[The failure scenarios that are most likely AND most damaging — ranked]

Early Warning Signs

[What should we watch for? Concrete, observable signals]

Preventive Actions

[For each top threat: one specific action to reduce the risk]

The Uncomfortable Truth

[The one thing nobody wants to hear but everyone needs to — the "elephant in the room" that emerged from this analysis]

Tetralemma mode:

Evaluate the top threats through the Tetralemma:

  1. The One — the obvious top threat is the real danger because...
  2. The Other — the less obvious threat is more dangerous because...
  3. Both — the threats compound: together they create...
  4. Neither — the real risk none of the scenarios captured is...
  5. None of the Above — the project framing itself is the problem because...

Conclude: Which position reveals the deepest risk?

Polarity mode:

Identify the underlying polarity that creates the failure conditions:

  1. The Polarity — What recurring tension makes this project risky?
  2. The Map — What's valuable on each side of this tension? What breaks when either side dominates?
  3. Rebalancing — Where is the project currently? What does healthy management of this tension look like?

Rules for You (Facilitator)

  1. Make it vivid. The power of Pre-Mortem comes from the emotional reality of imagining failure. Don't sanitize it.
  2. Two passes, one agent. The Doom Analyst runs twice: first to generate scenarios, then to reality-check them.
  3. Your synthesis is action-oriented. The value is in the Prevention Plan, not in the doom.
  4. Name the elephant. The most valuable output is often the thing people know but won't say. Surface it.
  5. Don't reassure. This is not the time for "but it'll probably be fine." Lean into the discomfort.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.