Writing prompts · Prompt

Write a blameless postmortem (prompt)

write-blameless-postmortem-prompt

A prompt that drafts a blameless postmortem from an incident, with a timeline, impact, root cause and owned fixes, and no person named as the culprit. Use when the user wants a postmortem, an incident review write-up, a five-whys analysis, or outage notes turned into a learning doc.

Works with: Any AI Not yet model-tested; testing Jan 2027

Paste it into ChatGPT, Claude, Gemini or any AI chat, then tell it about your project. How it works

Install in Claude Code, Cursor or Codex (optional)

Only for AI coding tools that read skill folders. Run one line in a terminal, in your project folder. It downloads this skill's text files from TheSkillVault and nothing else; you can read them first with “View raw SKILL.md”.

Claude Code (all your projects)

curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/write-blameless-postmortem-prompt/raw' -o ~/'.claude/skills/write-blameless-postmortem-prompt/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/write-blameless-postmortem-prompt/files/LICENSE.txt' -o ~/'.claude/skills/write-blameless-postmortem-prompt/LICENSE.txt'

Cursor (this project)

curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/write-blameless-postmortem-prompt/raw' -o '.cursor/skills/write-blameless-postmortem-prompt/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/write-blameless-postmortem-prompt/files/LICENSE.txt' -o '.cursor/skills/write-blameless-postmortem-prompt/LICENSE.txt'

Codex and other Agent Skills tools (this project)

curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/write-blameless-postmortem-prompt/raw' -o '.agents/skills/write-blameless-postmortem-prompt/SKILL.md' && curl -fsSL --create-dirs 'https://theskillvault.ai/api/skills/write-blameless-postmortem-prompt/files/LICENSE.txt' -o '.agents/skills/write-blameless-postmortem-prompt/LICENSE.txt'

Or connect the whole library over MCP

Add TheSkillVault to Cursor or add this to your app's MCP settings (read-only; help):

{
  "mcpServers": {
    "theskillvault": {
      "url": "https://theskillvault.ai/mcp"
    }
  }
}

A postmortem is a short record of what broke, why the system allowed it, and what will change. It is not a search for someone to blame.

When to use

  • An outage, data problem or near miss just ended and the details are still fresh.
  • You have chat logs or alert times and need one clear write-up.
  • Action items from the last incident were vague and never got owners.

Steps

  1. Collect times, what users felt, and what was changed to recover. Leave out names of customers.
  2. Paste that material into the prompt below.
  3. Read the draft and fix any sentence that blames a person. Point it at the missing check, the missing test, or the missing alarm.
  4. Give every action an owner and a date, then file those tasks in your tracker.

Prompt

Write a blameless postmortem from the notes below.

Rules:
- Describe what the system did. Do not name a person as the cause.
- If a human action mattered, name the missing guard (review, test, alarm, docs), not the human.
- Use only facts that are in the notes. If a fact is missing, write "unknown" instead of guessing.
- Redact customer personal data, passwords, tokens, addresses and account ids. Replace them with placeholders.

Output these sections, in order:
1. Summary. Three or four sentences: what broke, who was affected, how long, how it ended.
2. Impact. Users, duration, and whether data was lost. Say "none known" when the notes do not show loss.
3. Timeline. A table of time and event, in order. Use the timezone stated in the notes.
4. Causes. Proximate cause, then up to five whys. Stop when you reach a system gap, not a person.
5. What helped. Alarms or checks that worked.
6. Actions. Each line has a change, an owner, a due date, and a type: prevent, detect, or mitigate. Drop vague lines like "be more careful".
7. Open questions. Facts you still need.

NOTES:
{{TIMELINE, ALERTS, AND WHAT WE CHANGED}}

How to adapt

  • A small glitch can use only Summary, Timeline, Causes and Actions.
  • A customer-facing note should be a second, shorter draft with no internal host names.

Gotchas

  • Do not paste secrets, session tokens or personal data into the chat. Redact first.
  • A draft that says "Alex caused this" has failed. Rewrite that line around the missing check.
  • Actions with no owner will not happen. Leave them out until someone accepts them.
  • Write it within a day or two. Memory of the timeline fades quickly.

Portability

Works with any chat AI. The same headings fit a wiki page, a Google Doc, or a ticket. If you use a status page, publish only the short customer draft.

Done when

  • The draft has a timeline, a cause that is a system gap, and actions with owners.
  • No sentence blames a named person, and no secret or personal data remains.

Example prompt

"Write a blameless postmortem. Checkout failed for 20 minutes after a config flag flipped. Alerts fired at 09:12 UTC. We rolled the flag back at 09:31. No data loss we know of."

---

Adapted from "postmortem-writing" in wshobson/agents (MIT, Copyright (c) 2024 Seth Hobson). See LICENSE.txt.

Bundled files

Licence

Adapted from Seth Hobson (wshobson/agents, postmortem-writing) (Copyright (c) 2024 Seth Hobson), MIT License. Adapted by TheSkillVault: converted into a fill-in prompt with a short section list and blameless rules; dropped the long sample incident and facilitation script; added redaction, adapt notes and done-when.

Licence: MIT License. Attribution when you reuse it: Based on work by Seth Hobson (wshobson/agents, postmortem-writing) (Copyright (c) 2024 Seth Hobson, MIT License), https://github.com/wshobson/agents/tree/7e2fb559cf4b824b27f1fec49fe88f7511066d26/plugins/incident-response/skills/postmortem-writing; adapted by TheSkillVault, https://theskillvault.ai