Логотип Premortem

Premortem

Спільнота
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.

Огляд

Видавецьskyf0xx
Репозиторійgambit
Назва навичкиpremortem
Зірки
29
Форки
0
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: skyf0xx. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Premortem у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/skyf0xx/gambit/tree/master/skills/premortem
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Premortem в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Premortem, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Premortem не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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.

Поширені запитання

Що робить навичка ШІ 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.

Навіщо використовувати Premortem у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Premortem — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Premortem у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/skyf0xx/gambit/tree/master/skills/premortem. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Premortem?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Premortem?

Зі скількома забажаєте. У TypingMind ви можете використовувати Premortem із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Premortem?

Так. На GitHub цю навичку публікує skyf0xx за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇