premortem-postmortem

premortem-postmortem is a skill for Claude Code, Codex from CassioRoos/godfly-skills. It costs 78 tokens per session (523 once invoked), scanned A, original, MIT.

A planning and review guide for anticipating how work might fail before launch, then learning from incidents or failed projects afterward.

In plain words
What is it for?
Use it to plan risky launches, define safeguards and rollback conditions, or review incidents and failures to identify causes and improvements.
Why use it?
It helps teams spot preventable risks early and examine failures using timelines and evidence instead of blame or hindsight.

Skill for Claude CodeCodex

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

Good fit Use it to plan risky launches, define safeguards and rollback conditions, or review incidents and failures to identify causes and improvements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cassioroos/godfly-skills/premortem-postmortem
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 CassioRoos/godfly-skills --skill premortem-postmortem
Clone the repo
git clone --depth 1 https://github.com/CassioRoos/godfly-skills

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-postmortem

README.md
[![agentmods](https://agentmods.dev/badge/skills/cassioroos/godfly-skills/premortem-postmortem/github.svg)](https://agentmods.dev/skills/cassioroos/godfly-skills/premortem-postmortem)
Your own site
<a href="https://agentmods.dev/skills/cassioroos/godfly-skills/premortem-postmortem"><img src="https://agentmods.dev/badge/skills/cassioroos/godfly-skills/premortem-postmortem/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-postmortem

Your own site · 80×15
<a href="https://agentmods.dev/skills/cassioroos/godfly-skills/premortem-postmortem"><img src="https://agentmods.dev/badge/skills/cassioroos/godfly-skills/premortem-postmortem.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 523 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.00078 $0.00523
Opus 5.5 $0.00031 $0.00209
Sonnet 5.5 $0.00016 $0.00105
Haiku 4.5 $0.00008 $0.00052

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

Security

Grade A, and why

premortem-postmortem 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 1mo 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.

archive/premortem-postmortem/SKILL.md · 98 lines

What it actually says

Premortem / Postmortem

Use premortems to prevent predictable failure. Use postmortems to learn without rewriting history.

Premortem

Frame it as: "It is six months after launch. This failed badly. What killed it?"

Steps:

  1. Define success in measurable terms.
  2. List failure causes independently before filtering.
  3. Classify causes:
    • Real threats: plausible, damaging, actionable.
    • Noise: scary but unlikely or unactionable.
    • Avoided truths: politically or emotionally uncomfortable risks.
  4. Score real threats by impact, likelihood, and detectability.
  5. Turn the top threats into controls, owners, and validation tests.
  6. Define launch gates and rollback triggers.

Premortem output:

## Success Definition

## Failure Story

## Top Failure Causes
- Cause:
  Class:
  Evidence:
  Impact:
  Likelihood:
  Detectability:
  Prevention:
  Detection:
  Owner:

## Launch Gates

## Rollback Triggers

Postmortem

Do not hunt for a single root cause when the evidence shows a chain. Most failures are systems failures.

Steps:

  1. Build a timeline from evidence: logs, metrics, deploys, alerts, commits, tickets, user reports.
  2. Separate facts from interpretations.
  3. Identify contributing factors across code, process, config, monitoring, docs, and decision-making.
  4. Ask why detection failed or succeeded.
  5. Define corrective actions with owners and deadlines.
  6. Add regression tests, monitors, runbooks, or guardrails.

Postmortem output:

## Impact

## Timeline

## What Happened

## Contributing Factors

## Detection And Response

## What Worked

## What Failed

## Corrective Actions
- Action:
  Owner:
  Due:
  Verification:

## Follow-up Risks

Rule

Do not accept "human error" as a root cause. Human error is where the investigation starts.

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. 1mo ago Changed · -5 lines · -19 tokens per session 53a0e75e6bfb
  2. 2mo ago First seen · 103 lines · 97 tokens per session scan A 556a738216f8

Subscribe to this mod's changes

premortem-postmortem is a skill published in the GitHub repository CassioRoos/godfly-skills (1 stars, last pushed yesterday), licensed MIT. It adds 78 tokens to every session and 523 once invoked, about $0.0003 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-postmortem compared with skills from other repositories

premortem-postmortem next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
premortem-postmortemCassioRoos/godfly-skillsSkill1yesterdayMITA78Claude Code, Codex
auto-test-codehuangwb8/skillsSkill506d agoMITA56Claude Code, Codex
git-pr-reviewhuangwb8/skillsSkill506d agoMITA76Claude Code, Codex
challenge-resolveBorda/AI-RigSkill31yesterdayApache-2.0A74Claude Code, Codex
code-reviewBorda/AI-RigSkill31yesterdayApache-2.0A41Claude Code, Codex
assessBorda/AI-RigSkill31yesterdayApache-2.0A19Claude Code, Codex
code-remediateBorda/AI-RigSkill31yesterdayApache-2.0A39Claude Code, Codex