Skip to main content
plugin CX Codex GP ChatGPT official · OpenAI

posthog — Codex plugin: what it does, how to install

Connects your AI agent directly to PostHog product analytics, feature flags, error tracking, and logs. Useful for querying telemetry, toggling flags, and inspecting errors right from chat.

Open on GitHub

What posthog does

This plugin grants the AI agent direct access to PostHog data. The assistant can query product analytics, view application logs, inspect surveys, and check LLM telemetry. You can ask questions about metrics or generate insights directly inside the conversation.

It handles experiment tracking, error analysis, and feature flag toggles without leaving the workspace. Documentation search is also supported. The plugin requires access to an active PostHog project, as it cannot pull telemetry or modify flags without it.

What it helps with

  • toggle feature flags directly in chat
  • analyze application errors and logs
  • generate product analytics insights
  • inspect survey responses and active experiments

Example prompts for the agent

  • Toggle the new-checkout-flow feature flag in PostHog for the test group
  • Analyze recent application errors and logs from the past 24 hours
  • Generate an insight for user conversion trends using PostHog analytics

Questions about posthog

How to install posthog in Codex?

The plugin is available in the openai/plugins repository for Codex and ChatGPT. Connecting it requires setting up access to your PostHog instance within the agent environment.

What does the posthog plugin do?

It gives the AI agent direct access to product analytics, feature flags, error tracking, logs, surveys, and experiments in PostHog. You can query data, manage flags, and search documentation directly from chat.

Does the plugin support LLM analytics and HogQL?

Yes, it supports LLM telemetry, HogQL querying, and session replay inspection alongside standard product metrics.

Source text

posthog · MIT
PostHog gives your AI agent direct access to your product analytics, feature flags, experiments, error tracking, surveys, logs, and LLM analytics. Ask questions about your data, create insights, toggle feature flags, analyze errors, search docs, and more — all from chat.

© PostHog Inc. · MIT · openai/plugins

Similar plugins

All plugins for Data and databases →

From the same set360

The whole set →
openai-ads-conversions A Claude plugin that wires Anthropic Ads Measurement Pixel into a repository, with Conversions API as an option. Useful when ads are running but conversions go uncounted. CX Codex GP ChatGPT ★ 7,596repo stars magicpath Connects Codex with MagicPath to search, inspect, create, and sync UI components using the CLI. CX Codex GP ChatGPT ★ 7,596repo stars shopify Manage a Shopify store through chat: add products, update stock, create discounts, and inspect orders or store analytics. CX Codex GP ChatGPT ★ 7,596repo stars ngs-analysis Takes BCL or FASTQ input, checks what tools you already have, and routes the run to a public pipeline. CX Codex GP ChatGPT ★ 7,596repo stars nvidia This plugin brings together skills for CUDA, GPU acceleration, inference, robotics, and simulation. Use it to navigate NVIDIA’s ecosystem and choose a direction for your work. CX Codex GP ChatGPT ★ 7,596repo stars airtable Connects your Airtable bases to the chat so you can query records, add new ones and edit existing ones without leaving the conversation. CX Codex GP ChatGPT ★ 7,596repo stars mixpanel-headless Connects Codex to Mixpanel via the mixpanel_headless Python SDK for funnels, retention, and custom pandas analytics. CX Codex GP ChatGPT ★ 7,596repo stars zoom Connect Codex to Zoom meeting context and use bundled workflows to build or debug Zoom integrations. Useful when coding tasks need meeting details or Zoom API guidance. CX Codex GP ChatGPT ★ 7,596repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor