# Postmortem

> Postmortem is an open-source agent skill for documentation review. Drafts a blameless incident postmortem with timeline, root cause and action items. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/feimacode/open-design-agent-kit/tree/main/packages/content/assets/open-design/skills/postmortem
- **Repository:** https://github.com/feimacode/open-design-agent-kit
- **GitHub stars:** 1,238
- **License:** MIT
- **Skill name:** postmortem
- **Collection:** https://github.com/feimacode/open-design-agent-kit
- **Categories:** [documentation review](https://ai-powered.com/categories/documentation-review)
- **Listing updated:** 2026-12-05

## About

This skill guides the agent to write a blameless incident review as a single HTML page. It asks for incident notes, timelines and dashboards rather than inventing them, and pulls commit history with git log and git show to tie the root cause to the changes that caused and fixed the problem.

The page follows a fixed structure: a header with severity and status, a short summary, a row of impact figures each with its source, a timestamped timeline, a step-by-step root cause, contributing factors, what went well and badly, and action items with owners and priorities. Every section ends with a list of the files and commits that were read, and open questions are marked as such rather than filled in.

The skill also sets layout and design rules for the page, using the active design system's colours and a single readable column that works on phones. It finishes by running a check tool on the artifact and fixing any errors at desktop and mobile widths.

## When your agent uses it

> A blameless incident postmortem: summary with impact numbers, a timeline, root cause and contributing factors, what went well and badly, and action items with owners.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/feimacode/open-design-agent-kit/tree/HEAD/packages/content/assets/open-design/skills/postmortem)
- [License: MIT](https://github.com/feimacode/open-design-agent-kit/tree/HEAD/packages/content/assets/open-design/skills/postmortem)

## Features

- **Impact summary:** Presents a short summary and a row of impact figures, each tied to its source.
- **Timeline table:** Lays out timestamped events from detection through to resolution, with timezones.
- **Root cause chain:** Walks through the technical sequence of failure and links the relevant commits.
- **Blameless wording:** Frames contributing factors and actions around systems and decisions, not individuals.
- **Action items:** Tabulates follow-up actions with owners, priorities and due dates linked to causes.
- **Phone-friendly layout:** Uses a single readable column and scrollable tables that fit small screens.

## Good for

- Write a postmortem for last night's outage from my pasted timeline
- Summarise the impact of a production incident with affected request counts
- Trace the root cause of a bad deploy using the git history
- List action items with owners after an incident review
- Draft an incident report with a severity rating and status

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/postmortem` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/postmortem &&
cp -R "$tmp/packages/content/assets/open-design/skills/postmortem" ~/.claude/skills/postmortem &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/postmortem` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/postmortem` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/postmortem &&
cp -R "$tmp/packages/content/assets/open-design/skills/postmortem" ~/.agents/skills/postmortem &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/postmortem` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/postmortem` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/postmortem &&
cp -R "$tmp/packages/content/assets/open-design/skills/postmortem" ~/.cursor/skills/postmortem &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/postmortem` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/feimacode/open-design-agent-kit.git --path packages/content/assets/open-design/skills/postmortem
```

Or copy the folder to `~/.gemini/skills/postmortem` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/postmortem`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/postmortem &&
cp -R "$tmp/packages/content/assets/open-design/skills/postmortem" ~/.copilot/skills/postmortem &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/postmortem` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/feimacode/open-design-agent-kit.git
```

Then copy `open-design-agent-kit/packages/content/assets/open-design/skills/postmortem` into your agent's skills folder as `postmortem`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need from me before Postmortem writes?

It asks for the incident notes, chat or pager timeline and dashboards. It is told never to invent an incident, timestamp or impact number, so missing details are requested or marked as open questions.

### Does Postmortem read my code repository?

It can run git log and git show on the commits that caused and fixed the incident, and look at the code paths involved, to link the root cause to specific changes.

### What does the output look like?

It produces an HTML page with a header, summary, impact figures, timeline, root cause, contributing factors, what went well and badly, action items and a sources list. It registers the artifact with a design tool and runs a check on it.

### Which clients does Postmortem work with?

The content does not tie it to specific clients, so it follows the shared agent skills format.

### How do I install Postmortem in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/postmortem to use it in all your projects, or to .claude/skills/postmortem in one project.

### Does Postmortem run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Postmortem?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Postmortem?

The closest alternatives to Postmortem are Incident postmortem, Incident postmortem and PR explainer.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Incident postmortem](https://ai-powered.com/skills/incident-postmortem-ajyadav013-2): Incident postmortem is an open-source agent skill for developer tools.
- [Incident postmortem](https://ai-powered.com/skills/incident-postmortem): Incident postmortem is an open-source agent skill for files and documents.
- [PR explainer](https://ai-powered.com/skills/pr-explainer-feimacode): PR explainer is an open-source agent skill for documentation review.

---
Source: https://ai-powered.com/skills/postmortem-feimacode
