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 $0.00097 $0.01406
Sonnet 5 $0.00039 $0.00563
Haiku 4.5 $0.00019 $0.00281

Measured 8d ago against content hash 41b19a0633f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 8d 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.

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. 8d 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 (175 stars, last pushed 22d ago), licensed Apache-2.0. It adds 193 tokens to every session and 2,813 once invoked, about $0.0010 per session on Opus 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

Other skills, from other repositories

pinecone

Managed vector DB for production RAG and search.

NousResearch/hermes-agent · 13 tokens

data-engineer

Build scalable data pipelines, modern data warehouses, and real-time streaming architectures. Implements Apache Spark, dbt, Airflow, and cloud-native data platforms.

davila7/claude-code-templates · 35 tokens

graphjin-env

Use when setting up a training or evaluation loop against a GraphJin agent environment — running the container, reading /health, driving episodes hosted or step-by-step or with your own agent over MCP, splitting train from eval, exporting trajectories, and deciding whether two rewards can be compared.

dosco/graphjin · 61 tokens

ingesting-into-data-lake

Import data into the AWS data lake from S3 files, local uploads, JDBC databases (Oracle, SQL Server, PostgreSQL, MySQL, RDS, Aurora), Amazon Redshift, Snowflake, BigQuery, DynamoDB, or existing Glue catalog tables (migration). Default target is S3 Tables; standard Iceberg on a general purpose bucket is supported where…

aws/agent-toolkit-for-aws · 228 tokens

similarity-search-patterns

Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.

foryourhealth111-pixel/Vibe-Skills · 30 tokens

nornicdb-qdrant-migration

Migrate from Qdrant to NornicDB end-to-end through NornicDB's Qdrant-compatible gRPC surface. Covers connection setup, collection→database mapping, point→node mapping, the vector-config and named-vector replication, point upsert in batches, count verification, and what (deliberately) does not transfer (snapshots, HNSW…

orneryd/NornicDB · 101 tokens