/posthog-analytics:tools-and-features-hogqlfrom posthog-analytics
HogQL queries for PostHog analytics
Ships in posthog-analytics. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill helps you write HogQL queries for PostHog analytics. HogQL is PostHog's SQL dialect, a wrapper around ClickHouse SQL with simplified property access and PostHog-specific functions.
references/expressions.md - Sql expressions - docsreferences/aggregations.md - Supported aggregations - docsreferences/clickhouse-functions.md - Supported clickhouse functions - docsreferences/data-access.md - Accessing data using sql - docsreferences/variables.md - Sql variables - docsreferences/useful-functions.md - Useful sql functions - docsreferences/posthog.md - PostHog table schemas (events, persons, groups, sessions)references/sessions.md - Sessions - docsConsult the documentation for SQL syntax, available functions, and query patterns.
properties.$property_name for event properties and person.properties.$property_name for person properties{filters} in queries to allow UI-based filtering in PostHog dashboardscount(), uniq(), avg(), sum()SELECT event, count()
FROM events
WHERE {filters}
GROUP BY event
ORDER BY count() DESC
SELECT properties.$browser AS browser, count()
FROM events
WHERE event = '$pageview' AND {filters}
GROUP BY browser
SELECT person.properties.email, count()
FROM events
WHERE {filters}
GROUP BY person.properties.email
LICENSE (opens in a new tab)SOURCE.md (opens in a new tab)references/aggregations.md (opens in a new tab)references/clickhouse-functions.md (opens in a new tab)references/data-access.md (opens in a new tab)references/expressions.md (opens in a new tab)references/posthog.md (opens in a new tab)references/sessions.md (opens in a new tab)references/useful-functions.md (opens in a new tab)references/variables.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub fcakiroglu16/marketplace --plugin posthog-analytics8 skills in this plugin
/integration-nextjs-app-routerPostHog integration for Next.js App Router applicationsOther plugins' skills for the same job