Logo: Premortem

Premortem

Communautéit
skyf0xx
premortem

Use before committing to a significant plan or an irreversible action. Assumes the effort has already failed, then works backwards to explain why — a prospective hindsight technique that surfaces failure modes outside-in red-teaming reliably misses, especially ones the user privately suspects but hasn't said aloud.

Iwwersiicht

Editeurskyf0xx
Repositorygambit
Skill-Nummpremortem
Stären
29
Forks
0
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    skyf0xx huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Premortem an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/skyf0xx/gambit/tree/master/skills/premortem
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/skyf0xx/gambit.git /tmp/gambit
mkdir -p .claude/skills
cp -r /tmp/gambit/skills/premortem .claude/skills/premortem
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Premortem an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Premortem automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Premortem net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Skill: premortem

Trigger: A plan is about to be committed to, or an action is about to be taken that can't be walked back. Also use when a plan feels solid and nobody can articulate why it might not be — that comfort is itself the signal.

Purpose: Surface failure modes that red-teaming misses.

threat asks "how could this be attacked or go wrong?" — an outside-in question, and people answer it analytically. This asks something different: it is [date]. This failed. Explain why. The failure is stipulated, not hypothesised, and that single change reliably produces different answers. People who can't generate criticism of a plan they're invested in can readily generate an explanation for an outcome they've been told already happened.

Both moves are needed. This one is worth running even when threat returned little.


Voice & Tone

Committed to the premise. Do not hedge back toward "this might not happen" — the technique works because the failure is treated as fact for the duration. Write in past tense throughout.

Concrete and unsparing. "Momentum was lost" is not a failure explanation; "the follow-on date was never announced, so the WhatsApp group went quiet within nine days and the organisers who'd taken time off work didn't come back" is.

Not doom-mongering. The output is a list of things to fix while fixing is still cheap. Say that at the end, and mean it.


Execution Sequence

1. Load Context

Read the goal — the goal statement, success criteria, deadline, plan key, people key, riskNotes and systemsNotes keys if present.

2. Set the Scene

Pick a date far enough out that the outcome would be known — just past the deadline, or past the point where the current plan would have resolved. State it plainly:

It is [date]. [The goal] did not happen.

[One sentence on what the failed end-state looks like concretely — not "we fell short",
but what someone would actually observe.]

3. Generate Causes — Widely, Before Filtering

Write the failure explanations. Aim for eight to twelve before assessing any of them; the valuable ones tend to arrive late, after the obvious ones are exhausted.

Work deliberately across categories, because unaided generation clusters in one or two:

  • Execution — something didn't get done, or got done late or badly
  • People — someone left, didn't deliver, fell out, burned out, or was never really committed
  • External — a decision went the other way, the environment shifted, timing collided with something bigger
  • Assumption — something believed to be true simply wasn't
  • Second-order — an action worked, and its consequence undid the goal
  • Sustained attention — nothing dramatic failed; it just quietly stopped
  • The operator — the user ran out of money, time, energy, or will

That last category is the one most often omitted and most often correct. Include it.

Then the sharpest question in the technique:

Which of these did you already suspect before I listed them?

A failure the user privately anticipated but hadn't said aloud is the highest-value finding this skill produces. It is almost never the most dramatic item on the list.

4. Rank

CAUSE: [past tense, specific]
  Plausibility: high | medium | low
  Would it have been visible early? yes | no — [the signal that would have shown it]
  Preventable now? yes | partly | no
  Cost to prevent: [what it takes today]

Prioritise on plausibility × preventability. A high-plausibility cause that was invisible until too late deserves an early-warning indicator even if it can't be prevented.

5. Separate the Fatal from the Survivable

FATAL — would have ended the goal on its own:
  [cause] → prevent by [action]

DEGRADING — would have hurt, recoverable:
  [cause] → mitigate by [action]

ACCEPTED — inherent to attempting this at all:
  [cause] → the cost of playing

Be honest about the third category. Some risk is the price of the goal, and pretending otherwise produces a plan that only works in a world where nothing is at stake.

6. Convert to Changes

Every fatal cause needs one of: a change to the plan, an early-warning indicator, or an explicit acceptance. No fatal cause leaves this skill unhandled.

CHANGE: [what to alter in the plan now]
WATCH: [indicator] — [what it would look like] — [check when]
ACCEPT: [risk] — [why it's worth carrying]

7. Elicit

Two questions:

  - Which of those felt most real to you — not most likely, most real?
  - Is there a version of failure I haven't described that you'd recognise?

The user's gut on which failure "feels real" is signal. It's often a pattern they've seen before in their own history, and it deserves weight the analysis can't supply.

8. Update the Goal

Call write_section on riskNotes with the fatal causes and their mitigations added to the existing array (keep the entries already there, including threat's, and label each new one with source: "premortem" so the source is clear). Add any early-warning indicators as watch items. Call append_log with one note on what changed this pass, not a summary of the section the page already shows.

Each appended entry must have:

  • item (required, max 120 chars): the fatal cause or mitigation
  • detail (optional, max 120 chars): additional context
  • source (required): must be "premortem" for items this skill appends
  • accepted (required): boolean; true if user explicitly chose to accept this risk
json
{
  "riskNotes": [
    { "item": "...", "detail": "...", "source": "premortem", "accepted": false }
  ]
}

If the write returns { ok: false, errors }, fix the reported fields and retry before ending the turn.

9. Name the Next Step

Next: [the single most important plan change this produced]

Or:
  - Rework the sequence around these → plan
  - The fatal cause is unverified → web search, or say it's unverified
  - Preventing it means a real tradeoff → decide
  - This changes what matters most → strategy

Close by saying plainly that the failure was hypothetical and the fixes are not. The point of the exercise is that all of this is still cheap to change.

Heefeg gestallte Froen

Wat mécht de KI-Skill Premortem?

Use before committing to a significant plan or an irreversible action. Assumes the effort has already failed, then works backwards to explain why — a prospective hindsight technique that surfaces failure modes outside-in red-teaming reliably misses, especially ones the user privately suspects but hasn't said aloud.

Firwat Premortem op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Premortem besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Premortem an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/skyf0xx/gambit/tree/master/skills/premortem an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Premortem benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Premortem benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Premortem domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Premortem gratis?

Jo. skyf0xx huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇