Official agent skill

Databricks Dbsql

by databricks in databricks/databricks-agent-skills

Databricks SQL (DBSQL) advanced features and SQL warehouse capabilities.

OfficialCustom licenceAuto-check passedDatabases

Install Databricks Dbsql

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

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install databricks/databricks-agent-skills databricks-dbsql --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/databricks/databricks-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/databricks-dbsql .claude/skills/databricks-dbsql && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
databricks-dbsql
GitHub stars
345
Used in
1 other repo
Token cost
~2.8k tokens
SKILL.md length
369 words
Files
9 (incl. references, assets)
Skills in repo
32
Repo updated
First seen
Licence
Custom licence

At a glance

Databricks SQL (DBSQL) advanced features and SQL warehouse capabilities.

  • Mentions: DBSQL
  • SKILL.md covers Quick Reference, Common Patterns, Reference Files and Key Guidelines
  • Calls databricks
  • Stored procedure

What it does

Databricks Dbsql is an agent skill from databricks/databricks-agent-skills, published by the product's own GitHub organization. Databricks SQL (DBSQL) advanced features and SQL warehouse capabilities. This skill MUST be invoked when the user mentions: "DBSQL", "Databricks SQL", "SQL warehouse", "SQL scripting", "stored procedure", "CALL procedure", "materialized view", "CREATE MATERIALIZED VIEW", "pipe syntax", "|", "geospatial", "H3", "ST", "spatial SQL", "collation", "COLLATE", "aiquery", "aiclassify", "aiextract", "aigen", "AI function", "httprequest", "remotequery", "readfiles", "Lakehouse Federation", "recursive CTE", "WITH…

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including reference files and assets (for example `agents/openai.yaml`, `references/ai-functions.md` and `references/best-practices.md`). Compatibility notes: Requires databricks CLI (= v1.0.0)

It sits in Databases, covering Geospatial analysis, SQL and Database schema design. It works with Databricks and SQL. The repository describes itself as: Databricks AI Tools: skills and plugins for building on Databricks with Claude Code, Cursor, Codex, GitHub Copilot, and other AI coding agents.

When your agent uses it

  • Mentions: DBSQL
  • Stored procedure
  • Materialized view
  • CREATE MATERIALIZED VIEW

Example prompts

  • “Databricks SQL”
  • “SQL warehouse”
  • “SQL scripting”
  • “/databricks-dbsql”

Requirements

  • Compatibility (from SKILL.md): Requires databricks CLI (>= v1.0.0)

What it can do on your machine

Read from SKILL.md and the folder at commit f4fcec5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • databricks

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires databricks CLI (>= v1.0.0)

    From compatibility in the SKILL.md frontmatter.

Context cost

Databricks Dbsql loads about 2.8k tokens when it runs, and up to ~40k if it reads all its reference files. Until then it costs about 189 tokens; SKILL.md has 369 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~189
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~40k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 369 words (~2,751 tokens).

“Load these for detailed syntax, full parameter lists, and advanced patterns:”

— opening of SKILL.md by databricks, Custom licence
name
databricks-dbsql
compatibility
Requires databricks CLI (>= v1.0.0)
metadata.version
0.1.0
parent
databricks-core

Read the full SKILL.md on GitHub

Files

SKILL.md and 8 other files (references, assets) in skills/databricks-dbsql of databricks/databricks-agent-skills.

  • SKILL.md
  • agents/openai.yaml
  • assets/databricks.png
  • assets/databricks.svg
  • references/ai-functions.md
  • references/best-practices.md
  • references/geospatial-collations.md
  • references/materialized-views-pipes.md
  • references/sql-scripting.md

Open the folder on GitHubat commit f4fcec5

Used in 1 other repository

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in databricks/databricks-agent-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Databricks Dbsql next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Databricks Dbsql compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Databricks Dbsql this skilldatabricks/databricks-agent-skills3451 repos~2.8kAutomated safety check: PassCustom licence
Databrain Intelligenceinfometa/workbuddyskills342—~8kAutomated safety check: PassNone
SQL Prodavila7/claude-code-templates32k8 repos~1.9kAutomated safety check: PassMIT
Modelersidequery/sidemantic129—~4.2kAutomated safety check: PassApache-2.0
Analytics Engineerborghei/Claude-Skills874—~3.4kAutomated safety check: PassMIT
SQL Queriesw95/awesome-claude-corporate-skills2353 repos~2.8kAutomated safety check: PassMIT

Similar skills

  • Databrain Intelligence

    infometa/workbuddyskills

    DataBrain intelligence data query assistant. An agent skill from infometa/workbuddyskills.

    342 GitHub stars~8k tokensUpdated today
    DatabasesAuto-check passed
  • SQL Pro

    davila7/claude-code-templates

    Master modern SQL with cloud-native databases, OLTP/OLAP optimization, and advanced query techniques.

    32k GitHub starsUsed in 8 repos~1.9k tokens
    DatabasesAuto-check passed
  • Modeler

    sidequery/sidemantic

    Build, validate, and manage semantic models using Sidemantic.

    129 GitHub stars~4.2k tokensUpdated today
    DatabasesAuto-check passed
  • Analytics Engineer

    borghei/Claude-Skills

    Analytics engineering across data modeling, dbt, transformation, and semantic layers.

    874 GitHub stars~3.4k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • SQL Queries

    w95/awesome-claude-corporate-skills

    Write correct, performant SQL across all major data warehouse dialects (Snowflake, BigQuery, Databricks, PostgreSQL, etc.).

    235 GitHub starsUsed in 3 repos~2.8k tokens
    DatabasesAuto-check passed
  • SQL Queries

    phuryn/pm-skills

    Generate SQL queries from natural language descriptions. An agent skill from phuryn/pm-skills.

    27k GitHub stars~907 tokensUpdated 22 days ago
    DatabasesAuto-check passed

More from databricks/databricks-agent-skills

All 32 skills in this repo
  • Databricks Synthetic Data Gen

    databricks/databricks-agent-skills

    Official

    Generate realistic synthetic data using Spark + Faker (strongly recommended).

    345 GitHub stars~3.2k tokensUpdated yesterday
    Auto-check passed
  • Databricks Model Serving

    databricks/databricks-agent-skills

    Official

    Databricks Model Serving endpoint lifecycle and ops. An agent skill from databricks/databricks-agent-skills.

    345 GitHub starsUsed in 1 repo~3.3k tokens
    Auto-check passed
  • Databricks Python SDK

    databricks/databricks-agent-skills

    Official

    Databricks development guidance including Python SDK, Databricks Connect, CLI, and REST API.

    345 GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed
  • Databricks Spark Structured Streaming

    databricks/databricks-agent-skills

    Official

    Comprehensive guide to Spark Structured Streaming for production workloads.

    345 GitHub starsUsed in 1 repo~956 tokens
    Auto-check passed
  • Databricks App Design

    databricks/databricks-agent-skills

    Official

    Design 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.

    345 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • Databricks Apps Python

    databricks/databricks-agent-skills

    Official

    Python backend for Databricks Apps — FastAPI (default), Flask, Dash, Streamlit, Gradio, Reflex.

    345 GitHub stars~3k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Databricks Dbsql

What does Databricks Dbsql do?

Databricks SQL (DBSQL) advanced features and SQL warehouse capabilities. Databricks Dbsql is an agent skill from databricks/databricks-agent-skills, published by the product's own GitHub organization. Databricks SQL (DBSQL) advanced features and SQL warehouse capabilities.

When should I use Databricks Dbsql?

Databricks Dbsql fits situations like: mentions: DBSQL; stored procedure; materialized view; CREATE MATERIALIZED VIEW.

How do I install Databricks Dbsql in Claude Code?

Run `npx skills add databricks/databricks-agent-skills --skill databricks-dbsql -a claude-code`. Or copy the skill folder (skills/databricks-dbsql in databricks/databricks-agent-skills) into .claude/skills/databricks-dbsql in your project. Claude Code loads it when a task matches its description.

How do I install Databricks Dbsql in Codex?

Run `npx skills add databricks/databricks-agent-skills --skill databricks-dbsql -a codex`. Or copy the skill folder (skills/databricks-dbsql in databricks/databricks-agent-skills) into .agents/skills/databricks-dbsql in your project. Codex loads it when a task matches its description.

Can I use Databricks Dbsql in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add databricks/databricks-agent-skills --skill databricks-dbsql -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/databricks-dbsql, .gemini/skills/databricks-dbsql, .github/skills/databricks-dbsql and .opencode/skills/databricks-dbsql in your project.

What does Databricks Dbsql need to run?

Going by SKILL.md and its folder, Databricks Dbsql needs the command-line tools its instructions call (databricks). Compatibility (from SKILL.md): Requires databricks CLI (>= v1.0.0).

Does Databricks Dbsql access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Databricks Dbsql safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Databricks Dbsql use?

Databricks Dbsql has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Databricks Dbsql use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 37k tokens, read only when the agent opens those files.

What are the alternatives to Databricks Dbsql?

Skills that share tags, products or a category with Databricks Dbsql: Databrain Intelligence (infometa/workbuddyskills, 342 stars), SQL Pro (davila7/claude-code-templates, 32k stars), Modeler (sidequery/sidemantic, 129 stars) and Analytics Engineer (borghei/Claude-Skills, 874 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Databricks Dbsql?

databricks (a GitHub organization, an official publisher) maintains it in databricks/databricks-agent-skills, which has 345 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on October 6, 2026.

Source: databricks/databricks-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.