🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Incident Postmortem

by @charlie-morrison

Generate structured, blame-free incident postmortem reports from logs, timeline data, and incident metadata. Produces root cause analysis, impact assessment,...

πŸ’‘ Examples

# Create a postmortem from scratch (fills in template sections)
python3 scripts/generate_postmortem.py --title "Database outage" --severity P1

Parse logs to auto-extract timeline events

python3 scripts/generate_postmortem.py --title "API latency" --log /var/log/app.log --since 2h

Load a complete incident from JSON

python3 scripts/generate_postmortem.py --from incident.json --output html -o postmortem.html

Combine logs + manual timeline

python3 scripts/generate_postmortem.py --title "Deploy failure" --log /var/log/deploy.log --timeline events.json

Check existing document for blameful language

python3 scripts/generate_postmortem.py --check-blame existing-report.md

βš™οΈ Configuration

| Flag | Default | Description | |------|---------|-------------| | --title | required | Incident title | | --severity | P2 | P0, P1, P2, or P3 | | --date | today | Incident date | | --duration | TBD | How long it lasted | | --summary | β€” | Brief summary text | | --log | β€” | Log file path (repeatable) | | --since | all | Time filter for logs (1h, 24h, 7d) | | --timeline | β€” | Timeline JSON file | | --from | β€” | Load full incident from JSON | | --output | markdown | Output format: markdown, html, json | | -o | stdout | Output file path | | --check-blame | β€” | Check file for blameful language |

View on ClawHub
TERMINAL
clawhub install cm-incident-postmortem

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’