codexplugin
P

PostHog

Official

by OpenAI

Plugindata8.9K stars

Product analytics, feature flags, and session insights

Install now

$ npx codex-marketplace add openai/plugins/plugins/posthog --plugin

About

Product analytics, feature flags, and session insights

PostHog is a codex plugin that extends OpenAI Codex with data capabilities. After install, Codex can use PostHog context and actions during your coding sessions without leaving the conversation.

Source package path: openai/plugins/plugins/posthog on GitHub (openai/plugins).

Key features

  • Official extension maintained for current Codex APIs
  • Adds PostHog capabilities directly inside Codex chat
  • Installs with one npx command — no manual config editing
  • Built for data workflows

How to install

  1. 01

    Copy the install command

    Use the command on this page — it includes the correct --plugin flag for this plugin.

  2. 02

    Run it in your project terminal

    Execute the command from the directory where you use Codex, not necessarily your home folder.

  3. 03

    Restart or reload Codex

    Restart the Codex CLI or reload your IDE window so the new extension is picked up.

  4. 04

    Try an example prompt

    Ask Codex something related to PostHog to confirm the plugin is active.

Example prompts

Try these after installing to confirm PostHog is working.

> Connect Codex to PostHog and show me what actions are available
> Use PostHog to help with my current coding task
> What can the PostHog integration do in this project?

Requirements

  • Node.js 18 or newer with npx available
  • Codex CLI or IDE extension installed and signed in
  • Some official plugins open OAuth in your browser on first use

More from OpenAI

Other plugins by the same author

Related plugins

More in data