Agent Native

deep-research

This skill conducts structured investigations into Mixpanel metrics to uncover why data changed or what's driving a trend.

by MixpanelOfficial publisherNot reviewed

Identity proven by GitHub's verified organisation badge (mixpanel)

Agents
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
License
Apache-2.0 (permissive)
Pin
dfb891bpinned Oct 9, 2026
Context cost
about 930 tokenswhen the skill loads
GitHub stars
15on mixpanel/ai-plugins
Scripts
None found

What it does

“Conducts 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.”
The author's description, from SKILL.md

Generated summary from the skill's own text

This skill conducts structured investigations into Mixpanel metrics to uncover why data changed or what's driving a trend. It guides the agent through scoping the analysis, validating data, running exploratory queries, and iterating through hypothesis testing until the root cause is identified with evidence.

When to use it

  • User asks why a metric dropped, spiked, or changed unexpectedly
  • User requests a deep dive or root cause analysis of data
  • User wants to understand drivers behind a specific trend
  • Investigating what caused changes in user behavior or feature adoption

When not to

  • Simple one-off metric lookups that need direct answers only
  • User lacks Mixpanel access or data unavailable

Install

These commands install from the publisher's repository and need no account.

skills CLI

npx skills add mixpanel/ai-plugins --skill deep-research

Installs from the repository's default branch, which may have changed since the commit we checked.

GitHub CLI 2.90 or later

gh skill install mixpanel/ai-plugins deep-research@dfb891bb6f754b5dcab2131b7311e7ccb9bf8c3e

Installs the commit we checked (dfb891b).

Copy by hand

Download the folder at dfb891b and put it in .claude/skills/deep-research for Claude Code and in .agents/skills/deep-research for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.

Skill folder on GitHub at dfb891b

Copy for your agent

A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.

Prompt

Install the agent skill "deep-research" by Mixpanel.

Source, pinned to commit dfb891bb6f754b5dcab2131b7311e7ccb9bf8c3e:
https://github.com/mixpanel/ai-plugins/tree/dfb891bb6f754b5dcab2131b7311e7ccb9bf8c3e/plugins/mixpanel/skills/deep-research

1. Download that folder at exactly this commit. Do not use the default branch.
2. Copy every file unchanged, keeping the folder structure, into .claude/skills/deep-research/ for Claude Code and .agents/skills/deep-research/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist.
3. Do not edit the files, and do not run any script in the folder unless I ask you to.
4. When you are done, list the files you copied and where you put them.

Listing and checks: https://www.agentnative.dev/skills/mixpanel/deep-research

SKILL.md at the pin

---
name: deep-research
description: Conducts 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.
license: Apache-2.0
metadata:
  engine: required
---

# Deep Research / Metric Investigation

> **Engine required** — resolve an engine per [`ENGINE.md`](../../ENGINE.md): one named in the conversation or loaded instructions is mandatory (not set up → offer `/mixpanel:install` for it); otherwise use the Mixpanel MCP server, or offer `/mixpanel:install` if it's unavailable.

This skill is a structured investigation, not a one-shot answer.

## Requirements

- Access to Mixpanel (query schemas, run queries, manage dashboards).

---

## When to use this skill

Trigger when the user wants to understand _why_ something happened in their data. Common phrasings:

- "Why did [metric] drop / spike / change?"
- "Can you do a deep dive on [X]?"
- "What's driving [trend]?"
- "Root cause this for me."
- "Help me understand what happened with [feature / cohort / segment]."

Do **not** trigger for one-off lookups ("what was DAU yesterday?"). Those are direct queries, not investigations.

---

## Workflow

### Phase 1 — Scope

Do not run analysis queries until scope is confirmed.

Do your best to find the following information from the user's question and context. If anything is missing or ambiguous, ask clarifying questions before proceeding.

1. **Project.** Which Mixpanel project? If the user has access to several, ask.
2. **Events.** Which events relate to the question?
3. **Properties.** Which properties are relevant to break down by? (e.g. platform, utm_source, plan_tier)

State your assumptions and ask the user to confirm before continuing. The final answer depends on this being right.

### Phase 2 — Validate and plan

Run small exploratory queries to confirm data exists in the analysis window. Be resilient — try different approaches if your first attempts don't work. If volume is zero, partial, or anomalously low, surface that to the user before going further.

Then present a compact plan:

```
*Investigation Plan*

• *Project:* `project name`
• *Events:* `event_a`, `event_b`, `event_c`
• *Properties:* `platform`, `utm_source`, `plan_tier`

*Initial Queries:*
• Trend of event_a over 30 days to establish baseline
• Breakdown by platform to isolate where the change happened
• ...

Say *yes* to continue the analysis.
```

Wait for explicit confirmation before running the full investigation. If the user revises the plan, restate it and re-confirm before continuing.

### Phase 3 — Investigate

Enter the research loop:

1. **Run** one or more queries from the plan.
2. **Read and interpret** the results — what stands out, what doesn't?
3. **Form a hypothesis.** If the data clearly answers the question, prepare to summarise. If not, return to step 1 with a sharper query.

Continue until you can answer the original question with evidence, or you can clearly articulate what data is missing. Stay creative — every dataset is different, so let the data shape the next query rather than following a fixed sequence.

---

## Guidelines

- **Start broad, then narrow.** Establish the overall trend first; each subsequent query should be informed by the previous one.
- **Break down by dimensions where you'd expect variation given the question.** Don't slice by every property — pick the ones most likely to show a delta.
- **Correlate timing.** If a metric shifted on a specific date, ask what else changed: a deploy, a campaign, a policy, an outage.

---

## Output

When the investigation concludes, present:

1. The **answer** to the original question, in one or two sentences.
2. The **evidence** — create a dashboard using the `create-dashboard` skill to back your findings with live data.
3. **Caveats** — anything the data doesn't tell you, alternative explanations you can't rule out, and follow-up queries the user might want to run.

From mixpanel/ai-plugins at dfb891b, shown as plain text under its license: Apache-2.0 (permissive). The license text is in plugins/mixpanel/skills/deep-research/SKILL.md.

View SKILL.md on GitHub at dfb891b

Files

1 file, 4.2 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.

Skill folder on GitHub at dfb891b
All 19 skills from Mixpanel

More from Mixpanel

  • auth

    Manages Mixpanel credentials, authentication, and account configuration for the mixpanel_headless library and mp CLI.

    Contains scripts

    Claude Code · about 3K tokens · pinned 6 days ago

  • dashboard-expert

    This skill analyzes, builds, modifies, and adds explainer text to Mixpanel dashboards using the mixpanel_headless Python library.

    Claude Code · about 2.8K tokens · pinned 6 days ago

  • mixpanelyst

    The skill analyzes Mixpanel data by running Python code with the mixpanel_headless library and pandas.

    Claude Code · about 4.3K tokens · pinned 6 days ago

  • session-replay

    This skill retrieves and analyzes Mixpanel session replay recordings to show what a specific user did on screen, action by action.

    Claude Code · about 2.6K tokens · pinned 6 days ago

  • setup

    This skill creates an isolated Python environment for Mixpanel analysis, installs mixpanel-headless version 0.4.0 or newer along with data science libraries…

    Contains scripts

    Claude Code · about 1.1K tokens · pinned 6 days ago

  • analyze-report

    Interprets existing Mixpanel reports and charts by re-running queries, identifying patterns, and summarizing what the data shows and what stands out.

    Claude Code, Codex, Cursor +4 · about 1.9K tokens · pinned 6 days ago

  • create-dashboard

    Creates cohesive Mixpanel dashboards by discovering event and property schemas, validating queries with real data, and arranging reports in a top-to-bottom…

    by MixpanelOfficial publisher

    Claude Code, Codex, Cursor +4 · about 1.1K tokens · pinned 6 days ago

  • install

    This skill sets up Mixpanel integration for a project by configuring one of three engines: Mixpanel MCP server, the headless Python SDK, or the user's own…

    by MixpanelOfficial publisher

    Claude Code · about 1.2K tokens · pinned 6 days ago

  • learn-mcp

    This skill guides users through interactive modules on how to use the Mixpanel MCP server for product analytics.

    by MixpanelOfficial publisher

    Claude Code, Codex, Cursor +4 · about 3.6K tokens · pinned 6 days ago

  • manage-boards

    This skill provides full lifecycle management for Mixpanel dashboards, enabling agents to create, template, clone, clean up, inventory, and update boards…

    by MixpanelOfficial publisher

    Contains scripts

    Claude Code, Codex, Cursor +3 · about 1.6K tokens · pinned 6 days ago

  • manage-experiment

    This skill guides users through the full lifecycle of a Mixpanel A/B experiment: designing (hypothesis, metrics, sample sizing, statistical model selection)…

    by MixpanelOfficial publisher

    Claude Code, Codex, Cursor +4 · about 3.7K tokens · pinned 6 days ago

  • manage-feature-flags

    Guides users through Mixpanel feature flag lifecycle: selecting the right flag type (Feature Gate, Dynamic Config, or Experiment), creating and naming flags…

    by MixpanelOfficial publisher

    Claude Code, Codex, Cursor +4 · about 3.1K tokens · pinned 6 days ago

Open roles at Mixpanel

3 open roles on the jobs board

The skills listed here are third-party software, collected from public GitHub repositories as a catalog of recent skills and provided as is. Agent Native does not write or control them and is not responsible for any harm, loss or damage caused by installing or using them. Labels and checks describe what we saw at one commit and are not a guarantee. Read a skill's files before you run it. Terms of use