
Incident postmortem
Guides the agent to write a blameless postmortem with timeline, 5-whys and action items
Incident postmortem is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 13
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Incident postmortem
This skill walks the agent through documenting a production incident after it has been resolved. It focuses on systems and process rather than individuals, and it produces a structured writeup that separates the trigger of an incident from the underlying root cause. The agent is directed to reconstruct the timeline in UTC from incident logs, git history, deploy records and monitoring data, then work backward through a 5-whys analysis to a systemic cause.
The writeup follows a fixed template saved under docs/incidents, covering summary, impact, timeline, root cause, contributing factors, what went well or poorly, and a table of action items. Each action item is meant to be owned, dated and ideally a systemic fix such as an alert, test, hook or gate. The skill also suggests recording reusable pitfalls as durable lessons in the agent memory folder.
The skill expects access to an incident log or the team's deploy and logging history, and it pairs with an incident-responder agent that runs the incident itself. The bundled files are a single SKILL.md with no scripts.
When your agent uses it
Write a blameless postmortem after a production incident is resolved. Use for an RCA, or when the user says postmortem/RCA/writeup. Produces timeline, 5-whys root cause, and tracked action items.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (3 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the claude-kit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add ajyadav013/claude-kit
/plugin install claude-kit@claude-kitOr copy only this skill to ~/.claude/skills/incident-postmortem:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/incident-postmortem &&
cp -R "$tmp/skills/incident-postmortem" ~/.claude/skills/incident-postmortem &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/incident-postmortem inside it instead.
Copy the skill folder to ~/.agents/skills/incident-postmortem to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/incident-postmortem &&
cp -R "$tmp/skills/incident-postmortem" ~/.agents/skills/incident-postmortem &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/incident-postmortem inside it instead.
Copy the skill folder to ~/.cursor/skills/incident-postmortem to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/incident-postmortem &&
cp -R "$tmp/skills/incident-postmortem" ~/.cursor/skills/incident-postmortem &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/incident-postmortem inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ajyadav013/claude-kit.git --path skills/incident-postmortemOr copy the folder to ~/.gemini/skills/incident-postmortem yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/incident-postmortem:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/incident-postmortem &&
cp -R "$tmp/skills/incident-postmortem" ~/.copilot/skills/incident-postmortem &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/incident-postmortem inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ajyadav013/claude-kit.gitThen copy claude-kit/skills/incident-postmortem into your agent's skills folder as incident-postmortem. Agents that support SKILL.md read one folder per skill.
What it does
- Blameless root cause analysis
- Guides the writeup toward system and process causes rather than individual blame.
- Timeline reconstruction
- Builds a UTC timeline covering detection, mitigation and resolution from available records.
- 5-whys investigation
- Walks past the immediate trigger to the systemic gap that allowed the incident.
- Trigger versus cause
- Separates what set off the incident from why the system permitted it.
- Postmortem template
- Provides a markdown template with impact, contributing factors and action items.
- Tracked action items
- Requires owned, dated follow-ups, preferring alerts, tests or gates.
Good for
- Write a postmortem for last night's production outage
- Run a 5-whys root cause analysis on a failed deploy
- Document a near-miss so the team can learn from it
- Turn the incident log and deploy history into a timeline
- Draft action items to prevent a database migration from recurring
Incident postmortem FAQ
When does Incident postmortem trigger?
It is meant for use after a production incident is resolved, or when the user asks for an RCA, a postmortem or a writeup.
Where is the postmortem saved?
The template targets a file path under docs/incidents using the date and a slug in the name.
Does Incident postmortem run any scripts or tools?
No scripts are included. It directs the agent to read incident logs, git history, deploy records and monitoring tools.
Does Incident postmortem work with a specific AI client?
The skill is distributed as a Claude Code plugin through the claude-kit marketplace, and it follows the standard SKILL.md format.
How do I install Incident postmortem in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/incident-postmortem to use it in all your projects, or to .claude/skills/incident-postmortem in one project. Or install the claude-kit plugin, which includes it: /plugin marketplace add ajyadav013/claude-kit, then /plugin install claude-kit@claude-kit.
Does Incident postmortem run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Incident postmortem?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Incident postmortem?
The closest alternatives to Incident postmortem are Incident postmortem, Incident triage, Skill hardening from incidents, Agent introspection debugging and Observability gap.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ajyadav013/claude-kit

Guides an agent through pytest, async fixtures and security-regression tests for FastAPI
- Open source
- 13 GitHub stars
- Developer tools

Lets your agent inspect and debug live browser pages via Chrome DevTools MCP
- Open source
- 13 GitHub stars
- Browser automation

Runs concurrent load and stress tests against API endpoints to find latency and throughput
- Open source
- 13 GitHub stars
- Developer tools

Lets an agent click through a feature in a real browser and check how it behaves
- Open source
- 13 GitHub stars
- Developer tools

Runs quick health checks on backend, frontend and login to catch obvious breakage
- Open source
- 13 GitHub stars
- Developer tools

Guides an agent through red-green-refactor, bug reproduction tests and test pyramid
- Open source
- 13 GitHub stars
- Developer tools





