write-a-postmortem

write-a-postmortem is a skill for Claude Code from inkeep/open-knowledge-skills. It costs 169 tokens per session (4,161 once invoked), scanned A, original, MIT.

A workflow for writing a blameless incident postmortem: a factual account of what went wrong, why it happened, and what should change.

In plain words
What is it for?
Use it to document timelines, separate triggers from root causes and symptoms, record contributing factors, and create owned, dated action items.
Why use it?
It turns an incident into a shared record of causes and follow-up work instead of assigning blame or leaving lessons scattered.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the software-lifecycle plugin — 6 skills shipped together

Good fit Use it to document timelines, separate triggers from root causes and symptoms, record contributing factors, and create owned, dated action items.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/inkeep/open-knowledge-skills/write-a-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 inkeep/open-knowledge-skills --skill write-a-postmortem
Clone the repo
git clone --depth 1 https://github.com/inkeep/open-knowledge-skills

Made for: Claude Code.

Or install software-lifecycle, the plugin that ships this one along with the rest of its 6 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/inkeep/open-knowledge-skills/write-a-postmortem"><img src="https://agentmods.dev/badge/skills/inkeep/open-knowledge-skills/write-a-postmortem.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 169 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,161 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00169 $0.04161
Opus 5.5 $0.00068 $0.01664
Sonnet 5.5 $0.00034 $0.00832
Haiku 4.5 $0.00017 $0.00416

Measured 26d ago against content hash 6e935cbe8e16, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

write-a-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 26d 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.

skills/starter-packs/software-lifecycle/write-a-postmortem/SKILL.md · 203 lines

How it starts

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

Write a postmortem

The platform /open-knowledge skill still governs every markdown operation here — folder scope, the read/write tool surface, linking, and preview. This skill layers postmortem craft on top of it; it does not replace those rules.

A postmortem is not a status update and not a blame ledger. It is a durable, blameless reconstruction of one incident, built from evidence, that makes the system's failure mode legible and produces action items someone will actually verify. The value compounds only when postmortems that share a subsystem link to each other — that is how a repeat class stops being invisible.

This pack scaffolds proposals/, decisions/, specs/, postmortems/, and guides/ at the project root. Postmortems live in postmortems/, one file per incident, filename YYYY-MM-DD-name.md, template id postmortem. Action items that are guide-shaped produce runbook stubs in guides/.

The knowledge base is markdown owned by OpenKnowledge MCP. Read and list in-scope markdown with exec (exec("ls -A postmortems/"), exec("cat postmortems/2024-03-02-auth-outage.md"), exec("grep -rln failover .")) and search({ query: "..." }); create and edit with write and edit; inspect the link graph with links. Never use native Read/Edit/Grep/Glob/cat on in-scope markdown. Source code, logs, dashboards, deploy history, and chat transcripts are OUTSIDE the knowledge base — read those with the host's native tools. Links are plain markdown relative links [db failover](./guides/db-failover.md) — never backticked, never HTML anchors.


Step 0 — Blamelessness gate (stated first because it constrains every later step)

Blameless is a mechanical discipline, not a slogan you paste in the header. If you cannot follow these rules mechanically, the document is not blameless no matter what it says at the top.

  • Name systems and roles, never individuals. "the deploy pipeline," "the on-call engineer," "the release process" — not "Alice," not "the new hire." A named person turns readers defensive and the analysis stops.
  • Write the system's affordance, not the person's action. "The deploy pipeline allowed an unreviewed config to reach production" — not "Alice deployed an unreviewed config." The grammatical subject is the system that permitted the outcome. If your sentence's subject is a person, rewrite it until it is a system.
  • Treat every human action as the reasonable action given the information available at that moment. Nobody caused the incident by being careless. Someone did the sensible thing with the signals they had. The analytical question is never "why did they do that?" — it is "what made that look like the right move at the time?" A dashboard that read green, an alert that never fired, a runbook that said to do exactly that. Find the thing that made it reasonable; that thing is a contributing factor.

Read the full file on GitHub · 203 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. 26d ago Changed 6e935cbe8e16
  2. 2mo ago First seen · 203 lines · 169 tokens per session scan A 59d6a467f513

Subscribe to this mod's changes

write-a-postmortem is a skill published in the GitHub repository inkeep/open-knowledge-skills (17 stars, last pushed 13d ago), licensed MIT. It adds 169 tokens to every session and 4,161 once invoked, about $0.0007 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

write-a-postmortem compared with skills from other repositories

write-a-postmortem next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
write-a-postmorteminkeep/open-knowledge-skillsSkill1713d agoMITA169Claude Code
api-gateway-troubleshootinggoogle/skillsSkill24ktodayApache-2.0A196Claude Code, Codex
pathways-workloadgoogle/skillsSkill24ktodayApache-2.0A178Claude Code, Codex
gke-workload-scaling-troubleshootinggoogle/skillsSkill24ktodayApache-2.0A170Claude Code, Codex
gke-ai-troubleshooting-tpu-performance-degradationgoogle/skillsSkill24ktodayApache-2.0A200Claude Code, Codex
gke-ai-troubleshooting-jobset-interruptiongoogle/skillsSkill24ktodayApache-2.0A83Claude Code, Codex
gke-node-notreadygoogle/skillsSkill24ktodayApache-2.0A112Claude Code, Codex