What problem does it solve?
Displays the runtime trace of how hooks, keywords, skills, agents, and tools interact during a session, helping you diagnose flow issues and performance bottlenecks.
Core Features & Use Cases
- Timeline view: see the chronological sequence of events across a session, including hooks, skills, agents, and tools.
- Summary view: aggregated counts and metrics such as hook fires, keywords detected, skills activated, mode transitions, and tool performance.
- Filtering & focus: narrow the trace by event types (hooks, skills, agents, keywords, tools, modes) and by session scope (latest or specific sessions).
- Use case: debugging complex agent workflows and optimizing response times.
Quick Start
Run trace_timeline with no arguments to display the latest session timeline, then run trace_summary to review aggregated metrics.