agent-incident-postmortem

Featured

Run a blameless postmortem for an incident caused by an AI agent or LLM feature — hallucinated facts shipped to users, runaway tool use, prompt injection, cost blowouts, or wrong actions taken autonomously. Use when asked to write up an AI incident, analyse why an agent did something wrong, or produce corrective actions after an LLM failure. Produces a structured postmortem with trace reconstruction, a root-cause layer analysis, and corrective actions including a permanent regression case. For non-AI production incidents use incident-postmortem.

AI & Automation 1,231 stars 221 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Agent Incident Postmortem Skill AI incidents differ from outages: the system didn't go down — it did something wrong, confidently, and maybe only once. This skill adapts blameless postmortem practice to nondeterministic systems, where "can we reproduce it?" needs traces, not just steps. ## What This Skill Produces - A **blameless postmortem document** with timeline and user/business impact - A **trace reconstruction** of what the agent saw, decided, and did - A **root-cause analysis across the AI failure layers** (not "the model hallucinated" as a conclusion) - **Corrective actions** — always including a new permanent case in the regression suite ## Required Inputs Ask for (if not already provided): - **What the agent did** and what it should have done - **The trace** — the full request: system prompt, context, tool calls and results, output. If no trace exists, that absence is itself a finding - **Blast radius** — how many users/requests, over what window, and whether it's ongoing - **Detection** — how it was noticed (user report? monitor? luck?) and how long after it started ## Root-Cause Layers Walk the layers in order; the root cause is usually the *earliest* layer that could have prevented the outcome. "The model was wrong" is a starting point, never the conclusion — models are known to be fallible, so the question is what let a fallible output become an incident. | Layer | Ask | |---|---| | **Input / context** | Was the context wrong, stale, contradictory, or ...

Details

Author
mohitagw15856
Repository
mohitagw15856/pm-claude-skills
Created
6 months ago
Last Updated
today
Language
HTML
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

postmortem-writer

Writes blameless postmortems from incident and RCA artifacts. Use after incidents resolve. Emits POSTMORTEM. Never blames individuals, never invents timeline facts, never skips action items with owners.

0 Updated 1 weeks ago
willianbs
AI & Automation Featured

after-action-report

Run a structured after-action review (postmortem, retrospective) on a launch, incident, or completed project to capture timeline, root cause analysis, contributing factors, and actionable lessons. Use this skill whenever the user wants to run a postmortem, retrospective, AAR, or after-action review on any past event. Triggers on after-action report, AAR, postmortem, retrospective, retro, post-incident review, what went well what didn't, lessons learned, blameless postmortem, root cause analysis, RCA, five whys. Also triggers when the user has just shipped something or just resolved an incident and wants to capture learnings.

476 Updated 1 weeks ago
rampstackco
AI & Automation Listed

postmortem-author

Use when the team needs a postmortem, RCA, root cause analysis, incident writeup, blameless review, lessons learned doc, sev review, or action item list after an outage. Triggers on "what went wrong", "what went right", "retro after incident", "draft the postmortem", "publish the writeup", and "track the followups". Produces a Google SRE style postmortem document, a tracked action item table grouped by prevent or detect or mitigate, a two paragraph executive summary for stakeholders, a UTC timeline anchored to evidence links, and a "where we got lucky" section. Do not invoke during the live incident; route active firefighting to `incident-commander` and bring this skill in once the incident is resolved and the channel has stabilized.

0 Updated 1 weeks ago
iamdemetris