PostHog Data Querying

•
59
•

Enables advanced data retrieval and complex analytics using HogQL and SQL within the PostHog ecosystem.

This skill provides the essential knowledge and implementation patterns required to query PostHog's extensive datasets, ranging from system entities like dashboards and feature flags to complex behavioral analytics like funnels, retention, and LLM traces. It serves as a comprehensive guide for performing schema discovery, adapting HogQL syntax, and executing optimized SQL queries to extract actionable insights directly through Claude Code. By bridging the gap between raw data and specific tool calls, it ensures users can precisely locate, aggregate, and analyze product data with high accuracy.

주요 기능

01Battle-tested query examples for trends, funnels, retention, and paths
02Deep-dive schema references for insights, feature flags, cohorts, and persons
0359 GitHub stars
04Workflow patterns for entity discovery and high-performance data retrieval
05Specialized observability querying for logs, error tracking, and LLM traces
06HogQL and SQL syntax guidance optimized for PostHog system tables

사용 사례

01Locating specific PostHog entity IDs to perform automated dashboard or insight updates
02Generating custom analytics reports that require complex aggregations beyond standard templates
03Correlating cross-signal data between metrics, traces, and logs for debugging