dashboard

dashboard is a command for Claude Code from CSalcedoDataBI/powerbi-pbip-tools. It costs 0 tokens per session (472 once invoked), scanned A, original, MIT.

A command that turns data from a Power BI model into a standalone HTML dashboard, meaning a webpage file that can open on its own. It produces KPI cards, small trend charts, sentiment charts, filters, and metric drill-through pages.

In plain words
What is it for?
Use it to generate dashboards for a Power BI model, compare current results with previous years, filter by year or metric, inspect categories and countries, and open the result as an HTML file.
Why use it?
Building a dashboard from model data by hand takes time and makes it harder to compare current and previous periods. This command gathers the required monthly metrics and creates the dashboard in one output file.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: reads .claude/ paths.

Good fit Use it to generate dashboards for a Power BI model, compare current results with previous years, filter by year or metric, inspect categories and countries, and open the result as an HTML file.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/csalcedodatabi/powerbi-pbip-tools/dashboard
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.

Clone the repo
git clone --depth 1 https://github.com/CSalcedoDataBI/powerbi-pbip-tools

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dashboard

README.md
[![agentmods](https://agentmods.dev/badge/commands/csalcedodatabi/powerbi-pbip-tools/dashboard/github.svg)](https://agentmods.dev/commands/csalcedodatabi/powerbi-pbip-tools/dashboard)
Your own site
<a href="https://agentmods.dev/commands/csalcedodatabi/powerbi-pbip-tools/dashboard"><img src="https://agentmods.dev/badge/commands/csalcedodatabi/powerbi-pbip-tools/dashboard/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dashboard

Your own site · 80×15
<a href="https://agentmods.dev/commands/csalcedodatabi/powerbi-pbip-tools/dashboard"><img src="https://agentmods.dev/badge/commands/csalcedodatabi/powerbi-pbip-tools/dashboard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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 472 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.00472
Opus 5 $0.00000 $0.00236
Sonnet 5 $0.00000 $0.00094
Haiku 4.5 $0.00000 $0.00047

Measured 9d ago against content hash a2979c822a7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

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 9d 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.

commands/dashboard.md · 51 lines

What it actually says

/dashboard — Interactive KPI Dashboard Generator

Creates a fully interactive HTML dashboard from any Power BI model connected via MCP. Output: a standalone .html file with 12 KPI cards, sparklines, and sentiment charts.

Usage

/dashboard
/dashboard sales 2025
/dashboard <describe what you want>

What this command does

  1. Reads .claude/skills/dashboard-builder.md for full instructions and configuration
  2. Connects to the Power BI Desktop model via MCP
  3. Queries all required monthly metrics in parallel (DAX)
  4. Generates a standalone HTML file with:
    • 12 KPI metric cards (3-column grid) with embedded sparklines
    • 4 sparkline interaction modes (vs. Average · vs. PY Bar · vs. PY Line · vs. PY Only Bar)
    • Dashboard page: CY vs PY sentiment line chart (green/red fill)
    • Category donut, country bars, annual evolution — all dynamic by metric
    • Drill-through: click any KPI card → Dashboard page filtered to that metric
    • Year filter: select any year, all charts and KPIs update live
  5. Saves to OUTPUT_BASE\dashboards\{topic}_{year}.html

Execution

Read the skill file first, then follow its phases exactly:

Phase 1: Connect to MCP and identify the model
Phase 2: Run all DAX queries in parallel
Phase 3: Fill the HTML template with real data
Phase 4: Run the quality checklist before saving

Critical rules

  • Never fabricate numbers — every value must come from a DAX query response
  • Always query in parallel — fire all DAX queries in a single message
  • Never save inside the git repo — output goes to OUTPUT_BASE only
  • Use the template — read tools/dashboard/template.html before generating any HTML

Output examples

  • DASHBOARDS\dashboards\sales_2025.html
  • DASHBOARDS\dashboards\contoso_overview_2024.html
  • DASHBOARDS\dashboards\kpi_analysis_q1_2025.html
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. 9d ago First seen · 51 lines · 0 tokens per session scan A a2979c822a7d

Subscribe to this mod's changes

dashboard is a command published in the GitHub repository CSalcedoDataBI/powerbi-pbip-tools (4 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 472 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-31.