- Home
- Skills
- DevOps & Cloud
- Incident Postmortem from Logs and Chat
Works with the AI Agents you already use
Incident Postmortem from Logs and Chat
Build a blameless postmortem from alert, log, deploy, and chat exports: one cited UTC timeline, defined TTD/TTA/TTM/TTR, evidence-backed contributing factors, and action items ranked by risk reduced.
$12
Incident Postmortem from Logs and Chat
Example session with this skill installed
Write the postmortem for INC-2026-1114. Exports are in incident/: alerts.csv (UTC), deploys.csv (CI server, -05:00), logs.csv, chat.csv (Slack export, +01:00). Impact means orders-api 5xx above 1%. Review is 2026-11-17.
- Read your context and instructions
- Compiled the incident postmortem from
- Generated the data export
Postmortem: INC-2026-1114 orders-api checkout errors
Status: Draft for review | Severity: SEV2 | Incident date: 2026-11-14 (UTC) | Review: 2026-11-17
Sources: alerts.csv UTC (Z), deploys.csv -05:00 (tz column), logs.csv +00:00, chat.csv +01:00 (tz column). 19 timeline rows, each cited file:line.
Summary: v2.31.0 reached all 12 pods at 14:02:10 UTC. From 14:06:00 orders-api ran out of database connections; 5xx peaked at 6.8%. Impact ended at 14:48:00 after rollback to v2.30.4; resolved at 15:30:00.
| Metric | Definition | Value |
|---|---|---|
| TTD | first alert - first impact | 13m 00s |
| TTA | first ack - first alert | 8m 30s |
| TTM | first mitigate - first impact | 42m 00s |
| TTR | last resolve - first impact | 1h 24m 00s |
Trigger: F1.
Contributing: F2, F3, F4. No single root cause: the pool max was 5 instead of 50, but the sources do not show why (Q1).
- F1 Change: pool max 5 per pod after v2.31.0 (deploys.csv:2, logs.csv:4, chat.csv:5)
- F2 Rollout: all 12 pods at once, no canary or auto-rollback (deploys.csv:2)
- F3 Detection: alert needs 5xx > 5% for 10m; customers reported 2m 20s before the page (alerts.csv:2, chat.csv:2)
- F4 Response: primary page not delivered audibly; escalation waits 5m (chat.csv:3, alerts.csv:3)
| ID | Action | Factor | Owner role | Due | Impact-min removed |
|---|---|---|---|---|---|
| A1 | CI check fails if prod db pool max < 20 | F1 | orders-api tech lead | 2026-12-01 | 42 |
| A2 | Canary 1 of 12 pods for 10 min, auto-rollback at 5xx > 2% | F2 | platform team | 2026-12-17 | about 41 |
| A3 | Fast-burn alert: 5xx > 2% for 2 min | F3 | SRE on-call lead | 2026-11-24 | about 8 |
| A4 | Weekly test page at handoff; escalation 5 to 3 min | F4 | on-call manager | 2026-11-24 | about 2 |
Blameless check: 0 hits for should have, failed to, human error, blame, fault, or personal names.
alerts.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Postmortems usually stall on the timeline. Alerts export in UTC, the deploy tool logs server time, the chat export is in someone's local time, and the draft ends up with a timeline nobody can check and a "root cause: human error" line.
This skill gives your agent a fixed method and a tested script:
- A stdlib Python script that merges any number of timestamped CSVs into one UTC timeline, states each source's timezone, cites
file:lineon every row, and computes time to detect, acknowledge, mitigate, and resolve from marker rows. Ambiguous or naive timestamps stop the run with a clear message instead of being guessed. - Rules for marking impact, alert, ack, mitigate, and resolve so the durations mean the same thing every time.
- A three-part test for when you may name a single root cause, and a contributing-factor format (statement, evidence, effect) for when you may not.
- Action items that each map to a factor, with an owner role, a due date from the review date, a done-when check, and an estimate of impact minutes removed, sorted by that estimate.
- Blameless wording rules and a final phrase search.
- A full worked example: a fictional checkout outage, four CSVs in, finished postmortem out.
It does not run a live incident, pull data from your tools, or judge individuals. You export the data; the skill turns it into a document a review meeting can trust.
Requires Python 3.10+. No support for DD/MM/YYYY dates. Does not perform live incident command. Requires manual CSV preparation from raw source exports.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 days ago
- Software
Python 3.10+ (standard library only)
CSV exports of your alerts, logs, deploy events, and chat.
Permissions
What's inside
Frequently Asked Questions
New in DevOps & Cloud
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.