Логотип 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 по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

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

  • Открытый исходный код

    Издатель навыка на GitHub — skyf0xx. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Premortem в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/skyf0xx/gambit/tree/master/skills/premortem
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
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 по лицензии MIT. Издатель — skyf0xx. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇