/posthog-all:tools-and-features-hogqlfrom posthog-all
Writes HogQL queries for PostHog analytics, covering property access, aggregations, funnel analysis, and dashboard filters.
Ships in posthog-all. 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
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
Three short reads, in order
posthog@bokendell-skills is listed by aaronkendell/skills-marketplace — review the source before installing
npx claudepluginhub aaronkendell/skills-marketplace --plugin posthog79 skills in this plugin
/error-tracking-goPostHog error tracking for GoOther plugins' skills for the same job