exploring-llm-traces
Installation
SKILL.md
Exploring LLM traces with MCP tools
PostHog captures LLM/AI agent activity as traces. Each trace is a tree of events representing a single AI interaction — from the top-level agent invocation down to individual LLM API calls.
Available tools
| Tool | Purpose |
|---|---|
posthog:query-llm-traces-list |
Search and list traces (compact — no large content) |
posthog:query-llm-trace |
Get a single trace by ID with full event tree |
posthog:execute-sql |
Ad-hoc SQL for complex trace analysis |
Event hierarchy
See the event reference for the full schema.
$ai_trace (top-level container)
Related skills