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.
npx skills add KhaledSaeed18/dotclaude --skill incident-postmortemgit clone --depth 1 https://github.com/KhaledSaeed18/dotclaudeWrote 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.
[](https://agentmods.dev/skills/khaledsaeed18/dotclaude/incident-postmortem)<a href="https://agentmods.dev/skills/khaledsaeed18/dotclaude/incident-postmortem"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/incident-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.
<a href="https://agentmods.dev/skills/khaledsaeed18/dotclaude/incident-postmortem"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/incident-postmortem.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00113 | $0.01088 |
| Opus 5.5 | $0.00045 | $0.00435 |
| Sonnet 5.5 | $0.00023 | $0.00218 |
| Haiku 4.5 | $0.00011 | $0.00109 |
Grade A, and why
incident-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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
A postmortem exists so the same failure cannot happen the same way again. It is blameless because the person who typed the command is never the root cause; the system that let that command do damage is. Write it within a week, while the timeline is still recoverable.
Gather
- The timeline sources: alerts (first fired), chat channel export, deploy log, commits, dashboards (screenshots with timestamps), customer reports, the incident ticket.
- The fix: the PR or command that resolved it, and when the symptom cleared.
- Metrics for impact: requests failed, users affected, duration, data affected, revenue or SLO budget consumed.
Convert every timestamp to one timezone (UTC) with the local offset stated once.
Structure
# Postmortem: <short title> (INC-1234)
Date of incident: 2026-09-18 | Duration: 47 min (14:03 to 14:50 UTC) | Severity: SEV2
Authors: ... | Reviewed: ... | Status: action items open (3 of 5)
## Summary
Three sentences: what broke, who it affected and how much, what fixed it.
## Impact
Numbers: error rate, affected users or tenants, failed jobs, data written or lost, SLO budget burned, support tickets. What was NOT affected, if that matters.
## Timeline (UTC)
| Time | Event | Source |
| 13:58 | Deploy of api v2.41.0 starts (rollout 10%) | deploy log |
| 14:03 | Error rate on /orders rises to 12% | alert ORDERS-5XX |
| 14:07 | On-call acknowledges; suspects deploy | #incident |
| ... | ... | ... |
| 14:50 | Error rate back to baseline | dashboard |
## Root cause and contributing factors
The causal chain, from the trigger back through every condition that had to hold:
1. Trigger: v2.41.0 changed the order-status enum; the consumer in billing was not updated.
2. The contract between api and billing has no schema check in CI.
3. Canary at 10% did not include billing traffic, so the canary metrics stayed green.
4. The alert fired on 5xx rate but billing failures surfaced as 200s with an error body.
Each factor is a system property, not a person.
## Detection
How we found out (alert, customer, luck), how long it took, and what would have found it sooner.
## Response
What went well (name it: the rollback took 4 minutes). What was slow or confusing, and why (no runbook for X; two people rolled back different things).
## What we got lucky about
Anything that would have made it worse and did not happen.
## Action items
| # | Action | Addresses factor | Owner | Due | Status |
| 1 | Contract test between api and billing in CI | 2 | ... | 2026-10-02 | open |
| 2 | Canary routing includes billing traffic | 3 | ... | ... | ... |
| 3 | Billing errors return 5xx, alert on them | 4 | ... | ... | ... |
## Lessons
Two or three sentences a reader from another team can apply.
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.
- 4d ago Changed · +1 lines 7d65c6b02906
- 2mo ago First seen · 76 lines · 113 tokens per session scan A 65aefd205596
incident-postmortem is a skill published in the GitHub repository KhaledSaeed18/dotclaude (8 stars, last pushed today), licensed MIT. It adds 113 tokens to every session and 1,088 once invoked, about $0.0005 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-09-22.
incident-postmortem compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| incident-postmortemKhaledSaeed18/dotclaude | Skill | 8 | today | MIT | A | 113 | Claude Code |
| beweis-und-aktenanalyse-bearbeitenKlotzkette/claude-fuer-deutsches-recht | Skill | 2.0k | today | Apache-2.0 | A | 54 | Claude Code |
| gaeb-angebote-pruefenKlotzkette/claude-fuer-deutsches-recht | Skill | 2.0k | today | Apache-2.0 | A | 58 | Claude Code |
| lcx-report-bugcode-yeongyu/oh-my-openagent | Skill | 71k | today | none | A | 85 | Codex |
| ast-grepcode-yeongyu/oh-my-openagent | Skill | 71k | today | none | A | 61 | Claude Code, Codex |
| debuggingcode-yeongyu/oh-my-openagent | Skill | 71k | today | none | A | 53 | Claude Code, Codex |
| lcx-doctorcode-yeongyu/oh-my-openagent | Skill | 71k | today | none | A | 93 | Codex |