duplicate-dashboard

A command that copies an existing dashboard within the same project, with optional changes to its title and description. A dashboard is a screen that organizes reports and data views.

In plain words
What is it for?
Use it to find a dashboard, inspect its layout, duplicate it, and optionally rename or describe the copy.
Why use it?
It avoids rebuilding a similar dashboard manually and provides a preview and confirmation before copying it.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/mixpanel/ai-plugins/duplicate-dashboard
Clone the repo
git clone --depth 1 https://github.com/mixpanel/ai-plugins
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 453 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00453
Opus 5 $0.00000 $0.00227
Sonnet 5 $0.00000 $0.00091
Haiku 4.5 $0.00000 $0.00045

Measured 2d ago against content hash 91f3a9956710, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

duplicate-dashboard scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/mixpanel/skills/manage-boards/commands/duplicate-dashboard.md · 61 lines

How it starts

The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Command: Duplicate Dashboard

Creates a copy of an existing dashboard within the same project. Optionally renames and updates the description.


Intake

Required:

  1. Dashboard ID — the board to copy (accept by name or ID; match by ID first, then case-insensitive name)

Optional: 2. New title — defaults to "[Original Title] (Copy)" 3. New description — defaults to original description

If the user doesn't provide a dashboard, help them find it:

  • If dashboard_list_cache is populated → show a quick picker from cache
  • Otherwise → fetch the dashboard set (per the Fetching the dashboard set rule), show a table, let user pick

Execution

  1. Preview source. Read the source board's full layout to show the user what they're copying:

    Source: [Title] (ID: [dashboard_id])
    Reports: [N] | Rows: [M] | Description: [first 100 chars...]
    
  2. Confirm. "Duplicate this dashboard?" (skip confirmation if the user already stated intent clearly)

  3. Duplicate the source board within the session project, applying the new title/description if provided. (Duplication is same-project only — see references/mcp-tool-reference.md.)

  4. Post-duplicate metadata update. If the duplicate operation doesn't apply the title/description overrides cleanly, follow up with a metadata update on the new board to set them.

  5. Verify the new board per the Validate every write rule before reporting .


Output

✅ Dashboard duplicated
   Source:  [original_title] (ID: [source_id])
   Copy:   [new_title] (ID: [new_id])
   Reports: [N] carried over

Return control to router.


Error Handling

Situation Action
Source dashboard not found Error, help user find correct ID
Duplicate operation fails Surface error, suggest retry
User cancels "No changes made." Return.

Read the full file on GitHub · 61 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 61 lines · 0 tokens per session scan A 91f3a9956710

Subscribe to this mod's changes

duplicate-dashboard is a command published in the GitHub repository mixpanel/ai-plugins (15 stars, last pushed 8d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 453 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.