sql-correctness

A set of rules for checking whether Databricks SQL is correct. SQL is the language used to query and manage data in databases and data platforms.

In plain words
What is it for?
Use it when a task includes executeSQL tool calls or SQL code in a response.
Why use it?
It helps identify invalid SQL and Databricks-specific mistakes involving Unity Catalog or supported SQL features.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/databricks-solutions/ai-dev-kit/sql-correctness
Any agent
npx skills add databricks-solutions/ai-dev-kit --skill sql-correctness
Clone the repo
git clone --depth 1 https://github.com/databricks-solutions/ai-dev-kit

Made for: Claude Code, Codex.

Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 419 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00044 $0.00419
Opus 5 $0.00022 $0.00210
Sonnet 5 $0.00009 $0.00084
Haiku 4.5 $0.00004 $0.00042

Measured yesterday against content hash 3fde5a534da2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sql-correctness 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 yesterday.

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.

.test/eval-criteria/sql-correctness/SKILL.md · 48 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

1 file 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. yesterday First seen · 48 lines · 44 tokens per session scan A 3fde5a534da2

Subscribe to this mod's changes

sql-correctness is a skill published in the GitHub repository databricks-solutions/ai-dev-kit (1,880 stars, last pushed 19d ago), with no licence file. It adds 44 tokens to every session and 419 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

unity-mcp-orchestrator

Orchestrate Unity Editor via MCP (Model Context Protocol) tools and resources. Use when working with Unity projects through MCP for Unity - creating/modifying GameObjects, editing scripts, managing scenes, running tests, or any Unity Editor automation. Provides best practices, tool schemas, and workflow patterns for…

CoplayDev/unity-mcp · 72 tokens

impeccable

Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states.…

Fast-Editor/Lynkr · 189 tokens

honey-px

Read huge read-only text as PNG pages; big input cut.

Green-PT/honey-for-devs · 18 tokens

unreal-actor-editing

Manage actors in UE levels via UCP. Use when the user asks to spawn, delete, move, duplicate, select, or otherwise manipulate actors in the Unreal Engine editor.

Italink/UnrealClientProtocol · 42 tokens

unreal-modeling-meshops

Skill "unreal-modeling-meshops" from Italink/UnrealClientProtocol, covering 建模 — 网格操作, 库, 修复函数, 修复结构体 and 简化函数.

Italink/UnrealClientProtocol · 48 tokens

unreal-modeling-asset

GeometryScript 资产读写与碰撞操作。当用户要求精细控制 StaticMesh 资产加载/保存选项、创建新资产、生成碰撞体时使用。.

Italink/UnrealClientProtocol · 44 tokens