Terminal
Terminal/Skill
Creates, clones, audits, cleans up and renames Mixpanel dashboards across projects, including stale or empty boards.
By Mixpanel
Works with
npx skills add mixpanel/ai-plugins --skill manage-boardsEngine 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.
Top-level router: validate project → route command → handle return.
This skill uses the resolved Mixpanel engine only. No other connectors are required or referenced.
Silent execution. Do not narrate steps, announce phases, or explain what you are about to do. Run the work, process results, present only final output. The user sees:
Nothing else. No "Starting X...", no "I'll now fetch Y...", no "Let me analyze Z...". Just do the work and show the result.
project_id unless explicitly cross-project (template command).commands/template-dashboard.md).✅ — surface what landed vs. what was requested. Layout cells use opaque server-generated IDs, so a write can partially succeed silently; the readback is the only reliable confirmation. Refresh dashboard_layout_cache from this readback.dashboard_list_cache and reuse it across commands rather than re-fetching.references/mcp-tool-reference.md. Command files point to it by name rather than restating.Persist across commands within a session. Cross-command reuse is mandatory — never re-fetch what exists in session.
| Variable | Description |
|---|---|
project_id | Immutable after Step 0. |
project_name | Display name. |
projects_list | All accessible projects. |
dashboard_list_cache | dashboard_id → {title, description, last_modified, ...} map. Report counts are NOT returned by the list operation — populate them from dashboard_layout_cache after reading a board's full layout. |
dashboard_layout_cache | dashboard_id → {layout, report_count, text_count, row_count} map (populated on-demand). |
Direct routing: If the user's message contains a project ID AND a clear command intent (e.g. "create a dashboard in project 12345", "clean up dashboards in project 67890"), extract both, validate, and route directly — skip the menu.
Project ID without command: Validate and show menu.
No project ID: Ask which project. On 'list' → retrieve the accessible projects and show them in a table.
Validation:
✅ [Project Name] ([project_id]), proceed.Engine check: If the project lookup fails because no Mixpanel capability is available → stop and ask the user whether to run /mixpanel:install now.
Show only when no direct command was inferred:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Manage Boards — [Project Name] ([project_id])
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Create Dashboard — Build a new board from description
2. Template Dashboard — Clone a reference board to a new project
3. Cleanup Dashboards — Audit & remove stale/empty boards
4. Dashboard Inventory — Catalog all boards with metadata
5. Duplicate Dashboard — Copy a board within the same project
6. Update Dashboard — Modify metadata, rows, or layout
7. Exit
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
| Choice | Action |
|---|---|
| 1 | Read commands/create-dashboard.md, execute |
| 2 | Read commands/template-dashboard.md, execute |
| 3 | Read commands/cleanup-dashboards.md, execute |
| 4 | Read commands/dashboard-inventory.md, execute |
| 5 | Read commands/duplicate-dashboard.md, execute |
| 6 | Read commands/update-dashboard.md, execute |
| 7 | Exit |
Routing matrix — when the user's phrasing doesn't map to a menu number, route on intent rather than showing the menu:
| User intent (examples) | Route to |
|---|---|
| "build / make / set up a board", "new dashboard for X" | Create |
| "copy this board to [other project]", "standardize boards across projects" | Template |
| "clean up / audit / find stale / empty / duplicate boards" | Cleanup |
| "list / catalog / inventory all boards", "what boards exist" | Inventory |
| "copy / duplicate this board here", "clone within this project" | Duplicate |
| "rename / edit / add a row / change the layout of a board" | Update |
| "delete [board]" | Cleanup (single-board delete path) |
| Ambiguous or matches multiple commands | Show the menu — do not guess |
When a command completes → ✅ Done. → re-display command menu. No re-validation.