/databricks:databricks-data-discoveryfrom databricks
Routes data discovery, exploration, and natural-language querying to Databricks Genie. Use when users ask to find tables, locate data across catalogs/schemas, answer questions about data, or generate SQL.
Ships in databricks. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill routes data work — decide first:
databricks genie ask -s <session-label> "..." --profile <PROFILE> (see Routing below).Genie One just needs an authenticated CLI profile (the parent databricks-core
skill covers auth/profiles if you need it) — but route the data request to Genie
first; don't detour into manual catalog browsing.
Route to Genie when the request is about the data:
Route to your own coding agent (do NOT use Genie) for everything else:
.sql file, notebook, dashboard, app, config.
Genie finds the data and produces the SQL; you write the file.CREATE / INSERT / UPDATE / DELETE.Key principle: data discovery, data questions, and query generation → Genie One. Everything else → your coding agent.
Genie runs inside the Databricks data plane with governed, first-hand access to the org's Unity Catalog metadata, metric views, and curated semantic context — context you do not have when reverse-engineering schemas with ad-hoc SQL. For data questions it is often higher-quality and more performant than doing the discovery yourself, and it keeps improving as a managed Databricks capability. Don't default to writing your own discovery SQL just because you can.
Always pass a session label with -s, and prefer reusing the same one: a
follow-up can only continue a conversation if the first ask set the session label,
and reusing it lets later questions build on everything asked so far ("summarize all
of the above"). Use a fresh session label only to start a deliberately separate
session, or distinct session labels to run several in parallel.
The command is databricks genie ask (CLI >= v1.9.0). On an older CLI it lives
under databricks experimental genie ask — same flags and behavior; use that
exact fallback if databricks genie ask is not found.
# Always pass a session label, and reuse the SAME one so follow-ups build on each other
databricks genie ask -s trips "How many bookings were there last week?" --profile <PROFILE>
databricks genie ask -s trips "Break that down by destination" --profile <PROFILE>
databricks genie ask -s trips "Summarize all of the above" --profile <PROFILE>
# --include-sql also prints the SQL Genie ran (use it to generate a query, too)
databricks genie ask -s trips "Write SQL for the top 5 destinations by revenue" --include-sql --profile <PROFILE>
# --output json gives a parseable result
databricks genie ask -s trips "Top 5 destinations by revenue" --output json --profile <PROFILE>
# → {"status":"completed","conversation_id":"…","text":"…","tool_calls":[{"name":"execute_sql","sql":"…","title":"…"}]}
# Older CLI (< v1.9.0) — same command under the deprecated experimental alias:
# databricks experimental genie ask -s trips "How many bookings were there last week?" --profile <PROFILE>
Pass the same --profile as the rest of the task, so Genie searches the workspace you are
working in.
Genie searches across all the data you can see, runs SQL, and streams a grounded
answer — rendered with the executed SQL and, where it helps, a terminal chart. It
auto-resolves a SQL warehouse (override with --warehouse-id); nothing to pick or
set up.
kill (SIGTERM) cancels cleanly.trips, or $$ for a
per-shell session. Default to reusing one session label so follow-ups keep full
context; use a fresh one only for a deliberately separate session. An expired
session label just starts fresh on the next ask. No id to copy around.-s q1, -s q2, …) — independent session labels don't interfere. Within a single
session label keep calls sequential: send a follow-up after the previous turn
returns, and never fire two asks at once on the same session label (they'd split
into two conversations and only one mapping would survive).--output json gives {status, conversation_id, text, tool_calls[]}, where tool_calls includes the SQL Genie executed; --raw dumps
the raw event stream. Note --output json buffers and prints once at the end (no
live streaming) — use it for parsing, the default text output for interactive use.--include-sql also shows the query Genie
ran to verify it — so the SQL is known-good). Genie resolves the schema and joins
for you, so this beats hand-writing SQL against unfamiliar tables.--include-sql or the JSON tool_calls) into the
parent's ... aitools tools query "<SQL>".Naming: "Genie One" is the current name for this cross-data chat — formerly "Databricks One", then "OneChat" (the backend tool is still literally named
onechat). All the same thing.
Fall back only when Genie One is unavailable (not enabled, or the CLI has neither form
of genie ask) or can't find the data or answer the question. Before deciding it's unavailable, verify
with databricks genie ask --help (or databricks experimental genie ask --help on a
CLI older than v1.9.0); don't assume the command is missing. Then do the discovery
yourself with the parent skill's commands: see
Manual Data Exploration (a
catalog-scoped table search, discover-schema, and tools query). Running known SQL or
profiling a known table that way is perfectly fine on its own. Until Genie has had its
chance, don't default to databricks tables list or raw UC REST for data-location
questions.
Databricks also offers this capability as a managed MCP server — the Genie One MCP. This skill delivers the same functionality through the Databricks CLI, with no MCP server to configure or host. More broadly, the Databricks Agent Skills cover the same ground as Databricks' managed MCP servers, so you don't need any MCP wired up to use this. If you already run the Genie One MCP, use whichever you prefer — they hit the same Genie backend.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
37 skills in this plugin
/databricks-aibi-dashboardsCreate 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./databricks-ai-functionsUse Databricks built-in AI Functions (ai_classify, ai_decide, ai_extract, ai_summarize, ai_mask, ai_translate, ai_fix_grammar, ai_gen, ai_analyze_sentiment, ai_similarity, ai_parse_document, ai_prep_search, ai_query, ai_forecast) to add AI capabilities directly to SQL and PySpark pipelines without managing model endpoints. Also covers document parsing and building custom RAG pipelines (parse → prep_search → index → query)./databricks-ai-runtimeDatabricks AI Runtime, the `databricks air` CLI commands for submitting and managing GPU training workloads on Databricks serverless compute. Use for: writing and submitting `databricks air` workload YAML, choosing an accelerator type and Python environment, reading Unity Catalog tables as training data with UCDataset, passing hyperparameters and secrets, configuring retries, checking run status, listing/cancelling runs, streaming a run's logs and watching its progress, debugging failed runs, GPU pools, multi-container workloads, custom Docker image setup, and converting a workload to a Databricks Asset Bundle./databricks-app-designDesign the UX of custom-code Databricks Apps (AppKit/React) data screens — KPI/overview pages, reports, charts, tables, and Genie/chat data assistants — mapped to concrete AppKit components. Use when BUILDING or reviewing the UI of an AppKit/React app that displays data or answers data questions: choosing genre, layout, charts, KPIs, semantic color, required states (loading/empty/error), IBCS notation, and AI-result trust (showing generated SQL/sources for Genie/chat). A plain "create a dashboard" request means a managed AI/BI (Lakeview) dashboard → use databricks-aibi-dashboards, NOT this skill. Also NOT for non-data frontend (forms, settings, auth, marketing) or scaffolding/build/deploy (→ databricks-apps). Complements databricks-apps; use it alongside whenever a custom app has a chart, table, KPI, report, or Genie/chat/AI surface./databricks-appsBuild apps on Databricks Apps platform. Use when asked to create data apps, analytics tools, or custom interactive visualizations. A plain "create a dashboard" request means a managed AI/BI (Lakeview) dashboard → use databricks-aibi-dashboards, not this skill. Evaluates data access patterns (analytics vs Lakebase synced tables) before scaffolding. Invoke BEFORE starting implementation./databricks-apps-pythonPython backend for Databricks Apps — FastAPI (default), Flask, Dash, Streamlit, Gradio, Reflex. **Default for a new Databricks App is `databricks-apps` (AppKit — Node/TypeScript/React) — reach for it first.** Use this skill only when the user asks for a Python backend, extends an existing Python app, or the team is Python-only. Covers OAuth auth, app resources, SQL warehouse and Lakebase connectivity, foundation-model / model-serving APIs (via `databricks-python-sdk`), AI Search (Vector Search) queries (via `databricks-vector-search`), and deployment via CLI or DABs.npx claudepluginhub databricks/databricks-agent-skills --plugin databricksOther plugins' skills for the same job