posthog

Execute HogQL/SQL queries and retrieve analytics data from PostHog.

Updated Jun 24, 2026
One-click install
npx skills add https://github.com/NimbleBrainInc/connector-skills --skill posthog-nimblebraininc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: posthog
Source: https://github.com/NimbleBrainInc/connector-skills/tree/main/posthog
Command: npx skills add https://github.com/NimbleBrainInc/connector-skills --skill posthog-nimblebraininc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires posthog, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables users to interact with PostHog analytics directly within their workflows, simplifying data querying and analysis without the need to navigate through the PostHog interface.

Core Features & Use Cases

  • HogQL Querying: Execute HogQL/SQL queries for in-depth analytics.
  • Data Retrieval: Read events and persons, and pull trends and funnels.
  • Use Case: Quick analysis of product analytics, usage metrics, conversion, churn, active users, and feature flag rollouts using PostHog data.

Quick Start

Run the 'show events' command with a specific time range and event type to inspect event data for a recent update to the web app.

Frequently Asked Questions about posthog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query PostHog data without navigating the dashboard interface?

You can query PostHog data by executing HogQL and SQL queries directly within your workflows. This allows you to retrieve events, persons, trends, and funnels for product analytics without using the standard PostHog interface.

What product analytics metrics can I retrieve using HogQL?

HogQL enables you to pull product analytics metrics such as usage metrics, conversion rates, churn, active users, and feature flag rollouts. You can read events and persons to perform quick analysis on the fly.

Can I monitor real-time event streaming and performance from PostHog?

Yes, real-time analytics and performance monitoring are supported during your product development lifecycle. You need PostHog API access to process real-time event streaming and retrieve up-to-date data.

Does querying PostHog event data require API access?

Yes, you need PostHog API access to execute queries and retrieve data. This access is required for handling real-time event streaming and processing data directly from the analytics platform.

What is the best way to analyze feature flag rollouts in PostHog?

The best way is to run HogQL queries to pull trends and inspect event data for specific time ranges. This enables quick analysis of feature flag rollouts alongside conversion and active user metrics.

How do I inspect event data for recent web app updates using PostHog?

Run the 'show events' command with a specific time range and event type. This retrieves the relevant event data, allowing you to quickly analyze the impact of recent web app updates.