postmortem-draft

postmortem-draft is a skill for Claude Code, Codex from runxhq/runx. It costs 45 tokens per session (590 once invoked), scanned A, original, Apache-2.0.

A postmortem drafting tool that turns incident fragments into a traceable account of what happened. A postmortem is a written review after a failure or outage; this one separates quoted facts from suspicions and unknowns.

In plain words
What is it for?
Use it to build an evidence-cited timeline, label root causes as known, suspected, or unknown, list open questions, and assign action items to owners.
Why use it?
It prevents guesses from being presented as facts and blocks publication when important evidence is missing. Publishing and sending the report remain separate human-approved actions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build an evidence-cited timeline, label root causes as known, suspected, or unknown, list open questions, and assign action items to owners.

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

Made for: Claude Code, Codex.

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 postmortem-draft

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/runxhq/runx/postmortem-draft"><img src="https://agentmods.dev/badge/skills/runxhq/runx/postmortem-draft.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 590 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.00590
Opus 5.5 $0.00018 $0.00236
Sonnet 5.5 $0.00009 $0.00118
Haiku 4.5 $0.00005 $0.00059

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

Security

Grade A, and why

postmortem-draft 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (postmortem-draft.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/postmortem-draft/SKILL.md · 55 lines

How it starts

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

Postmortem Draft

Produce a postmortem that never pretends unknowns are facts. The supplied incident fragments are the only evidence; the drafting agent separates what happened from what is suspected, and deterministic code verifies every claimed fact against the fragments. Publication is a gated proposal, never an effect of this skill.

Procedure

  1. Native data.digest binds the exact fragment set.
  2. The drafting agent assembles a summary, an evidence-cited timeline, a root cause with a status of known, suspected, or unknown, open unknowns, and owned action items.
  3. Deterministic enforcement checks every timeline entry and any non-unknown root cause: the cited fragment must exist and the quote must appear verbatim in that fragment's text. An invented citation refuses the whole run. Action items must carry an action and an owner.
  4. The verdict separates completeness from honesty: a fully cited postmortem with a supported root cause and no open unknowns is publishable and carries a publish proposal gated on a human approver through message-send; a grounded but incomplete one seals needs_more_evidence and publishes nothing.

To build the fragment set from live systems, compose web-fetch or store reads upstream; the digest binds whatever evidence was supplied. Running the incident belongs to its operator; this skill explains it afterward.

Output

postmortem (runx.postmortem.v1) carries decision (publishable, needs_more_evidence, refused), summary, the cited timeline, root_cause, unknowns, action_items, the gated publish_proposal or null, validation, and the fragments digest. publish_performed is always false.

Inputs are incident_ref and incident_fragments.

Agent task contracts

postmortem-draft-draft

Read incident_ref and incident_fragments from step inputs. Return postmortem_draft with summary, timeline entries (each entry, fragment_id, quote), root_cause (status, and for known or suspected a statement, fragment_id, and quote), unknowns, and action_items (each action, owner). Quote fragments verbatim, mark anything the fragments do not support as unknown rather than asserting it, and never invent fragments, quotes, owners, or deadlines.

Read the full file on GitHub · 55 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 55 lines · 45 tokens per session scan A acbb9258c2ef

Subscribe to this mod's changes

postmortem-draft is a skill published in the GitHub repository runxhq/runx (104 stars, last pushed yesterday), licensed Apache-2.0. It adds 45 tokens to every session and 590 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-10-18.

Related

Other skills, from other repositories

rust-check

Run cargo check on the current Rust project to find compile errors.

Hmbown/CodeWhale · 15 tokens

openrig-skills

Use when an agent running inside OpenRig needs the right skill or context for fleet recovery, seat handover, new-seat orientation, a watchdog wake, cross-host reach to an agent on another machine, rig packaging, an OpenRig upgrade, systematic debugging, queue triage, or implementation planning; also when the agent…

mvschwarz/openrig · 109 tokens

debug

Reproduce, minimize, localize, identify root cause, and distinguish diagnosis from an authorized fix. Prefer root-cause over symptom patches.

Hmbown/CodeWhale · 30 tokens

feedback

Skill "feedback" from Hmbown/Codewhale, covering feedback, when to use, setup, workflow and non-goals.

Hmbown/Codewhale · 0 tokens

oversight-team

Use when you are a seat on the oversight pod (a standing monitor-mode rig that keeps OTHER rigs healthy), configuring or running the drift detectors, or choosing whether to intervene vs escalate. Covers the pull-not-poll posture, the v0 detectors (premature-park, process-drift, off-task, token-burn), the intervention…

mvschwarz/openrig · 117 tokens

developing-openrig

Use when changing OpenRig's own source in a clone of the openrig repository: finding which package or file owns a behaviour, choosing which tests to run, testing a change without disturbing the OpenRig daemon your own session runs on, judging whether a diff touches a high-risk area, or preparing a pull request. Not…

mvschwarz/openrig · 84 tokens