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

mixpanel-headless — Codex plugin: what it does, how to install

Connects Codex to Mixpanel via the mixpanel_headless Python SDK for funnels, retention, and custom pandas analytics.

Open on GitHub

What mixpanel-headless does

Unlike plugins/mixpanel which relies on a hosted connector, this plugin targets coding workflows. Codex installs the local mixpanel_headless SDK, writes Python, and runs pandas routines. You can join event metrics directly with local files.

Four skills handle the workflow. mixpanel-headless-setup prepares the environment and verifies credentials. Project switching and OAuth live inside mixpanel-auth. The mixpanelyst skill inspects schemas, retention, and event funnels. Dashboard updates run through dashboard-expert.

Non-interactive setups require MP_OAUTH_TOKEN, MP_PROJECT_ID, and MP_REGION. Never paste tokens into chat. Export them inside your local shell or secret manager instead.

What it helps with

  • calculate conversion funnels using Mixpanel event schemas
  • run user retention and flow analysis with Python scripts
  • combine Mixpanel tracking data with local files
  • inspect and update Mixpanel dashboards through Codex

Example prompts for the agent

  • Use mixpanel-headless-setup to install dependencies and verify my login.
  • Analyze signup dropoff in Mixpanel with Python.
  • Inspect the checkout event schema and calculate conversion.

Questions about mixpanel-headless

How to install mixpanel-headless in Codex?

Run the mixpanel-headless-setup skill to install mixpanel_headless and its dependencies. Then execute mp login in your terminal to complete authentication.

How does mixpanel-headless differ from the default mixpanel plugin?

The default plugins/mixpanel relies on a hosted connector. In contrast, mixpanel-headless runs a local Python SDK, letting Codex execute pandas code and combine analytics with local files.

How do you authenticate in headless environments?

Export MP_OAUTH_TOKEN, MP_PROJECT_ID, and MP_REGION="us" in your terminal environment. Keep raw tokens out of the chat prompt.

Source text

mixpanel-headless · MIT
# Mixpanel Headless

Analyze Mixpanel data from Codex with the `mixpanel_headless` Python SDK.

This plugin is intentionally separate from `plugins/mixpanel`, which wraps the
hosted Mixpanel connector. `mixpanel-headless` is for coding-agent workflows
where Codex installs a local SDK, writes Python, uses pandas and plotting
libraries, and can compose Mixpanel analysis with local files or other data
sources.

## Skills

| Skill | Purpose |
| --- | --- |
| `mixpanel-headless-setup` | Install `mixpanel_headless` and common analysis dependencies, then verify credentials. |
| `mixpanel-auth` | Check sessions, list/use accounts, run OAuth login, switch projects or workspaces, and manage targets. |
| `mixpanelyst` | Discover event schemas and run segmentation, funnel, retention, flow, and user-profile analyses. |
| `dashboard-expert` | Analyze, create, modify, and explain Mixpanel dashboards. |

## Quick Start

1. Use `mixpanel-headless-setup` to install dependencies and verify auth.
2. Use `mixpanel-auth` if account, project, workspace, or target selection needs setup.
3. Ask an analytics question, such as "Analyze signup dropoff in Mixpanel with Python."

## Authentication

The SDK supports service accounts, browser OAuth, and bearer-token based OAuth.
The recommended first setup command is:

```bash
mp login
```

For non-interactive contexts, configure:

```bash
export MP_OAUTH_TOKEN="<bearer-token>"
export MP_PROJECT_ID="<project-id>"
export MP_REGION="us"
```

Do not paste secrets into chat. Set them in the local shell or credential store.

## Source

The skills are adapted from Mixpanel's public headless SDK plugin:
https://github.com/mixpanel/mixpanel-headless/tree/main/mixpanel-plugin

SDK documentation: https://mixpanel.github.io/mixpanel-headless/

© Mixpanel · MIT · openai/plugins

Similar plugins

All plugins for Data and databases →

From the same set360

The whole set →
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 posthog 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. 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 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 datadog This plugin wires Datadog telemetry into Claude and Claude, so you can ask about production services in plain language, spot issues and fix them without leaving the chat. CX Codex GP ChatGPT ★ 7,596repo stars openai-developers A Codex bundle that connects developer workflows to OpenAI Platform. It automates API key generation, manages Agents SDK projects, and assists with ChatGPT Apps. CX Codex GP ChatGPT ★ 7,596repo stars twilio-developer-kit This plugin gives AI coding agents procedural guidance for Twilio APIs: which ones to use, in what order, and what to avoid. It covers Messaging, Voice, Verify, SendGrid, and more. 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