template-dashboard

A command that rebuilds a reference analytics dashboard in another project, including its reports, title, and description.

In plain words
What is it for?
Use it to copy dashboards within a project or reconstruct them across projects by transferring report queries, creating the target dashboard, and checking the result.
Why use it?
Dashboard duplication only works inside one project, so cross-project copying requires reading the original layout and recreating it in the target project.

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/template-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 1,499 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.01499
Opus 5 $0.00000 $0.00749
Sonnet 5 $0.00000 $0.00300
Haiku 4.5 $0.00000 $0.00150

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

Security

Grade A, and why

template-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/template-dashboard.md · 139 lines

How it starts

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

Command: Template Dashboard

Reproduces a reference dashboard in another project, renames it, and optionally updates the description. This is the core enabler for standardized onboarding dashboard templates across accounts.

Key API fact: duplication only copies within the source project — it has no target-project parameter. So genuine cross-project templating cannot be done by duplicating. It is done by reconstructing the board in the target project: read the source layout, re-mint each report's query in the target project, then create the board there. This command does that.


Contents

  • Intake
  • Routing: same project vs. cross project
  • Path A — Same-project copy
  • Path B — Cross-project reconstruction (read → portability check → re-mint → build → verify)
  • Batch template (multiple target projects)
  • Output
  • Error Handling

Intake

Required:

  1. Source dashboard ID — the reference board to clone
  2. Source project ID — where the reference lives (may differ from session project_id)
  3. Target project ID(s) — where the clone(s) should land

Optional: 4. New title — defaults to "[Original Title]" 5. New description — defaults to original description with a "[Templated from [source]]" note appended 6. Batch mode — template to multiple target projects at once

If the user doesn't provide source/target explicitly, ask. Use the session's projects list to help them pick. Accept projects and boards by name or ID.


Routing: same project vs. cross project

  • Target project == source project → this is a plain copy. Use Path A. Fast, exact, preserves everything.
  • Target project != source project → use the reconstruction flow (Path B). Duplication cannot reach another project.

Path A — Same-project copy

  1. Validate source. Read its full layout; preview title, description, report count, row count. If not found → error, stop.
  2. Duplicate within the source project, applying title/description overrides if provided.
  3. Verify (per the Validate every write rule) and report the new dashboard ID. Done.

Read the full file on GitHub · 139 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 · 139 lines · 0 tokens per session scan A fdf9ef487334

Subscribe to this mod's changes

template-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 1,499 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.