/mixpanel:manage-lexiconfrom Mixpanel
Audits, scores, and enriches Mixpanel Lexicon metadata — fills missing descriptions, display names, tags, resets metadata, triages data quality issues (type drift, nulls, anomalies), and renames/deletes tags.
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 project's Lexicon — the registry of tracked events and properties. It scores metadata quality, bulk-enriches missing descriptions / display names / tags, resets metadata, triages data quality issues, and renames or deletes tags. It runs as a single interactive session per project; do not invoke in parallel for the same project.
The skill is built from a small set of abstractions. The Execution 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 |
|---|---|---|
score-lexicon | commands/score-lexicon.md | score, audit, health, grade |
enrich-and-tag | commands/enrich-and-tag.md | enrich, fill, auto-tag, generate descriptions |
reset-lexicon | commands/reset-lexicon.md | reset, wipe, clear metadata, clear tags |
review-issues | commands/review-issues.md | issues, drift, anomaly, data quality |
manage-tags | commands/manage-tags.md | rename tag, delete tag, merge tags |
If a message matches more than one command, show the Command menu instead.
Shown when no command was detected or inferred.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Manage Lexicon — [Project Name] ([project_id])
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Score Lexicon — Health score (0–100), auto-offer bulk enrich
2. Enrich & Tag — Fill empty display names, descriptions & tags
3. Reset Lexicon — Clear descriptions / display names / tags
4. Review Issues — Triage data quality issues
5. Manage Tags — Rename or delete existing tags
6. Exit
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The skill maintains a typed vocabulary of session state that persists across commands within a single session. Each command declares which keys it reads and writes at the top of its file (Session reads: / Session writes:). Commands check the session first and only fetch what's missing — never re-fetch what already exists.
| Key | Shape | Description |
|---|---|---|
project_id, project_name | string | Active project (set in Step 1). |
event_list | string[] | Event names in the project's Lexicon, post-exclusions. |
event_details_cache | map | event_name → full metadata (description, display_name, verified, tags, hidden, dropped). |
property_names | { event: [], user: [] } | Property name lists split by resource type. |
property_details_cache | map | property_name → full metadata. |
volume_rank_map | map | event_name → { volume, rank }. Empty {} if volume query fails. |
issues_list | array | Normalised data quality issues, populated by review-issues. |
existing_tags | array | Tag names in use across the project, populated by manage-tags and enrich-and-tag. |
Always-on filters. Apply before building any working set, gap list, or write payload — excluded entities are never read, scored, or written.
Ignored events
$ae_first_open, $ae_updated, $ae_session, $ae_iap, $ae_crashed — legacy auto-tracked mobile SDK events. Mixpanel-managed; customers cannot edit metadata.$session_start, $session_end — virtual events (project session definitions). No Lexicon row.Ignored properties
mp_ — Mixpanel-managed reserved namespace.$ — Mixpanel system properties.Not excluded: custom events that happen to start with $ (only the explicit $ae_* / $session_* list is filtered). Hidden and dropped events stay in the working set — they're part of hygiene scoring.
CONFIRM (case-sensitive). Anything else cancels, except EXPORT, which writes the preview to JSON without committing.exit always valid. Stop, discard uncommitted work, return to the Command menu.project_id.data-governance-runs/[ISO-timestamp]-[command].json in the working directory. Include project_id, command, counts of entities written, counts of failures.enrich-and-tag, add tags; don't replace. Add new tags to events without removing or replacing existing ones.enrich-and-tag. Only write to a field if it's currently null or empty. Never overwrite existing metadata. Use reset-lexicon first if regenerating.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.
Start empty. Commands populate what they need and skip fetches whose data already exists in session.
For each user request, run these steps. Loop until the user exits or starts a new project.
/score-lexicon, "run reset", etc.) → use that command.If the command file is not already in context, read commands/[command].md.
Follow the instructions in the command file. Reuse session context wherever possible.
Print ✅ Done. Write the audit log entry per the Audit trail rule. Return to choosing the next command.
If the command itself produced a follow-on offer (Score → Enrich, Reset → Enrich, Review-Issues triage), honour that handoff before returning to command selection.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mixpanel, lexicon, event-tracking, metadata-enrichment, data-quality
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