post-mortem

post-mortem is a skill for Claude Code from xbklairith/kisune. It costs 45 tokens per session (1,808 once invoked), scanned A, original, MIT.

A skill for documenting a software bug after it has been fixed and tested. A post-mortem records what caused the bug, how it worked, how it was fixed, how the fix was checked, and why testing missed it.

In plain words
What is it for?
Use it after a validated bug fix to write the project’s official incident or bug record before closing the issue.
Why use it?
It creates a lasting engineering record instead of leaving the cause and lessons scattered across chat or code changes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the dev-workflow plugin — 28 skills, 1 command, 8 agents, 1 hook, 1 plugin shipped together

Good fit Use it after a validated bug fix to write the project’s official incident or bug record before closing the issue.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xbklairith/kisune/post-mortem
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 xbklairith/kisune --skill post-mortem
Clone the repo
git clone --depth 1 https://github.com/xbklairith/kisune

Made for: Claude Code.

Or install dev-workflow, the plugin that ships this one along with the rest of its 28 skills, 1 command, 8 agents, 1 hook, 1 plugin.

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 post-mortem

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xbklairith/kisune/post-mortem"><img src="https://agentmods.dev/badge/skills/xbklairith/kisune/post-mortem.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,808 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.00045 $0.01808
Opus 5.5 $0.00018 $0.00723
Sonnet 5.5 $0.00009 $0.00362
Haiku 4.5 $0.00005 $0.00181

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

Security

Grade A, and why

post-mortem 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.

dev-workflow/skills/post-mortem/SKILL.md · 119 lines

How it starts

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

Post-mortem

Activation Triggers

  • /post-mortem
  • "write the post-mortem" / "postmortem" / "RCA" / "root cause analysis"
  • "document this fix" / "write up the root cause" / "close out this bug"
  • After systematic-debug lands a validated fix — proactively offer to draft one.

Purpose

The canonical engineering record of a bug fix. Written after debugging lands a real fix, for other engineers and future-you who will have forgotten everything in six months. Code identifiers are welcome — this is the artifact that lets the next person recover the mental model fast.

When NOT to Use

  • Customer-visible outage or incident. Those need a separate incident report covering timeline, blast radius, paging history, and comms. This skill is bug-fix scope. Flag and confirm before proceeding.
  • Trivial one-liner fix. The PR description is the record. Don't manufacture ceremony.

Required Inputs Gate

Before writing a single line, confirm all four. If any are missing, list them and stop — do not draft:

  • Reliable repro — deterministic or high-rate-flake; the next person can run it.
  • Root cause known — the mechanism is identified, not a hypothesis.
  • Fix identified — PR, commit, or branch pointer exists.
  • Fix validated — the original repro now passes; the failing test or workload now succeeds.

systematic-debug's breadcrumb ledger is the raw material for all four. Pull from it.

Structure

Use these sections in this order. Summary, Root cause, Fix, and Validation are mandatory. The rest are conditional but usually present.

1. Summary (mandatory)

One paragraph. What broke in user or workload terms. What fixed it in one sentence. Issue ID (if any), PR number, owner. A reader who stops here should have the right answer.

2. Symptom

What was actually observed — test output, error message, log line, perf number, customer report. Concrete identifiers; don't paraphrase the failure mode.

3. Root cause (mandatory)

Read the full file on GitHub · 119 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. 1mo ago Changed · -2 lines 23cd4b91fade
  2. 2mo ago Changed · -3 lines 029c0ef082fc
  3. 3mo ago First seen · 124 lines · 45 tokens per session scan A 5e118d0c7a7c

Subscribe to this mod's changes

post-mortem is a skill published in the GitHub repository xbklairith/kisune (4 stars, last pushed 24d ago), licensed MIT. It adds 45 tokens to every session and 1,808 once invoked, about $0.0002 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

post-mortem compared with skills from other repositories

post-mortem next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
post-mortemxbklairith/kisuneSkill424d agoMITA45Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill343todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
verus-query-timinglbx154/ArgusSkill337yesterdayMITA28Claude Code, Codex