Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Trace the full event chain for one Claude Code session into an ordered timeline of every event type with tool_name and summary, highlighting gaps, out-of-order events, and failures. Reads /api/events?session_id= and /api/sessions/:id from the Agent Monitor dashboard. Use when debugging what a session actually did, step by step.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-08 | ✗→✓ | ▲ Improved | 3% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -55% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -32% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -38% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 177% | 0% |
Build a chronological, annotated event timeline for a single session.
The user provides: $ARGUMENTS
This is a session ID. It may also be:
latest / last — trace the most recently updated sessionerrors — trace the most recent session whose status is error| Endpoint | Returns | |----------|---------| | GET /api/sessions?limit=N | session list (used to resolve latest/errors and the target id) | | GET /api/sessions/:id | full session detail (status, model, cwd, started_at, ended_at, cost, nested agents + events) | | GET /api/events?session_id=X | the ordered event stream: event_type, tool_name, summary, data, timestamp |
If $ARGUMENTS is a raw id, use it. If latest/last, call GET /api/sessions?limit=1. If errors, call GET /api/sessions?limit=10&status=error and pick the newest. Confirm the id resolves via GET /api/sessions/:id; if not, report it as missing and stop.
From GET /api/sessions/:id: id, status, model, cwd, started_at → ended_at, total duration, cost (USD to 4 decimals), and counts (events, agents).
From GET /api/events?session_id=X, list every event in timestamp order. One row per event:
| # | time | Δ since prev | event_type | tool_name | summary |
Cover all event types present: SessionStart, PreToolUse, PostToolUse, Stop, SubagentStop, Compaction, APIError, TurnDuration, Notification, SessionEnd.
Annotate the timeline:
tool_name, next in stream) — mark ⚠️ "no completion recorded".
summary/data indicatesan error — mark ❌ with the error text.
tail of an ended session — mark 🚩.
One line: CLEAN, GAPS DETECTED, or FAILURES PRESENT — with the count of each flag type and the single most likely thing to investigate next.
npm start from the repo root.Other measured skills in the registry, with their headline benchmark lift.