incident-timeline-builder
Installation
SKILL.md
When to invoke
- When writing an incident postmortem and you need a clean timeline.
- When you have log lines or chat exports with timestamps and need ordering and clustering.
Inputs needed
--input: Path to a text file with one event per line.- Each line should start with an ISO-8601 timestamp like
2026-05-10T12:34:56Z.
- Each line should start with an ISO-8601 timestamp like
- Optional
--out: Path to write a JSON timeline. - Optional
--gap-minutes: Threshold to flag gaps (default 20).
Workflow
- Parse timestamps and messages; drop lines without a parseable timestamp.
- Sort events.
- Cluster events when adjacent messages are within N minutes.
- Identify gaps larger than the threshold.