Incident Postmortem for Openclaw

A comprehensive tool for generating structured, blame-free incident reports from logs and metadata to streamline root cause analysis.

charlie-morrison
v1.0.0
May 1, 2026
0
681
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install cm-incident-postmortem

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install cm-incident-postmortem using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Incident Postmortem?

The Incident Postmortem skill is a specialized utility designed for Openclaw Skills to help engineering teams conduct thorough and blameless post-incident reviews. It simplifies the transition from crisis to learning by automating the heavy lifting of log parsing, timeline reconstruction, and document formatting. By providing a structured framework for root cause analysis (RCA), it ensures that every outage or service degradation becomes a source of actionable intelligence for the organization.

Built with modern Site Reliability Engineering (SRE) principles in mind, this skill emphasizes blame-free language and objective data analysis. It allows developers and operators to focus on fixing systemic issues rather than manually drafting reports. Whether you are dealing with a P0 critical outage or a minor latency spike, using this skill within Openclaw Skills ensures your documentation is consistent, professional, and oriented toward continuous improvement.

Incident Postmortem Use Cases

  • Automating the creation of a chronological incident timeline from disparate application and server logs.
  • Conducting a blameless root cause analysis (RCA) after a production failure or system outage.
  • Auditing existing internal documentation for blameful language to improve engineering culture.
  • Standardizing incident reporting formats across multiple teams using Openclaw Skills.
  • Generating high-quality HTML or Markdown reports for executive stakeholders and customers.

How Incident Postmortem Works

  1. Data Collection: Gather log files from various sources such as Nginx, Docker, or Python tracebacks and provide them to the skill.
  2. Automated Parsing: The skill parses the logs to extract timestamps, errors, and significant events, automatically building a draft timeline.
  3. Contextual Integration: Users merge automated log events with manual metadata, such as the initial detection time and escalation steps.
  4. Blameless Review: The built-in checker scans the drafted text for blameful patterns and suggests neutral, process-oriented alternatives.
  5. Report Generation: The tool populates standardized sections including summary, impact, resolution, and action items.
  6. Multi-format Export: The final postmortem is rendered into the desired format, such as Markdown for Git repositories or HTML for web sharing.

Incident Postmortem Setup

To integrate this capability into your environment for Openclaw Skills, ensure you have the necessary script access and follow these basic setup steps:

# Generate a basic postmortem report template
python3 scripts/generate_postmortem.py --title "Database Connection Timeout" --severity P1

# Parse recent logs to auto-populate the timeline
python3 scripts/generate_postmortem.py --title "API Latency Spike" --log /var/log/app.log --since 4h

# Check an existing document for blameless language standards
python3 scripts/generate_postmortem.py --check-blame existing-report.md

Incident Postmortem Data Schema & Taxonomy

The skill organizes incident data into a structured format compatible with modern SRE workflows. This ensures that Openclaw Skills users can maintain a high degree of data integrity across all reports.

Component Type Description
Metadata Object Includes title, severity (P0-P3), date, and duration.
Timeline Array Chronological list of events with types: detection, action, escalation, resolution.
Logs Parser Support for syslog, JSON, Apache/Nginx, and Python tracebacks.
RCA Markdown Detailed root cause analysis and impact assessment sections.
Action Items List Trackable tasks derived from the lessons learned section.

Incident Postmortem Advanced Features

  • Advanced log parsing for multi-format log streams including generic timestamped logs and Docker outputs.
  • Native support for blame-free language checking with automated replacement suggestions for biased phrasing.
  • CI-friendly exit codes (0, 1, 2) to allow integration into automated reporting or audit pipelines.
  • Capability to load and transform full incident data from structured JSON files into styled HTML.
  • Support for severity-based formatting to highlight critical P0 and P1 incidents differently within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*