databricks-genie

Create and query Databricks Genie Spaces using natural language.

27|9|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/datasciencemonkey/claude-code-cli-bricks --skill databricks-genie-datasciencemonkey
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-genie
Source: https://github.com/datasciencemonkey/claude-code-cli-bricks/tree/main/.claude/skills/databricks-genie
Command: npx skills add https://github.com/datasciencemonkey/claude-code-cli-bricks --skill databricks-genie-datasciencemonkey

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Databricks Genie Spaces let users pose natural language questions and receive SQL-backed responses against Unity Catalog data. This skill facilitates creating, configuring, and querying Genie Spaces without writing SQL, enabling data teams to experiment and iterate with NL prompts.

Core Features & Use Cases

  • Space Management: list_genie, create_or_update_genie, get_genie, delete_genie to provision and manage Genie Spaces.
  • Conversation API: ask_genie and ask_genie_followup to run queries and continue conversations with Genie.
  • Supporting Tools: get_table_details and execute_sql to inspect schemas and validate queries before execution.
  • Use Cases: Build a new Genie Space for a domain, curate sample questions, test queries, and integrate with the Databricks UI for exploration.

Quick Start

Use the skill to create and query Genie Spaces. Example steps:

  1. Create a Genie Space with a display_name, table_identifiers, description, and sample_questions. Provide sample data like customers and orders.
  2. Ask questions using ask_genie(space_id, question) or ask_genie_followup(space_id, conversation_id, question).

Frequently Asked Questions about databricks-genie

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query Databricks Genie Spaces using natural language?

You can query Databricks Genie Spaces using natural language by passing a question string to the conversation API via the ask_genie function, which generates and executes SQL to return results against your Unity Catalog data.

What do I need to create a Genie Space in Databricks?

Creating a Genie Space requires a properly shaped space definition containing a display_name, table_identifiers, description, and sample_questions. You provide these inputs to the create_or_update_genie function to provision the space.

How can I validate SQL queries before executing them in a Genie Space?

You can validate SQL queries before execution by using the get_table_details tool to inspect table schemas and the execute_sql tool to test queries, ensuring data accuracy before deploying your Genie Space.

How do I continue a conversation with Databricks Genie after asking an initial question?

To continue a conversation with Databricks Genie, use the ask_genie_followup function with the space_id, conversation_id, and your next natural language question to maintain context and run follow-up queries.

Can I manage and delete existing Genie Spaces programmatically?

Yes, you can manage and delete existing Genie Spaces programmatically using the list_genie, get_genie, and delete_genie functions to retrieve, inspect, or remove spaces as needed throughout their lifecycle.