quality-postmortem

quality-postmortem is a skill for Claude Code, Codex from petrkindlmann/qa-skills. It costs 140 tokens per session (5,178 once invoked), scanned A, original, MIT.

A review process for finding patterns in bugs that reached users and checking whether a project's tests are still covering important risks. It also provides formats for postmortems, which are structured reviews after failures, and retrospectives, which are regular team improvement meetings.

In plain words
What is it for?
Use it after production bugs, during regular quality reviews, or when many escaped defects suggest that the test suite or development process needs attention.
Why use it?
It helps teams learn from defects without blaming individuals and turn repeated problems or weak testing into tracked improvements.

Skill for Claude CodeCodex

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

Good fit Use it after production bugs, during regular quality reviews, or when many…

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/petrkindlmann/qa-skills/quality-postmortem.svg)](https://agentmods.dev/skills/petrkindlmann/qa-skills/quality-postmortem)
Your own site
<a href="https://agentmods.dev/skills/petrkindlmann/qa-skills/quality-postmortem"><img src="https://agentmods.dev/badge/skills/petrkindlmann/qa-skills/quality-postmortem.svg" alt="Measured on agentmods" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,178 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.00140 $0.05178
Opus 5 $0.00070 $0.02589
Sonnet 5 $0.00028 $0.01036
Haiku 4.5 $0.00014 $0.00518

Measured 7d ago against content hash dc29f91ade31, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

quality-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 7d 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/quality-postmortem/SKILL.md · 384 lines

How it starts

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


Quick Route

You have... Go to Template
One escaped bug to dissect Bug Pattern Analysis Escaped Bug Analysis (references/templates.md)
10+ escaped bugs, looking for themes Aggregating Patterns Over Time
A proactive quarterly check (no incident) Test Suite Health Review
A P0/P1 production incident Postmortem Template for Quality Incidents references/templates.md
A recurring sprint/monthly review Retro Meeting Template references/templates.md

Discovery Questions

Check .agents/qa-project-context.md in the project root first — it carries quality goals, risk areas, and test suite details that anchor any postmortem. Use it and skip anything already answered there. Then clarify:

  1. Do you have a regular retro cadence? Per-sprint, monthly, or only after incidents? Regular cadence catches slow-burn problems. Incident-only cadence misses patterns until they explode.

  2. What triggered this postmortem? A production incident? A pattern of escaped bugs? A feeling that the test suite is not catching enough? Test suite degradation? The trigger determines the focus.

  3. What data is available? Bug tracker with severity and discovery phase? CI history with pass rates? Flaky test reports? Coverage trends? Without data, postmortems devolve into opinion sessions.

  4. What happened with previous postmortem action items? Were they completed? Tracked? Forgotten? If past action items are abandoned, the team has learned that postmortems do not matter. Fix the follow-through before running another postmortem.

  5. Who should participate? Engineers who worked on the affected area. QA who tested (or did not test) it. Product owner if the impact was user-facing. Engineering manager if systemic changes are needed. Keep the group to 4-8 people.

Read the full file on GitHub · 384 lines

Files

What ships with it

1 file 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. 7d ago First seen · 384 lines · 140 tokens per session scan A dc29f91ade31

Subscribe to this mod's changes

quality-postmortem is a skill published in the GitHub repository petrkindlmann/qa-skills (110 stars, last pushed 2mo ago), licensed MIT. It adds 140 tokens to every session and 5,178 once invoked, about $0.0007 per session on Opus 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-30.

Related

Other skills, from other repositories

Debugging Strategies

Advanced debugging patterns for test failures covering root cause analysis, flakiness investigation, performance debugging, and systematic troubleshooting methodologies.

PramodDutta/qaskills · 28 tokens

Flaky Test Doctor

Diagnose flaky test failures from Playwright reports, traces, and rerun history. Classify each failure as product, test, environment, data, or unknown with cited evidence and a proposed fix. Never auto-modifies code without opt-in.

PramodDutta/qaskills · 54 tokens

Concurrency Testing Patterns

Testing concurrent code including race condition detection, deadlock prevention, thread safety verification, and parallel execution correctness.

PramodDutta/qaskills · 25 tokens

fix-bug

Fixes a bug through test-driven debugging, reproduces it with a failing test, locates the root cause with evidence (file:line), then applies the smallest fix that resolves it without refactoring unrelated code. Use when the user wants to fix a bug, debug an issue, resolve an error, or investigate a failing test. Not…

mgiovani/cc-arsenal · 94 tokens

analyze-failures

Triage Katalon True Platform/TestOps test failures and file defects. Use when you need to investigate failed test results, classify each failure as product defect vs automation defect vs environment/data issue, cluster failures by common signature, find likely root cause from execution data, and optionally create…

katalon-labs/true-skills · 131 tokens

agent-qa-result-triage

Use when investigating failed agent-qa runs, inspecting artifacts, classifying failures, or comparing recent runs. Prefer agent-qa MCP run/artifact tools and produce evidence-backed triage.

vostride/agent-qa · 45 tokens