databricks-dbsql

databricks-dbsql is a skill for Claude Code, Codex from Kilo-Org/kilo-marketplace. It costs 193 tokens per session (2,813 once invoked), scanned A, original, Apache-2.0.

A guide to advanced Databricks SQL features, including stored procedures, reusable query results, transactions, geographic functions, text sorting, and AI functions. Databricks SQL is the platform's SQL environment for querying data.

In plain words
What is it for?
Use it to write SQL scripts, create procedures and materialized views, work with temporary tables, query geographic data, and call AI or HTTP functions from SQL.
Why use it?
It helps you use capabilities that go beyond ordinary SELECT queries and tables.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to write SQL scripts, create procedures and materialized views, work with temporary tables, query geographic data, and call AI or HTTP functions from SQL.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kilo-org/kilo-marketplace/databricks-dbsql
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Kilo-Org/kilo-marketplace --skill databricks-dbsql
Clone the repo
git clone --depth 1 https://github.com/Kilo-Org/kilo-marketplace

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for databricks-dbsql

README.md
[![agentmods](https://agentmods.dev/badge/skills/kilo-org/kilo-marketplace/databricks-dbsql/github.svg)](https://agentmods.dev/skills/kilo-org/kilo-marketplace/databricks-dbsql)
Your own site
<a href="https://agentmods.dev/skills/kilo-org/kilo-marketplace/databricks-dbsql"><img src="https://agentmods.dev/badge/skills/kilo-org/kilo-marketplace/databricks-dbsql/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for databricks-dbsql

Your own site · 80×15
<a href="https://agentmods.dev/skills/kilo-org/kilo-marketplace/databricks-dbsql"><img src="https://agentmods.dev/badge/skills/kilo-org/kilo-marketplace/databricks-dbsql.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 193 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,813 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00193 $0.02813
Opus 5.5 $0.00077 $0.01125
Sonnet 5.5 $0.00039 $0.00563
Haiku 4.5 $0.00019 $0.00281

Measured 2mo ago against content hash 41b19a0633f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

databricks-dbsql scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/databricks-dbsql/SKILL.md · 307 lines

How it starts

The opening of the file, as written. The whole thing — 307 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Databricks SQL (DBSQL) - Advanced Features

Quick Reference

Feature Key Syntax Since Reference
SQL Scripting BEGIN...END, DECLARE, IF/WHILE/FOR DBR 16.3+ sql-scripting.md
Stored Procedures CREATE PROCEDURE, CALL DBR 17.0+ sql-scripting.md
Recursive CTEs WITH RECURSIVE DBR 17.0+ sql-scripting.md
Transactions BEGIN ATOMIC...END Preview sql-scripting.md
Materialized Views CREATE MATERIALIZED VIEW Pro/Serverless materialized-views-pipes.md
Temp Tables CREATE TEMPORARY TABLE All materialized-views-pipes.md
Pipe Syntax |> operator DBR 16.1+ materialized-views-pipes.md
Geospatial (H3) h3_longlatash3(), h3_polyfillash3() DBR 11.2+ geospatial-collations.md
Geospatial (ST) ST_Point(), ST_Contains(), 80+ funcs DBR 16.0+ geospatial-collations.md
Collations COLLATE, UTF8_LCASE, locale-aware DBR 16.1+ geospatial-collations.md
AI Functions ai_query(), ai_classify(), 11+ funcs DBR 15.1+ ai-functions.md
http_request http_request(conn, ...) Pro/Serverless ai-functions.md
remote_query SELECT * FROM remote_query(...) Pro/Serverless ai-functions.md
read_files SELECT * FROM read_files(...) All ai-functions.md
Data Modeling Star schema, Liquid Clustering All best-practices.md

Common Patterns

SQL Scripting - Procedural ETL

BEGIN
  DECLARE v_count INT;
  DECLARE v_status STRING DEFAULT 'pending';

  SET v_count = (SELECT COUNT(*) FROM catalog.schema.raw_orders WHERE status = 'new');

  IF v_count > 0 THEN
    INSERT INTO catalog.schema.processed_orders
    SELECT *, current_timestamp() AS processed_at
    FROM catalog.schema.raw_orders
    WHERE status = 'new';

    SET v_status = 'completed';
  ELSE
    SET v_status = 'skipped';
  END IF;

  SELECT v_status AS result, v_count AS rows_processed;
END

Read the full file on GitHub · 307 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 307 lines · 193 tokens per session scan A 41b19a0633f6

Subscribe to this mod's changes

databricks-dbsql is a skill published in the GitHub repository Kilo-Org/kilo-marketplace (202 stars, last pushed 3d ago), licensed Apache-2.0. It adds 193 tokens to every session and 2,813 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

databricks-dbsql compared with skills from other repositories

databricks-dbsql next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
databricks-dbsqlKilo-Org/kilo-marketplaceSkill2023d agoApache-2.0A193Claude Code, Codex
embeddingsruvnet/rufloSkill81kyesterdayMITA62Claude Code
rag-pineconedavila7/claude-code-templatesSkill33kyesterdayMITA65Claude Code, Codex
data-engineerdavila7/claude-code-templatesSkill33kyesterdayMITA35Claude Code, Codex
similarity-search-patternsforyourhealth111-pixel/Vibe-SkillsSkill3.8k2d agoApache-2.0A30Claude Code, Codex
ingesting-into-data-lakeaws/agent-toolkit-for-awsSkill3.4kyesterdayApache-2.0A228Claude Code
graphjin-envdosco/graphjinSkill3.2k5d agoApache-2.0A61Claude Code, Codex