/mixpanel:manage-experimentfrom Mixpanel
Coaches through every phase of a Mixpanel experiment: design (hypothesis, metrics, sizing, CUPED), launch (pre-flight check), monitor (SRM, guardrails), and interpret (ship/kill, segment breakdowns, session replays).
Ships in Mixpanel. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Engine required — resolve an engine per
ENGINE.md: one named in the conversation or loaded instructions is mandatory (not set up → offer/mixpanel:installfor it); otherwise use the Mixpanel MCP server, or offer/mixpanel:installif it's unavailable.
This skill manages a Mixpanel experiment across its full lifecycle — design, launch, monitor, interpret. Four commands sit under the umbrella, picked by experiment phase (the state→command mapping lives in the Canonical commands section below).
The skill runs as a single interactive session per experiment. Commands compose naturally across phases — designing produces a configuration that launching commits, monitoring watches for safety issues mid-flight, interpreting consumes the matured result — but they're rarely invoked in the same session (the lifecycle spans days to weeks).
The pieces the skill is built from. The Steps section below tells you how to use them.
Each command lives in its own file under commands/ and is loaded on demand. Match commands explicitly (user names them) or implicitly (message matches a trigger phrase below).
| Command | File | Match if message contains any of |
|---|---|---|
design | commands/design.md | design, set up, configure, plan, sanity-check, hypothesis, MDE, sizing, sequential vs frequentist, CUPED, Winsorization |
launch | commands/launch.md | launch, go live, start the experiment, ready to ship the experiment, pre-launch check, launch readiness |
monitor | commands/monitor.md | monitor, mid-flight, is it safe, should I peek, SRM mid-flight, sample pace, guardrail wobble, terminate early |
interpret | commands/interpret.md | read results, ship, iterate, kill, wait, statsig, SRM, sample ratio mismatch, retro A/A, lift, polarity, segment breakdown, session replays |
If a message could route to more than one, use the phase-derived rule based on experiment state:
DRAFT, configuration incomplete → design.DRAFT, configuration complete and user is ready to go → launch.ACTIVE, mid-flight (planned end not reached) → monitor.ACTIVE, reached planned end, or CONCLUDED → interpret.If the experiment state is unknown or doesn't disambiguate (e.g. DRAFT could be either design or launch), ask the user.
Shown when no command was detected or inferred.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Manage Experiment — [Project Name] ([project_id])
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Design — Hypothesis, metrics, sizing, statistical model, advanced features
2. Launch — Pre-launch readiness check, then launch (irreversible)
3. Monitor — Mid-flight safety: SRM, sample pace, guardrails, peeking discipline
4. Interpret — Read results, ship / iterate / kill / wait
5. Exit
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Terms all four commands use without redefining. Phase-specific terms (hypothesis, polarity, SRM, peeking trap, etc.) live in their command files.
up) or smaller is better (down). Set down explicitly for cancel / error / latency / abandon / refund metrics — the default up silently flips polarity at interpretation. Direction is a property of the saved metric, so a wrong polarity can be corrected after setup with the metric-update tool — no need to recreate the metric or the experiment.(treatment_mean − control_mean) / control_mean. The sign is mechanical (up/down), not by itself a verdict.percentile field is the tail width per side (default 5 = 5% tails). The push-back rule (don't cap tails above ~20%) and full guidance live in references/advanced-features.md.Each command file links into these on demand. The map is here so the skill has a single index of what references/ contains.
| File | Used by | Purpose |
|---|---|---|
| references/routing-xp-vs-ff.md | design | Experiment vs Feature Flag disambiguation — when each is the right tool and the hand-off rules. |
| references/hypothesis-framing.md | design | The four properties of a good hypothesis, rubric, common misalignment patterns, worked good/bad examples. |
| references/metric-selection.md | design | Picking primaries, guardrails, and secondaries. Guardrails-by-domain table. Lagging-indicator and changed-denominator traps. |
| references/sizing.md | design + monitor + interpret | Sample-size and MDE formulas, Kohavi's inversion, baseline-by-rate lookup, the five remediations for underpowered tests. |
| references/statistical-model.md | design | Sequential vs frequentist, end-condition choice, confidence level, multiple-testing correction. Peeking-trap math. |
| references/advanced-features.md | design | When CUPED and Winsorization help, when each is wrong, and the common misconfigurations. |
| references/prior-experiments.md | design | How to look up and fold-in prior experiments on the same feature. |
| references/pitfalls.md | design + launch | The pre-launch pitfall catalogue: blockers (stop launch), warnings (explain trade-off), fyi. |
| references/health-check-interpretation.md | monitor + interpret | Reading SRM, Retro A/A, exposures-sufficient, and misconfiguration verdicts. The trustworthiness gate's remediation playbook. |
| references/per-metric-interpretation.md | interpret | Translating a single metric's lift / CI / p-value into a plain-language verdict, with the Twyman's Law guard. |
| references/why-no-statsig.md | interpret | Wait / extend / boost power / narrow / accept-null decision tree when nothing's significant. |
| references/segment-of-interest-selection.md | interpret | How to pick the 3–5 segments worth breaking results down on, before slicing every dimension. |
| references/segment-breakdown-interpretation.md | interpret | Reading per-segment results: heterogeneity vs Simpson's paradox vs noise; the "ship to segment X" requirements. |
| references/session-replay-analysis.md | interpret | Turning a quantitative experiment result into a behavior story using session replays. |
| references/lifecycle-handoff.md | interpret | The decide-action call shape, multi-variant ship semantics, special variant constants. |
Rules that apply across more than one command. Defined here once so all commands reference the same threshold and don't drift.
A 5% relative regression on any guardrail blocks ship, even when the primary wins. The threshold lives here, not in any one command:
design warns if no guardrails are configured (the gate has nothing to enforce).launch blocks-or-warns based on guardrail configuration in the readiness check.monitor uses the threshold to decide when a mid-flight guardrail regression justifies termination.interpret uses the threshold for the ITERATE vs SHIP decision.If a team agrees on a different threshold (3% for high-volume billing, 10% for early experiments), change it here and the commands inherit it.
The peeking trap: stopping early on a favorable Frequentist peek inflates the false-positive rate because each look at the data is another chance to cross the significance threshold by chance. Sequential testing is built to make peeking safe (the stopping boundaries account for repeated looks); Frequentist testing is not.
The table below is what's safe to look at mid-flight, and what isn't. Used by monitor directly; referenced from design (when picking sequential vs frequentist) and interpret (when deciding whether a mid-flight peek invalidates a verdict).
| Signal | Safe to peek mid-flight? | Why |
|---|---|---|
| SRM verdict | Yes | Bucketing health is independent of effect size. Detecting SRM early lets you stop before more exposure data is wasted. |
| Sample pace | Yes | A pacing problem is operational, not statistical. Detecting it early gives time to remediate. |
| Guardrail polarity | Yes (with care) | A guardrail regression mid-flight is a real safety signal. Stopping for a guardrail regression is not p-hacking. |
| Primary metric lift (Sequential) | Yes | Sequential testing makes peeking part of the design. The platform's stopping boundaries account for it. |
| Primary metric lift (Frequentist) | No | Stopping early on a favorable Frequentist peek is the canonical peeking trap. The false-positive rate inflates fast. |
The rule users get wrong most often: thinking they can "just check" the primary mid-flight on a Frequentist test "without acting on it." If the look influences any decision — even the decision to wait — it's a peek.
All four commands use the same visual vocabulary so multi-command sessions read consistently:
design), launching one (in launch), terminating one mid-flight (in monitor), and concluding one (in interpret) are all irreversible. Show the proposed action, wait for the user to confirm with literal CONFIRM for the destructive ones.settings payload replaces the entire settings object; any field you omit is reset, silently dropping srm, excludeQA, cuped, winsorization, preExperimentBias, and controlKey. Before any settings edit, fetch the current experiment and re-send the complete settings object with your one change applied — never a partial settings. After the edit, re-verify srm.enabled and excludeQA survived. Losing srm (Kohavi's #1 trustworthiness check) to a one-field edit is the failure mode this rule exists to prevent.project_id.Follow these steps in order.
Resolve which Mixpanel project the user wants to operate on.
✅ [Project Name] ([project_id]), proceed.list (which re-fetches the project list and shows the table).list → fetch projects → show table.If the project listing fails because no Mixpanel capability is available, stop and ask the user whether to run /mixpanel:install now.
If the user named an experiment, resolve it now — try ID first, then case-insensitive name match. Multiple matches → numbered picker. No match → tell the user what wasn't found.
If the user is starting a new experiment from scratch (no existing experiment to name), skip this step — design will handle setup.
Apply in order, first match wins. The trigger phrases and the state→command mapping both live in the Canonical commands section — don't restate them here, just apply them.
DRAFT doesn't disambiguate design vs launch, ask: "Is the configuration final, or are you still iterating on it?"If the command file is not already in context, read commands/[command].md. Follow the instructions in that file. Reuse the project and experiment context resolved in steps 1–2 — never re-ask.
Print ✅ Done. Return to step 3 if the user wants to chain another command. Typical chains:
design → launch (the user finalized the design and is ready to go live).launch → (wait 24h+) → monitor → (wait to planned end) → interpret.commands/design.md (opens in a new tab)commands/interpret.md (opens in a new tab)commands/launch.md (opens in a new tab)commands/monitor.md (opens in a new tab)references/advanced-features.md (opens in a new tab)references/health-check-interpretation.md (opens in a new tab)references/hypothesis-framing.md (opens in a new tab)references/lifecycle-handoff.md (opens in a new tab)references/metric-selection.md (opens in a new tab)references/per-metric-interpretation.md (opens in a new tab)references/pitfalls.md (opens in a new tab)references/prior-experiments.md (opens in a new tab)references/routing-xp-vs-ff.md (opens in a new tab)references/segment-breakdown-interpretation.md (opens in a new tab)references/segment-of-interest-selection.md (opens in a new tab)references/session-replay-analysis.md (opens in a new tab)references/sizing.md (opens in a new tab)references/statistical-model.md (opens in a new tab)references/why-no-statsig.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
experiment, a-b-test, mixpanel, statistical-significance, ship-kill
npx claudepluginhub mixpanel/ai-plugins --plugin mixpanel12 skills in this plugin
/analyze-reportRead and explain a Mixpanel report or chart — what it shows, what's notable, and what's worth a closer look. Use whenever the user asks to interpret, explain, summarize, review, or break down an existing chart, report, or saved query in Mixpanel. Trigger phrases: "what does this chart show", "explain this report", "interpret this chart", "summarize this for me", "what's notable here", "anything weird in this chart", "tell me what's happening", "review this insight", "walk me through this report", "what's the takeaway from this". Also trigger when the user pastes a Mixpanel chart or report URL and asks anything about it. Lean by default — surfaces what the report shows and flags notable patterns, but does not chase root causes. Do NOT trigger for building new charts, reviewing entire dashboards, or full root-cause diagnostic workflows (for "why did this change" questions, use monitor-metrics). Requires a Mixpanel engine — run /mixpanel:install if not set up.
/create-dashboardCreates a well-designed Mixpanel dashboard. Use when the user asks you to build, create, or design a dashboard, or when you need to present findings from an investigation as a live dashboard. Handles layout, text cards, report validation, and narrative structure./deep-researchConducts a structured metric investigation in Mixpanel. Use when the user asks why a metric changed, what's driving a trend, requests a "deep dive" or "root cause," or wants to understand a phenomenon in their data. Walks through project / event / property scoping, plan confirmation, and an iterative query → interpret → hypothesise loop./installSet up Mixpanel for this project — set up an engine for the other Mixpanel skills to use (Mixpanel MCP server, mixpanel-headless Python SDK, or the user's own integration). Use whenever the user asks to set up, install, configure, or connect Mixpanel, switch Mixpanel engine or region, or when any Mixpanel skill finds no engine set up. Trigger phrases: "set up mixpanel", "configure mixpanel", "connect mixpanel", "install mixpanel", "switch mixpanel region", "use mixpanel headless", "change mixpanel engine", "add another engine". Do NOT use for adding Mixpanel tracking code to an application (use tracking-implementation) or for running analytics queries. Interactive — asks the user to choose; do not run in non-interactive sessions.
/learn-mcpOnboard users to the Mixpanel MCP server through guided, interactive modules. Use when the user asks "how do I use MCP", "what can I ask", "what should I try first", "show me what MCP can do", or is figuring out where to start (e.g. "what now?"). Always invoke this skill when the user asks about MCP capabilities, even if the question seems simple. Do NOT use for: creating reports or dashboards, running queries, tracking setup, experiment analysis, or Lexicon management — use the dedicated skills for those tasks.
/manage-boardsFull lifecycle dashboard management for Mixpanel — create, template, clone, clean up, inventory, and update dashboards across projects and teams. ALWAYS use when a user asks to: create a dashboard, build a board, template or clone a dashboard, clean up stale dashboards, audit dashboards, list all dashboards, inventory boards, update or rename a dashboard, delete a dashboard, or standardize boards across projects. Also trigger on "duplicate board", "stale dashboards", "empty boards", "board management", or when dashboards are mentioned with "governance", "cleanup", "template", "onboarding", or "standardize". Do NOT use for A/B experiments (use `manage-experiment`), feature-flag rollouts (use `manage-feature-flags`), or Lexicon/event-and-property metadata cleanup (use `manage-lexicon`). Requires a Mixpanel engine — run /mixpanel:install if not set up.
Other plugins' skills for the same job