# event timeline causal reconstructor

> Merge logs, deploy CSVs, alerts, Slack exports and notes into one skew-corrected UTC timeline with cited, ranked causes.

event timeline causal reconstructor is a paid AI agent skill on Agensi by Big t, in Research & Analysis. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [Big t](https://www.agensi.io/creators/t-b)
- Category: [Research & Analysis](https://www.agensi.io/skills/research-analysis)
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/event-timeline-causal-reconstructor
- Tags: research, devops, testing, incident, postmortem, timeline, root-cause, logs

## About this skill

**"Here are six files, what happened?" answered with file:line citations.**

Drop in app logs (JSON lines, syslog, nginx/Apache), deploy and CI exports, PagerDuty/Opsgenie alert CSVs, Slack JSON exports and hand-typed notes. The skill normalises every timestamp format (ISO 8601, RFC 3164 syslog, CLF, epoch s/ms, US-style dates), asks which zone the naive ones are in, and builds a single UTC timeline where every event cites its source `file:line`.

- **Clock-skew detection** from request/order IDs that appear in two sources. It found a +95 s fast clock on the sample nginx log and corrects it with `--auto-skew`.
- **Key moments**: last change before impact, impact start, detection, recovery. Also time-to-detect, impact duration and detect-to-recover.
- **Ranked candidate causes** for any effect (`--why "regex"` or an event id), scored on recency, shared entities and rare words. Chat that *mentions* a deploy never counts as a change.
- **Gaps** where every source went silent, out-of-order lines and assumed zones are reported as data-quality notes.
- Output: terminal summary plus Markdown, CSV and JSON timelines for postmortems, insurance claims, customer disputes or audit trails.

### What's included
SKILL.md, `scripts/timeline.py`, `scripts/make_samples.py` (fictional 6-source checkout outage), expected output, references (RFC 3339/3164/5424, nginx and Apache log docs, Slack export format, Google SRE postmortem guidance), tests.

## Known limitations

- Works on exported text files (logs, CSV, JSON, notes). It does not query Datadog, Splunk, CloudWatch or Slack APIs; export first.
- Skew detection needs the same ID-like token (request/order/trace id containing a digit) in both sources.
- Cause scores are heuristics that rank hypotheses. They are not a causal proof.
- Lines without a recognisable timestamp are skipped and counted, not guessed.

## 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 event timeline causal reconstructor skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Which timestamp formats does it read?

ISO 8601/RFC 3339 with or without zone, syslog (RFC 3164/5424), nginx/Apache CLF, epoch seconds or milliseconds, and US-style `10/14/2026 9:05 AM`. Naive times use `--tz FILE=ZONE` or `--default-tz`.

### What if two servers' clocks disagree?

It compares shared request/order IDs between sources and reports the median offset as `SKEW?`. Confirm, then rerun with `--auto-skew` or `--skew file=+95s`.

### Can I ask about a specific symptom instead of the first error?

Yes. Use `--why "circuit breaker"` (a regex) or `--why E40` (an event id from the timeline).

### Does it upload my logs anywhere?

No. It's pure local file analysis with no network code.

### How big can the inputs be?

Hundreds of thousands of lines are fine on a laptop. Narrow down with `--since/--until`, `--entity` and `--min-sev`.

---

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.
