Postmortem Writer: blameless incident reports from notes

    by Ship-Safe Skills

    1

    Manual incident reporting is slow and prone to bias.

    Free

    Security scanned

    Works with the AI Agents you already use

    Postmortem Writer: blameless incident reports from notes

    Example session with this skill installed

    Write the postmortem for Tuesday's checkout outage. Here's what I have from Slack and PagerDuty (team is in India, some notes are in IST):

    2026-03-04 14:21 PagerDuty alert firing: checkout-api 5xx > 5%
    2026-03-04 14:02 deployed v2.31.0 to prod #start
    [14:25] priya: ack, looking into it
    14:40 rolled back to v2.30.4, error rate dropping
    2026-03-04T15:10:00+05:30 random note in IST
    2026-03-04 15:05Z root cause found: missing index on orders.tax_region; all clear #resolve
    
    • Read your context and instructions
    • Compiled the postmortem writer

    Summary

    Ran scripts/build_timeline.py notes.txt --date 2026-03-04. It sorted the notes into UTC (the IST note moved to 09:40 UTC), and computed the incident durations. Below is the draft postmortem.

    Impact numbers are left blank on purpose: they weren't in your notes, and the skill never invents them.

    Timeline (UTC), real script output

    Time (UTC)EventMilestone
    2026-03-04 09:40random note in IST
    2026-03-04 14:02deployed v2.31.0 to prodstart
    2026-03-04 14:21PagerDuty alert firing: checkout-api 5xx > 5%detect (guessed)
    2026-03-04 14:25priya: ack, looking into itack (guessed)
    2026-03-04 14:40rolled back to v2.30.4, error rate droppingmitigate (guessed)
    2026-03-04 15:05root cause found: missing index on orders.tax_region; all clearresolve

    Time to detect: 19m ·

    Time to acknowledge: 4m ·

    Time to mitigate: 38m ·

    Time to resolve: 1h 03m ·

    Customer impact: 38m

    Postmortem: checkout-api errors after v2.31.0 (2026-03-04)

    Summary

    A deploy at 14:02 UTC introduced a query on orders.tax_region, which had no index, and checkout-api started returning 5xx errors. The alert fired 19 minutes later. A rollback at 14:40 ended customer impact after 38 minutes.

    Impact

    MetricValueSource
    Customer impact duration38mtimeline
    Failed checkoutsunknown: pull from API dashboard
    Revenue impactunknown: confirm with finance

    Contributing factors

    1. The new query filtered on an unindexed column (orders.tax_region), per the root-cause note. Open question: why didn't testing catch it?
    2. The alert threshold (5xx > 5%) delayed detection by about 19 minutes.
    3. Nothing in CI or review flags new WHERE columns without an index.

    What went well

    • Rollback took about 15 minutes from acknowledgement and fully mitigated impact.

    Action items

    #ActionTypeOwnerDue
    1Add index on orders.tax_region (created concurrently) before re-deploying v2.31preventpaymentsset
    2CI check: flag queries on new columns that have no indexpreventplatformset
    3Lower checkout 5xx alert to 2% over 2 mindetectSREset

    Open questions

    • The detect/ack/mitigate milestones were

    guessed from keywords: confirm them, or tag the notes with #detect / #mitigate.

    • What was the 09:40 UTC (15:10 IST) note? It is earlier than the deploy, so it may be unrelated.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Manual incident reporting is slow and prone to bias. This skill converts raw logs, Slack exports, and deploy history into a blameless postmortem that identifies systemic contributing factors rather than human error. It handles the tedious work of UTC timeline normalization and milestone calculation so you can focus on remediation.

    What it does

    • Timeline generation sorts disparate logs and notes into a chronological UTC timeline with calculated duration metrics.
    • Impact quantification extracts user, request, and financial impact figures from provided data sources.
    • Root cause analysis applies "5 whys" to distinguish between immediate triggers and underlying systemic contributing factors.
    • Action item drafting generates specific, owned, and checkable tasks tagged by prevention, detection, or mitigation.
    • Blameless formatting rewrites technical failures to focus on system architecture and process rather than individual actions.

    How it works

    1. Ingest data from incident channels, git log, alert emails, and dashboard screenshots.
    2. Build the timeline using the internal script to compute time-to-detect and time-to-resolve.
    3. Analyze the event to identify what went well, where the team got lucky, and the primary triggers.
    4. Draft action items ensuring each has a clear owner and a measurable completion criteria.

    Frameworks & tools

    Uses a Python-based timeline builder and git CLI for history analysis. Works with standard Markdown templates and supports Slack thread exports and GitHub Action logs.

    Why this beats prompting it yourself

    Standard LLM prompts often lapse into "human error" blame or vague action items like "improve monitoring." This skill enforces a strict blameless methodology and uses an internal script to ensure UTC timeline math is accurate across timezones.

    Use cases

    • Post-outage retrospectives to create a formal report for stakeholders after a production incident.
    • Internal postmortems to document minor "near-miss" events and prevent future escalation.
    • Stakeholder updates to provide a concise, high-level summary of impact and resolution for non-technical leadership.

    Known limitations

    Requires manual confirmation of guessed milestones. Impact numbers are limited to the data provided in logs or notes.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 13 days ago

    • Free with an Agensi account

    Software
    Python 3.8+
    Optional
    GitHub CLI
    orgit (to pull deploy history)

    Permissions

    Terminal / Shell
    Read Files

    Shell runs the bundled timeline script (python, standard library only). Read: the incident notes/exports you point it at. No network calls; nothing is sent anywhere.

    Listed13 days ago

    What's inside

    Frequently Asked Questions

    This skill accepts a variety of inputs including Slack thread exports, GitHub/GitLab logs, alert emails, and even screenshots of monitoring dashboards to piece together a comprehensive event history.

    Unlike standard prompts, this skill uses a specialized Python-based builder to normalize timestamps into UTC and calculate precise duration metrics, preventing the common mathematical errors LLMs make with timezones.

    The skill is designed to follow a 'blameless' methodology, meaning it automatically rephrases reports to focus on systemic vulnerabilities and architectural gaps rather than individual human actions or mistakes.

    You will receive the 'Postmortem Writer' agent skill, compatible with most major AI agent platforms, along with a set of Markdown templates for standardized reporting across your organization.

    Yes, while the skill drafts owners and checkable tasks based on the logs, you can review and assign specific team members to the prevention, detection, or mitigation categories before finalizing the report.

    Updates are delivered through the marketplace dashboard; when the underlying timeline script or reporting logic is improved, you will be notified to sync the latest version to your agent.

    New in DevOps & Cloud

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.

    Free