PostHog LLM Trace Explorer

•
59
•

Debugs and analyzes LLM agent traces, sessions, and token usage via PostHog observability tools.

This skill integrates PostHog's AI observability suite into Claude Code, allowing developers to deep-dive into LLM interaction traces. It enables the inspection of event hierarchies—from high-level agent invocations to granular LLM API calls—helping users debug tool usage, verify context retrieval, analyze subagent behavior, and monitor token costs. By processing trace and session URLs directly, it streamlines the investigation of AI decision-making processes and performance bottlenecks within development workflows.

主な機能

0159 GitHub stars
02Advanced filtering by custom properties, person data, and model types.
03Hierarchical event visualization including spans, generations, and embeddings.
04Detailed analysis of LLM inputs, outputs, and tool execution states.
05Deep trace inspection via PostHog MCP tools and trace/session URL parsing.
06Built-in Python scripts for summarizing large trace data and conversation history.

ユースケース

01Analyzing token usage and associated costs for complex multi-step LLM chains.
02Debugging why an AI agent failed to use a specific tool correctly during a session.
03Verifying that the correct context or RAG files were surfaced during a generation.