Agent skill · software engineering · jeremylongshore

posthog-webhooks-events

Build and verify PostHog realtime webhook destinations and bounded private-API or HogQL event queries. Use when delivering selected events to another system or investigating event data. Trigger with "PostHog webhook", "PostHog destination", or "PostHog HogQL query".

Why this skill is useful

Adds executable scripts for setting up PostHog webhooks and processing events that aren't in public documentation.

What it needs

Requires curl installed locally. Requires posthog account access. About 4k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

PostHog Webhooks & Events Overview PostHog sends webhooks via its CDP (Customer Data Platform) Destinations feature. You configure a Destination that fires when matching events are captured, sending an HTTP POST to your endpoint. This skill covers webhook destination setup, receiving and processing webhook payloads, querying events via the API, and using HogQL for custom event analysis. Prerequisites PostHog project with personal API key (phx...) HTTPS endpoint to receive webhooks Events being captured in PostHog Instructions Tool discipline Use Read to inspect the relevant configuration and implementation before proposing changes. Use Write only for a new, explicitly requested artifact inside the target project. Use Edit for minimal changes to existing project files after the evidence pass. Step 1: Create a Webhook Destination via API Step 2: Receive and Process Webhooks Step 3: Query Events via the API Step 4: Query Events with HogQL Step 5: Set Up Slack Webhook Destination (UI) PostHog has built-in Slack integration via Data Pipelines > Destinations: 1. Go to Data Pipelines > Destinations > New Destination 2. Select "Slack" or "Webhook" 3. Configure event filters (which events trigger the notification) 4. Set the webhook URL and message template 5. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/posthog-webhooks-events

View the source on GitHub

Browse the @skills marketplace