Skip to content
Data
Skill

/databricks-aibi-dashboards

Create Databricks AI/BI dashboards. Must use when creating, updating, or deploying Lakeview dashboards as Databricks Dashboard have a unique json structure. CRITICAL: You MUST test ALL SQL queries via CLI BEFORE deploying. Follow guidelines strictly.

From plugin
databricks-agent-skills
40738 skills4 commands3 hooks

Claude Code

$ npx -y skills add databricks/databricks-agent-skills --skill databricks-aibi-dashboards --agent claude-code

SKILL.md

databricks-aibi-dashboards.SKILL.md
name: databricks-aibi-dashboards
description: "Create Databricks AI/BI dashboards. Must use when creating, updating, or deploying Lakeview dashboards as Databricks Dashboard have a unique json structure. CRITICAL: You MUST test ALL SQL queries via CLI BEFORE deploying. Follow guidelines strictly."
compatibility: Requires databricks CLI (>= v1.0.0)
metadata:
  version: "0.2.3"
parent: databricks-core

AI/BI Dashboard Skill

Create Databricks AI/BI dashboards (formerly Lakeview dashboards). A dashboard should be showing something relevant for a human, typically some KPI on the top, and based on the story, some graph (often temporal), and we see "something happens". **Follow these guidelines strictly.**

> **Building a dashboard, in order:** profile the data ([Steps 1-3](#new-dashboard-creation-workflow)) → pick widgets from the [Widget catalog](#widget-catalog) → read [4-examples.md](references/4-examples.md) end to end (a complete dashboard JSON) → read the spec section of each widget you picked (catalog Spec column) and [3-filters.md](references/3-filters.md) for filters → build the JSON, test every query, deploy ([Step 4](#step-4-plan-and-build-the-dashboard-json), [Step 5](#step-5-deploy)).

Widget catalog

> **Wrong version = broken widget!** The #1 cause of dashboard errors: use the `v` below in `spec.version`. Spec = where the widget's exact JSON is (a section named after it): **1** [1-widget-specifications.md](references/1-widget-specifications.md), **2** [2-advanced-widget-specifications.md](references/2-advanced-widget-specifications.md), **F** [3-filters.md](references/3-filters.md), **6** [6-custom-visualizations.md](references/6-custom-visualizations.md). Anchored index: [1- § Widget Index](references/1-widget-specifications.md#widget-index-version--where-documented).

| Widget (`widgetType`) | Use for | v | Spec | |---|---|---|---| | text (markdown) | titles, section headers, notes; no spec block | – | 1 | | `counter` | a KPI number, with sparkline and period-over-period delta | 2 | 1 | | `table` | row-level detail, high-cardinality lists | 2 | 1 | | `bar`, `line` | comparisons across categories; trends over time (stacked/grouped, horizontal, annotations) | 3 | 1 | | `pie` | share of a few categories | 3 | 1 | | `area` | trends showing volume or stacked composition | 3 | 2 | | `scatter` | relationship between two measures; bubble = size by a third | 3 | 2 | | `combo` | bar + line on one chart, metrics with different scales (dual axis) | 1 | 2 | | `pivot` | cross-tab (dimensions on rows and columns) with conditional cell styling; cohort retention | 3 | 2 | | `histogram` | frequency distribution of a numeric column | 3 | 2 | | `heatmap` | "X by Y" matrix, color = aggregate | 3 | 2 | | `box` | distribution (median, quartiles, outliers) across categories | 1 | 2 | | `funnel` | stage-by-stage conversion | 1 | 2 | | `waterfall` | positive/negative deltas to a total (P&L bridge, MoM walk) | 1 | 2 | | `sankey` | flow between two or more stages | 1 | 2 | | `forecast-line` | history continued by a forecast band (`AI_FORECAST` SQL) | 1 | 2 | | `gantt` | schedules and events with a start and end | 1 | 2 | | `symbol-map` | lat/lon points (bubble map) | 2 | 1 | | `choropleth-map` | regions (countries, states) colored by value | 1 | 2 | | `path-map` | routes and ordered tracks | 1 | 2 | | `filter-single-select`, `filter-multi-select`, `filter-date-range-picker`, `filter-date-picker`, `filter-text-entry` | global or page-level filters | 2 | F | | `range-slider` | numeric range filter | 2 | F | | `custom-vega-viz` | what standard widgets can't draw (bullet, layered, gauge, radar, sunburst) | 1 | 6 |

There is no `cohort` widget (use `pivot` with a color-scale cell style) and no Genie widget (see [Linking a Genie Space](#linking-a-genie-space-optional)).

**Standard or custom?** Use standard widgets by default. Use Vega-Lite when the required visualization cannot be expressed with standard widgets. A different aggregation, color palette, tooltip, reference line, or small multiple usually does not require a custom specification. Case-by-case guide: [6-custom-visualizations.md § Standard widget or custom Vega-Lite?](references/6-custom-visualizations.md#standard-widget-or-custom-vega-lite).

For custom charts, confirm the required marks and transforms are supported by **Vega-Lite**. It does not support every Vega example or chart type. Keep joins and business calculations in dataset SQL; the custom specification controls how the returned data is drawn.

> **When a custom app fits better:** dashboards are for read-only KPIs, charts, and filters over governed tables. For write-back / data entry, UI or interactions beyond the grid, embedded or auth-gated workflows, or a Genie/chat assistant as the main surface, build a Databricks App with `databricks-apps` (it brings in `databricks-app-design`). Linking an "Ask Genie" space to *this* dashboard stays here (see Linking a Genie Space below).

Quick Reference

| Task | Command | |------|---------| | List warehouses | `databricks warehouses list` | | List tables | `databricks experimental aitools tools query --warehouse WH "SHOW TABLES IN catalog.schema"` | | Get schema | `databricks experimental aitools tools discover-schema catalog.schema.table1 catalog.schema.table2` | | Test query | `databricks experimental aitools tools query --warehouse WH "SELECT..."` | | Create dashboard | `databricks lakeview create --display-name "X" --warehouse-id "WH" --dataset-catalog CATALOG --dataset-schema SCHEMA --serialized-dashboard "$(cat file.json)" --json '{"parent_path": "/Workspace/Users/<you>/path"}'` (flag-only vs JSON-only fields: [Step 5](#step-5-deploy)) | | Update dashboard | `databricks lakeview update DASHBOARD_ID --dataset-catalog CATALOG --dataset-schema SCHEMA --serialized-dashboard "$(cat file.json)"`: **re-pass both dataset flags** (update replaces the dashboard; omitting them nulls the defaults and breaks every bare-table query) | |

Read more
@databricks
Ships withdatabricks-agent-skills

Build on Databricks with AI coding agents such as Claude Code, Cursor, Codex, GitHub Copilot, and many others. This repository provides the skills and agent plugins for Databricks AI Tools.

Stars on GitHub

Momentum

stars in total
407
Star history of databricks/databricks-agent-skills on GitHub, a chart by star-history.com

Other skills on databricks-agent-skills.

More skills from other plugins.

paddleocr-doc-parsing

paddleocr-doc-parsing

Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…

paddleocr2mo93k
@paddlepaddle@paddlepaddleInstall Skill
context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem02w69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog3w41k
@posthog@posthogInstall Skill

Questions about databricks-aibi-dashboards.

Which coding agents can use databricks-aibi-dashboards?
databricks-aibi-dashboards installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.