premortem

premortem is a skill for Claude Code, Codex from woliveiras/geremmyas. It costs 61 tokens per session (804 once invoked), scanned A, original, MIT.

A planning exercise that assumes a plan or launch failed six months later, then works backward to identify the causes.

In plain words
What is it for?
Use it to stress-test product, feature, architecture, pricing, strategy, or launch decisions when the affected people and desired outcome are clear.
Why use it?
It exposes blind spots and risks while there is still time to change the plan.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to stress-test product, feature, architecture, pricing, strategy, or launch decisions when the affected people and desired outcome are clear.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/woliveiras/geremmyas/premortem
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add woliveiras/geremmyas --skill premortem
Clone the repo
git clone --depth 1 https://github.com/woliveiras/geremmyas

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for premortem

README.md
[![agentmods](https://agentmods.dev/badge/skills/woliveiras/geremmyas/premortem/github.svg)](https://agentmods.dev/skills/woliveiras/geremmyas/premortem)
Your own site
<a href="https://agentmods.dev/skills/woliveiras/geremmyas/premortem"><img src="https://agentmods.dev/badge/skills/woliveiras/geremmyas/premortem/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for premortem

Your own site · 80×15
<a href="https://agentmods.dev/skills/woliveiras/geremmyas/premortem"><img src="https://agentmods.dev/badge/skills/woliveiras/geremmyas/premortem.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 804 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00061 $0.00804
Opus 5.5 $0.00024 $0.00322
Sonnet 5.5 $0.00012 $0.00161
Haiku 4.5 $0.00006 $0.00080

Measured 2mo ago against content hash 9b2aa5017ae8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

premortem scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

content/skills/premortem/SKILL.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Premortem

Assume the plan already failed 6 months from now. Work backward to find every reason why. Produce a revised plan with blind spots exposed.

Based on Gary Klein's prospective hindsight method. The frame shift from "what could go wrong?" to "this already failed, explain why" produces more specific and honest failure identification.

When to Use

  • A product, feature, or architecture you're about to commit to
  • A launch plan, pricing change, or strategy pivot
  • Any decision where the cost of being wrong is high and you can still change course

When NOT to Use

  • Vague ideas with no concrete plan (help them plan first)
  • Decisions already made and irreversible
  • Simple factual questions or routine code reviews
  • Requests for creative feedback on a draft

Minimum Context Threshold

Before running the premortem, you need three things:

  1. What is it? — The thing being premortemed, describable in one sentence.
  2. Who is affected? — The audience, customer, team, or stakeholders.
  3. What does success look like? — The outcome the user hopes for.

Scan the conversation and workspace for existing context first. Only ask for what's genuinely missing. One question at a time, conversational, not a form.

Procedure

1. Set the frame

State the premise explicitly:

It's 6 months from now. [The plan] has failed. It's done. We're looking back to understand what went wrong.

This framing is the mechanism. Without it, analysis defaults to polite risk assessment.

2. Generate failure reasons

List every genuine reason the plan could have died. Each reason must be:

  • Specific to this plan (not generic advice)
  • Grounded in actual details provided
  • A genuine threat (not a minor inconvenience or extremely unlikely edge case)

Find every real failure mode. Don't stop at 3 if there are 7. Don't pad to 7 if there are 3.

3. Synthesize

For each failure reason, state in 2-3 sentences: the underlying assumption it exploits and one early warning sign to watch for.

Read the full file on GitHub · 95 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 95 lines · 61 tokens per session scan A 9b2aa5017ae8

Subscribe to this mod's changes

premortem is a skill published in the GitHub repository woliveiras/geremmyas (10 stars, last pushed 3mo ago), licensed MIT. It adds 61 tokens to every session and 804 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

premortem compared with skills from other repositories

premortem next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
premortemwoliveiras/geremmyasSkill103mo agoMITA61Claude Code, Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code