Post Mortem logo

Post Mortem

Community
rileyhilliard
post-mortem

Review a completed session to extract actionable improvements. Identifies DX friction, documentation gaps, architectural confusion, anti-patterns, process failures, and skill/config improvements. Uses progressive disclosure for targeted investigation types.

Overview

Publisherrileyhilliard
Repositoryclaude-essentials
Skill namepost-mortem
Stars
127
Forks
19
Bundled files
6
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by rileyhilliard on GitHub. Read the source before you install it.

Installation

Install the Post Mortem AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rileyhilliard/claude-essentials.git /tmp/claude-essentials
mkdir -p .claude/skills
cp -r /tmp/claude-essentials/plugins/ce/skills/post-mortem .claude/skills/post-mortem
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Post Mortem in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Post Mortem on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Post Mortem is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Post-Mortem

Review a completed session or task to assess how it went and extract improvements. This covers both "how did we do" evaluation and "what can we learn" investigation.

When to Use

After completing any non-trivial task or session. The goal is continuous improvement:

  • Routine review: How smooth was execution? Where did friction occur?
  • Problem sessions: Things took longer than expected, multiple corrections needed
  • Bug fixes: What caused it and what would prevent it next time?
  • New patterns: Something worked well that should be codified

Investigation Types

Load the relevant reference based on what you're investigating:

SituationLoadFile
Agent hit friction during execution (wrong files, bad assumptions, unclear conventions)DX Frictionreferences/dx-friction.md
Documentation (READMEs, comments, API docs) was wrong, incomplete, or misleadingDocumentation Gapsreferences/documentation-gaps.md
Code was hard to understand or things were in unexpected placesArchitecture Clarityreferences/architecture-clarity.md
A bug was fixed but the root cause suggests a process gapBug Preventionreferences/bug-prevention.md
Code works but diverges from best practices, idioms, or established conventionsAnti-Patternsreferences/anti-patterns.md
Skills, hooks, commands, agents, or .claude/ configs need updatingTooling Improvementsreferences/tooling-improvements.md

Load multiple references when the session spans investigation types.

Core Process

Every post-mortem follows four steps regardless of investigation type.

1. Reconstruct What Happened

Walk through the session timeline. For each significant step, note:

  • What was attempted
  • What actually happened
  • Where corrections were needed and why
  • What went smoothly (worth noting what worked, not just what didn't)

Don't editorialize yet. Just document the sequence.

2. Assess Execution Quality

Evaluate how the session went overall:

  • Efficiency: Did we take a direct path or wander? Where were the detours?
  • Accuracy: Were initial approaches correct, or did we need multiple corrections?
  • Tooling fit: Did skills, commands, and configs help or get in the way?
  • Communication: Was intent clear between user and agent throughout?
  • Outcome: Did we deliver what was asked for? Is it solid or just "works for now"?

Flag anything that felt harder than it should have been, even if it ultimately succeeded.

3. Identify Systemic Causes

For each friction point, ask: "What would have prevented this?"

Push past the first answer. "I should have read the file more carefully" is a symptom. "The file's name doesn't indicate what it contains" or "there's no convention documented for where this type of code lives" is a systemic cause.

Good root causes point to something fixable:

  • A missing or misleading piece of documentation
  • An architectural pattern that's inconsistent or undiscoverable
  • A skill/config that gives wrong guidance
  • A convention that exists but isn't written down
  • A test gap that allowed a regression
  • A workflow that worked well but isn't codified

Bad root causes are just descriptions of what went wrong:

  • "I made a mistake"
  • "The code was complex"
  • "It took a while to figure out"

4. Propose Concrete Actions

Every finding should produce one of these:

  • Documentation update - Fix incorrect docs, add missing docs, clarify ambiguous docs
  • Skill/config update - Modify an existing skill or CLAUDE.md instruction
  • New skill/hook - Create a new skill or hook to codify a pattern
  • Architecture improvement - Refactor to make the system more discoverable
  • Test addition - Add tests that would catch this class of issue
  • Codify a win - Something that worked well should be made repeatable

Each action should have a specific file path and description of the change. Vague actions like "improve documentation" are not useful.

Output Format

Match the length of written documents to what the task needs: cover the substance, but do not pad with filler sections, redundant summaries, or boilerplate.

markdown
## Session Post-Mortem

### What Happened
[Timeline of the session with key decision points]

### Execution Assessment
- **Outcome:** [What was delivered vs what was asked]
- **Efficiency:** [Direct path or detours? Where and why?]
- **What worked well:** [Patterns, skills, or approaches worth repeating]

### Findings

#### Finding 1: [Title]
**What happened:** [The friction or issue, stated factually. 1-2 sentences]
**Root cause:** [The systemic issue underneath. 1-2 sentences]
**Action:** [Specific change with file path. 1-2 sentences]
**Priority:** [High/Medium/Low based on how often this would recur]

#### Finding 2: [Title]
...

### Summary
[1-2 sentences: biggest takeaway and what should change first]

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Post Mortem AI skill do?

Review a completed session to extract actionable improvements. Identifies DX friction, documentation gaps, architectural confusion, anti-patterns, process failures, and skill/config improvements. Uses progressive disclosure for targeted investigation types.

Why use Post Mortem on TypingMind?

Because you install it once and use it with any model. Post Mortem is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Post Mortem in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/rileyhilliard/claude-essentials/tree/main/plugins/ce/skills/post-mortem. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Post Mortem?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Post Mortem?

As many as you like. As long as a model supports skills, you can use Post Mortem with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Post Mortem AI skill free?

Yes. It is published on GitHub by rileyhilliard under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇