build-dashboard

A reusable dashboard or monitoring view that presents defined metrics, filters, explanations, and data freshness. It can be built for a BI platform, Streamlit, or plain HTML.

In plain words
What is it for?
Use it to build KPI dashboards, monitoring screens, and data-exploration views. It helps define metrics, validate source data, and check the finished dashboard.
Why use it?
It removes the guesswork from creating a trustworthy view of ongoing results. It also checks data issues before presenting metrics for decisions.

Skill for Claude CodeCodex

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 skills/xiaomimimo/mimo-code/build-dashboard
Any agent
npx skills add XiaomiMiMo/MiMo-Code --skill build-dashboard
Clone the repo
git clone --depth 1 https://github.com/XiaomiMiMo/MiMo-Code

Made for: Claude Code, Codex.

Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 482 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.00028 $0.00482
Opus 5 $0.00014 $0.00241
Sonnet 5 $0.00006 $0.00096
Haiku 4.5 $0.00003 $0.00048

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

Security

Grade A, and why

build-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.

packages/opencode/src/skill/builtin/.bundle/data-analytics/workflows/build-dashboard/SKILL.md · 43 lines

How it starts

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

Build a Dashboard

Use this workflow when the user needs a reusable monitoring or exploration surface rather than a one-time report. Read the relevant analysis and KPI workflows first when metric definitions or decision logic are not already settled.

Select a portable surface

Honor the user's destination. Otherwise choose the simplest surface supported by the harness:

  • Existing BI/product analytics platform when the user wants a governed shared dashboard there.
  • Streamlit when Python execution and local/server operation are appropriate; read specifications/streamlit-dashboard.md.
  • Self-contained plain HTML/CSS/vanilla JavaScript for a portable local dashboard; read specifications/html-dashboard.md.

Do not require React, Vite, Recharts, MCP Apps, or widget runtimes.

Workflow

  1. Define the audience, operating decision, monitoring cadence, and questions the dashboard must answer.
  2. Define each metric: formula, numerator/denominator, unit, grain, time window, filters, exclusions, owner, source, and freshness expectation.
  3. Validate joins, completeness, duplicates, missingness, comparability, and refresh status before presenting metrics as trustworthy.
  4. Design the information hierarchy:
    • Overview and primary outcomes.
    • Drivers and diagnostic cuts.
    • Guardrails and risks.
    • Detail tables or drill-down paths.
  5. Add only decision-relevant filters. Make default date ranges, segments, comparison periods, and filter state visible.
  6. Use ../visualize-data/SKILL.md for each chart and keep exact lookup values accessible in tables.
  7. Show data freshness, source context, definitions, and material caveats in the dashboard.
  8. Implement and test the real artifact with representative, empty, partial, and error states when feasible.

QA and handoff

  • Reconcile displayed totals and KPIs against reviewed source results.
  • Test filters, date boundaries, sorting, responsive layout, and refresh behavior.
  • Check chart labels, units, legends, accessibility, and table readability.
  • Ensure the artifact does not expose secrets, credentials, unnecessary personal data, or temporary local paths.
  • Deliver the dashboard artifact or governed platform link plus metric definitions, source/query files, refresh instructions, and known limitations.

Read the full file on GitHub · 43 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 43 lines · 28 tokens per session scan A 2b638490283a

Subscribe to this mod's changes

build-dashboard is a skill published in the GitHub repository XiaomiMiMo/MiMo-Code (12,923 stars, last pushed today), licensed MIT. It adds 28 tokens to every session and 482 once invoked, about $0.0001 per session on Opus 5. 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.

Related

Other skills, from other repositories

xiaomi-tts

Use this skill when the user wants to convert text to speech using Xiaomi MiMo's TTS models (mimo-v2.5-tts). Uses OpenAI-compatible chat/completions API with audio response. Supports multiple preset voices and custom voice design. Use when 用户提到 语音合成、文字转语音、TTS、朗读、读出来、生成语音、 生成音频、文本转音频、配音、念出来、小米语音、MiMo 语音、小米 TTS。.

desirecore/market · 116 tokens

byok-custom-model

Register a custom LLM endpoint with your own API key for chat in Starchild. Use when adding a personal Anthropic, OpenAI, Grok, Qwen, DeepSeek, Meta (Muse Spark), NEAR AI, or Venice key as a chat model (e.g. add my Claude key, register DeepSeek, use Muse Spark 1.1).

Starchild-ai-agent/official-skills · 80 tokens

deepseek-vision

MUST use when the user sends or asks about images, photos, screenshots, pictures, audio, video, or mixed media documents, including requests to OCR/read text from an image. Route all media through Xiaomi MiMo V2.5 (mimo-v2.5) and mimo-v2.5-asr via scripts/mimo.py; never use local OCR, viewimage, native vision…

reF0o0/deepseek-vision-skill · 108 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens