adding-warehouse-perso…
Sync columns from a synced data warehouse table onto PostHog person or group properties, so warehouse data becomes usable anywhere person and group properties…
Inspects PostHog Web analytics Live tab data — current users online, last-30-minutes pageviews, top pages, referrers, devices, browsers, countries, bot traffic, and the per-minute bot/users charts. Use when the user asks "who is on my site right now?", "what is happening live?",
$ npx -y skills add PostHog/ai-plugin --skill exploring-live-traffic --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/exploring-live-trafficContext preview
The summary Claude sees to decide when to auto-load this skill.
Inspects PostHog Web analytics Live tab data — current users online, last-30-minutes pageviews, top pages, referrers, devices, browsers, countries, bot traffic, and the per-minute bot/users charts. Use when the user asks "who is on my site right now?", "what is happening live?",
name: exploring-live-traffic description: 'Inspects PostHog Web analytics Live tab data — current users online, last-30-minutes pageviews, top pages, referrers, devices, browsers, countries, bot traffic, and the per-minute bot/users charts. Use when the user asks "who is on my site right now?", "what is happening live?", "what bots are crawling me?", asks about the "live tab" / "live dashboard", wants live numbers (last 30 min), or wants help filtering or drilling into the live view. Also covers building product-analytics insights that mirror what the tiles show.'
The Web analytics Live tab (`/web/live`) shows real-time activity over a 30-minute sliding window plus a 60-second "users online" count. It is the place to answer "what is happening on my site right now?" — pageviews, named bots, devices, geo, top paths, top referrers, and a live event feed.
This skill teaches you (the agent) how to:
longer time ranges or deeper drill-down than the live window offers
The Live tab is **not** a HogQL playground — its data comes from a livestream backed by short HogQL backfills. When the user wants to query "right now" data with HogQL, point them at the tab; when they want historical breakdowns, build an insight with the patterns below.
Use this skill when the user:
"the live tab shows GPTBot is hammering us, can you give me a 7-day chart of that?"
Do not use this skill for non-realtime web analytics work — for that, use the standard Web analytics tab (`/web`).
URL: `/web/live`
The tab has two filter affordances and a grid of tiles. Date range is **fixed**: 30 minutes sliding window for everything except "Users online" (last 60 seconds).
There is only **one** filter on the live tab: the host (domain) selector.
`/web/live` and vice-versa.
host filter UI is rendered and all tiles show data across every domain.
initial 30 min is host-scoped), and the "users online" count.
filter on the Live tab. Do not promise the user controls that don't exist.
When the user asks "filter live traffic by domain `<host>`", direct them to the **Domain** selector at the top of the Live tab. There is no URL param to set it directly — it persists in `localStorage` via `webAnalyticsFilterLogic`.
| Card | What | Window | | --------------- | ----------------------------------------------- | ------ | | Users online | Distinct device IDs seen in the last 60 seconds | 60s | | Unique visitors | Distinct device IDs in the last 30 min | 30m | | Pageviews | `$pageview` count in the last 30 min | 30m |
| Card | What | Notes | | ----------------------- | --------------------------------------------------- | ----------------------------------------------------------------------------------------------- | | Active users per minute | Bar chart, new vs returning visitors | last 30 min | | Top pages | Animated leaderboard, `$pathname` + view count | top 10, 30 min | | Top referrers | Animated leaderboard, `$referring_domain` | top 10, 30 min | | Devices | Breakdown bars, `$device_type` | top 6 + Other | | Browsers | Breakdown bars with logos, `$browser` | top 6 + Other | | Top countries | Breakdown bars, `$geoip_country_code` | top 6 + Other; replaced by a Country/City tab card if `WEB_ANALYTICS_LIVE_CITY_BREAKDOWN` is on | | Bot requests per minute | Bar chart, bot events / minute | flag `WEB_ANALYTICS_BOT_ANALYSIS` | | Bot traffic | Named bots ranked by event share, with category tag | flag `WEB_ANALYTICS_BOT_ANALYSIS`; rows are clickable and open an insight for that specific bot | | Countries (world map) | SVG world map heat | flag `WEB_ANALYTICS_LIVE_MAP` | | Live events | Streamed event feed (event, person, URL, timestamp) | last 50 events |
Every tile (except the live
Official PostHog plugin for AI clients. Access PostHog products directly from your AI coding tool.
Repo: PostHog/ai-plugin
Sync columns from a synced data warehouse table onto PostHog person or group properties, so warehouse data becomes usable anywhere person and group properties…
Analyze the most expensive users in AI observability and explain why they cost so much. Use when the user asks about top spenders, expensive users, per-user…
Analyze session replay patterns across experiment variants to understand user behavior differences. Use when the user wants to see how users interact with…
Split a completed PostHog task run into activity records — what the agent tried, whether it worked, what blocked it — and record each one through the…
Assesses what a page's heatmap is telling you and recommends concrete changes. Pulls click / rageclick / scroll-depth data for a URL, names the hot elements by…
Audit every endpoint in a PostHog project for staleness, failed materialisations, and unused materialised versions. Use when the user asks "what endpoints can…