# Afterlog: blameless post-mortems that change something

> Turns an incident or a wasted afternoon into a one-screen, blameless post-mortem with a root cause and owned, dated action items, then brings the lesson back later.

Afterlog: blameless post-mortems that change something is a free AI agent skill on Agensi by MAJI, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [MAJI](https://www.agensi.io/creators/maji)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Uses: 1
- Version: 1.1
- Last updated: 2026-10-21
- Security: scan passed (2026-10-21); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/afterlog-blameless-post-mortems-that-change-something
- Tags: devops, documentation, testing-debugging

## About this skill

When a production deploy fails or a migration wipes a table, the post-mortem often gets skipped because it feels like extra work. This skill drafts the timeline and root cause from what your session already shows: commands, errors and commits. It forces a blameless analysis that focuses on system improvements rather than human error.

### What it does
- **Incident extraction** pulls timestamps, error messages, and commands from your current session to build a factual timeline.
- **Root cause analysis** uses iterative questioning to move past "human error" to specific process or system gaps.
- **Action item tracking** generates specific, testable tasks with assigned owners and due dates.
- **Project logging** appends every incident to a centralized markdown file for permanent record keeping.
- **Contextual reminders** surfaces lessons from past failures when you start work in a related area of the codebase.

### How it works
1. Use the command `post-mortem` or respond to a prompt after a detected failure.
2. Review the timeline and impact stats extracted from your environment.
3. Answer specific questions to drill down from the trigger to the underlying root cause.
4. Approve the generated action items and lesson summary.

### Frameworks & tools
This skill works with any codebase using a standard file structure and is optimized for projects that store documentation in Markdown. It writes to `docs/post-mortems.md` or the project's existing incident folder.

### Why this beats prompting it yourself
Writing blameless reports is psychologically difficult and often results in vague action items like "be more careful." This skill enforces a strict format that requires numbers, specific owners, and system-level fixes, ensuring failures actually lead to changes.

### Use cases
- **Failed deployments** where a rollback was required or a service went down.
- **Data loss incidents** such as corrupted migrations or accidental table drops in staging or production.
- **Security slips** like accidental secret commits or exposed API keys.
- **Wasted time** when a development approach hit a dead end after hours of work.

### Known limitations
Saves each post-mortem to a Markdown file in the repo. It cannot automatically pull external logs from cloud providers unless they are piped into the current session or accessible via local files.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Afterlog: blameless post-mortems that change something skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does 'Afterlog' ensure a report stays truly blameless?

The skill builds the timeline from facts already in your session (commands, errors, commits), then prompts you with iterative questions to identify system-level gaps rather than blaming individual actions.

### Which AI agents or development environments are compatible with this skill?

This skill is compatible with any AI agent or IDE that supports markdown-based documentation and has access to your local terminal session or log files.

### Does this skill require integration with external monitoring tools like Datadog or Sentry?

No. It needs no integrations: it writes to docs/post-mortems.md (or your existing incident folder) and works from errors and logs that are in the session or that you paste.

### What exactly is included in this free skill?

One SKILL.md: the post-mortem format, the steps from timeline to root cause, the rules for action items and the lesson reminder. It is free.

### Can the skill reference past post-mortems to prevent repeat mistakes in the future?

Yes, the skill is designed to search your existing incident logs and surface relevant 'lessons learned' whenever you begin working in a related area of the codebase.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
