Skip to main content
skill CX Codex

databricks-dbsql — Claude Code skill: what it does, how to install

Equips your coding agent with advanced Databricks SQL patterns, pipe syntax, H3 geospatial functions, and embedded LLM queries.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add databricks/databricks-agent-skills --skill databricks-dbsql -a claude-code
Open on GitHub

What databricks-dbsql does

This skill supplies your assistant with patterns for advanced Databricks SQL (DBSQL) and SQL Warehouse environments. It covers procedural scripting with BEGIN...END, atomic transactions, recursive CTEs, and pipe syntax using the |> operator. It helps the agent write dialect-specific code without hallucinating standard SQL constructs.

It also details the setup for Lakehouse Federation queries, file ingestion with read_files, and native AI functions such as ai_query and ai_classify. In addition, reference patterns for H3 indexing and ST spatial functions are included.

Using this skill alongside Databricks tooling expects databricks CLI version 1.0.0 or higher. Certain capabilities like materialized views and http_request also demand Pro or Serverless SQL Warehouses.

What it helps with

  • write stored procedures with SQLEXCEPTION handlers in Databricks SQL
  • enrich datasets directly using ai_query and ai_classify functions
  • run geospatial proximity searches with H3 indexing and ST points
  • refactor multi-step queries using DBSQL pipe operator syntax

Example prompts for the agent

  • Write a stored procedure in Databricks SQL to merge staging orders with error handling
  • Show how to use ai_classify to categorize incoming support tickets in DBSQL
  • Create an H3 geospatial query to calculate distances between coordinates

How to install databricks-dbsql

1Skills CLI (Vercel)

npx skills add databricks/databricks-agent-skills --skill databricks-dbsql -a claude-code

2Manually: put the files in place

~/.claude/skills/databricks-dbsql/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/databricks-dbsql/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about databricks-dbsql

How to install databricks-dbsql in Claude Code?

Run npx skills add databricks/databricks-agent-skills --skill databricks-dbsql -a claude-code. Alternatively, place the file at ~/.claude/skills/databricks-dbsql/SKILL.md.

What features does databricks-dbsql cover?

It provides syntax rules and examples for procedural SQL scripting, materialized views, pipe syntax, Lakehouse Federation, and built-in AI functions on Databricks.

What are the requirements for this skill?

The skill requires databricks CLI version 1.0.0 or higher. Specific features like materialized views and http_request need Pro or Serverless SQL Warehouses.

Similar skills

All skills for Data and databases →

From the same set7

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor