querying-posthog-data

Official

Master HogQL queries for PostHog data.

AuthorPostHog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

PostHog data is rich but often requires guidance to search, filter, and aggregate effectively. This skill provides structured guidance on HogQL/SQL usage, system schemas, and query patterns to help users query analytics data across insights, dashboards, cohorts, feature flags, experiments, data warehouse, and more.

Core Features & Use Cases

  • HogQL & SQL guidance for building correct queries, including syntax nuances and schema discovery
  • Data Schema references and available functions to speed up query construction
  • Use cases covering trends, funnels, retention, paths, web analytics, errors, logs, LLm traces, and data warehouse integration
  • Practical workflows for discovery, validation, and safe execution

Quick Start

Read the guidelines in references/guidelines.md and run a basic HogQL query against the events table to validate connectivity and syntax.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: querying-posthog-data
Download link: https://github.com/PostHog/ai-plugin/archive/main.zip#querying-posthog-data

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.