exploring-llm-traces
Originally fromposthog/ai-plugin
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; can return large multi-trace payloads |
posthog:query-llm-trace |
Get a single trace by ID with full event tree |
posthog:read-data-schema |
Discover custom event/person properties before filtering |
posthog:execute-sql |
Ad-hoc SQL for complex trace analysis |
Event hierarchy
See the event reference for the full schema.