Skip to main content
skill CX Codex

pre-mortem · borghei — Claude Code skill: what it does, how to install

pre-mortem — a skill for Claude Code that structures prospective hindsight exercises to anticipate launch disasters. Triggers during release planning, large migrations, or major architectural overhauls.

LicenseRef-MIT-Commons-Clause 124 installs ★ 1,183 updated 2026-11-08

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add borghei/Claude-Skills --skill pre-mortem -a claude-code
Open on GitHub

What pre-mortem does

Runs across Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. It asks the team to picture the project failing two weeks after launch, then reconstructs the exact missteps that caused the breakdown.

Reported issues get grouped into verified hazards (tigers), anxiety-driven assumptions (paper tigers), and suppressed team concerns (elephants). The included risk_categorizer.py script validates the generated JSON catalog. Running this validation utility requires a local Python 3 setup.

What it helps with

  • identify unvoiced failure points before committing build resources
  • filter out speculative panics from evidenced launch blockers
  • assign concrete owners and decision dates to project-stopping items
  • validate risk inventory files using risk_categorizer.py

Example prompts for the agent

  • Run a pre-mortem imagining our auth overhaul failed two weeks after launch
  • Help sort these launch concerns into tigers, paper tigers, and elephants
  • Check our pre-mortem entries using risk_categorizer.py to catch missing owners

How to install pre-mortem

1Skills CLI (Vercel)

npx skills add borghei/Claude-Skills --skill pre-mortem -a claude-code

2Manually: put the files in place

~/.claude/skills/pre-mortem/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/pre-mortem/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about pre-mortem

How to install pre-mortem in Claude Code?

Run npx skills add borghei/Claude-Skills --skill pre-mortem -a claude-code in your terminal. You can also place the file directly at ~/.claude/skills/pre-mortem/SKILL.md.

What does pre-mortem do?

It orchestrates prospective hindsight sessions inspired by Gary Klein. The skill separates speculative worries from actual blockers, ensuring critical issues get an assigned owner.

What dependencies does risk_categorizer.py require?

It depends on a local Python 3 environment. The script flags invalid inputs, unassigned launch blockers, and hazards backed merely by speculative wording.

Similar skills

All skills for Notes, tasks and projects →

pre-mortem by other authors comes first.

pre-mortem phuryn Runs a pre-mortem risk assessment on PRDs and launch plans. Catches critical launch blockers, surfaces hidden team assumptions, and maps action items. CX Codex +1 10,600installs pre-mortem ysskrishna The pre-mortem Claude Code skill examines a plan for failure risks before a launch, migration, or other commitment. It works backward from an imagined failure, ranks its causes, and assigns mitigations. CX Codex +1 ★ 25repo stars thinking-pre-mortem tjboudreaux thinking-pre-mortem assumes a plan or launch has already failed, traces concrete causes backward, and turns them into explicit gates, owners, and verification checkpoints. CX Codex +1 804installs senior-pm Alireza Rezvani The senior-pm skill helps plan projects, assess risk, allocate resources, and prepare executive reports. It fits portfolios with several workstreams and complex dependencies. CX Codex +1 792installs gao-schedule jgsystemsconsulting The gao-schedule Claude Code skill helps build and assess a program’s integrated master schedule. It covers critical-path checks, schedule risk analysis, and baseline control. CX Codex +1 ★ 93repo stars project-timeline-simulator BuildWithClaude Community project-timeline-simulator — a command for Claude Code and Cursor that simulates project timelines across multiple scenarios, accounting for uncertainty, dependencies, and resource constraints. CX Codex +1 ★ 3,785repo stars pre-trade-discipline-gate tradermonty pre-trade-discipline-gate is a Claude Code skill that evaluates a local pre-trade checklist before manual order entry. It blocks unplanned, oversized, or revenge orders directly before submission. CX Codex +1 3,200installs recipe-post-mortem-setup official googleworkspace The recipe-post-mortem-setup skill creates a Google Docs post-mortem, schedules a Google Calendar review, and sends a Chat notification. Use it after an incident when the same workflow should run each time. CX Codex +1 30,900installs

From the same set120

The whole set →
soc2-compliance-expert soc2-compliance-expert manages SOC 2 Type I and Type II readiness against Trust Services Criteria, covering control validation and audit evidence collection. CX Codex +1 126installs saas-scaffolder The saas-scaffolder Claude Code skill lays out a Next.js SaaS starter and guides setup for authentication, billing, and tenant separation. Run it when starting a subscription product or multi-tenant app. CX Codex +1 125installs incident-commander incident-commander — a skill for Claude Code guides production incident response: it scores severity, rebuilds timelines, and drafts postmortems. It also runs on Codex, Cursor, and other platforms. CX Codex +1 125installs tech-debt-tracker tech-debt-tracker — a skill for Claude Code and Codex that audits repositories for technical debt and ranks refactoring backlogs. Calculates cost-of-delay metrics to plan capacity for upcoming sprints. CX Codex +1 125installs agent-workflow-designer The agent-workflow-designer Claude Code skill designs workflows for multiple AI agents and estimates their cost before implementation. It comes into play when planning parallel tasks, delegation, or request routing. CX Codex +1 123installs brainstorm-ideas brainstorm-ideas — a skill for structured product ideation: generates ideas from product, design, and engineering angles, maps each to a market opportunity, and identifies the top five. CX Codex +1 121installs atlassian-admin atlassian-admin — a skill for auditing and planning Atlassian Cloud or Data Center administration: users, permissions, SSO, licenses and system health. CX Codex +1 121installs chro-advisor chro-advisor — a skill for hiring plans, salary bands and org structure in a growing company. Use it when you need to justify a role or rebuild a team. CX Codex +1 120installs

Project sponsors

Companies that keep this analytics open