mixpanelyst

Installation
SKILL.md
Contains Shell Commands

This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.

Mixpanel analysis with mixpanel_headless

Answer questions about Mixpanel data. Write and run Python that uses the mixpanel_headless library and pandas. This skill teaches judgment: which query answers the question, which defaults mislead, and how to check a result. The library itself is the API reference.

Installed in the plugin environment: !${CLAUDE_PLUGIN_DATA}/venv/bin/python -m mixpanel_headless --version 2>&1 || echo "plugin environment not set up; run /mixpanel-headless:setup"

!${CLAUDE_PLUGIN_DATA}/venv/bin/mp help 2>/dev/null | grep -A 30 "^Workspace domains" || echo "Domain list unavailable (needs mixpanel_headless 0.4.0 or later); run /mixpanel-headless:setup"

Run code in the plugin environment

The plugin keeps its own Python environment. The "Installed" line above already tells you whether it exists, so do not check again with ls, which, or shell variables. In every command, write the full literal path that this skill shows, not a shell variable, because only the literal path is pre-approved. A denial of some other command does not mean Bash is blocked. The commands that this skill shows are pre-approved, including the bare mp --version and mp help <query> fallback commands below.

Run Python with ${CLAUDE_PLUGIN_DATA}/venv/bin/python: add -c "..." for a quick look, or a script path for multi-step work. When the plugin environment exists, mp in this skill means ${CLAUDE_PLUGIN_DATA}/venv/bin/mp. Run it with that full path. The examples keep the short form mp help <query>.

If the "Installed" line says that the environment is not set up, or shows a version older than 0.4.0:

  1. Run the bare command mp --version on its own (the mp on PATH, not the plugin path).
  2. If it shows 0.4.0 or later, use the bare mp help <query> for look-ups. The look-up loop below still works.
  3. Ask the user to run /mixpanel-headless:setup before you run any analysis code. Do not run analysis code with a Python found on PATH, because its library version is unknown.
Installs
1
GitHub Stars
19
First Seen
Oct 12, 2026