SQL evaluation criteria for Databricks. An agent skill from databricks-solutions/ai-dev-kit.

Custom licenceAuto-check passedDatabases

Install SQL Correctness

skills CLI
$ npx skills add databricks-solutions/ai-dev-kit --skill sql-correctness -a claude-code

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

GitHub CLI
$ gh skill install databricks-solutions/ai-dev-kit sql-correctness --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-solutions/ai-dev-kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.test/eval-criteria/sql-correctness .claude/skills/sql-correctness && 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
sql-correctness
GitHub stars
1.9k
Token cost
~438 tokens
SKILL.md length
180 words
Files
2 (incl. references)
Skills in repo
5
Repo updated
First seen
Licence
Custom licence

At a glance

SQL evaluation criteria for Databricks. An agent skill from databricks-solutions/ai-dev-kit.

  • Works in 6 steps: Unity Catalog Namespace → Modern DDL Syntax → Tool Selection → …
  • Tasks that involve SQL
  • Calls databricks

What it does

SQL Correctness is an agent skill from databricks-solutions/ai-dev-kit. SQL evaluation criteria for Databricks. Load when the trace contains executesql tool calls or SQL code in responses. Covers syntax validity, Unity Catalog patterns, and Databricks-specific SQL features.

Its SKILL.md is about 440 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/DATABRICKS_SQL_PATTERNS.md`).

It sits in Databases, covering SQL. It works with SQL and Databricks. The repository describes itself as: Databricks Toolkit for Coding Agents provided by Field Engineering.

When your agent uses it

  • Tasks that involve SQL

Example prompts

  • “/sql-correctness”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Unity Catalog Namespace
  2. Modern DDL Syntax
  3. Tool Selection
  4. Databricks SQL Features
  5. Syntax Validity
  6. Safety

What it can do on your machine

Read from SKILL.md and the folder at commit b059fd0. 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.

Context cost

SQL Correctness loads about 438 tokens when it runs, and up to ~785 if it reads all its reference files. Until then it costs about 55 tokens; SKILL.md has 180 words of instructions outside code blocks.

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

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 180 words (~438 tokens).

“When evaluating SQL in agent traces, check these dimensions:”

— opening of SKILL.md by databricks-solutions, Custom licence
name
sql-correctness
metadata.category
evaluation
metadata.version
1.0
metadata.applies_to
sql

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in .test/eval-criteria/sql-correctness of databricks-solutions/ai-dev-kit.

  • SKILL.md
  • references/DATABRICKS_SQL_PATTERNS.md

Open the folder on GitHubat commit b059fd0

Compare with similar skills

SQL Correctness 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.

SQL Correctness compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
SQL Correctness this skilldatabricks-solutions/ai-dev-kit1.9k—~438Automated safety check: PassCustom licence
Optimizing Databricks SQLAltimateAI/data-engineering-skills127—~6.7kAutomated safety check: PassMIT
Databricks Dbsqldatabricks/databricks-agent-skills3451 repos~2.8kAutomated safety check: PassCustom licence
Mendix Odata Pushdownmendixlabs/mxcli128—~2.5kAutomated safety check: PassApache-2.0
Databricks CLIaehrc/pathling137—~2.1kAutomated safety check: PassApache-2.0
SQL Queriesw95/awesome-claude-corporate-skills2353 repos~2.8kAutomated safety check: PassMIT

Similar skills

  • Optimizing Databricks SQL

    AltimateAI/data-engineering-skills

    Analyze DBSQL queries, including SQL embedded in notebooks (spark.sql(...), %sql cells), for anti-patterns, lint issues, and performance problems, using Databricks-specific dialect and platform…

    127 GitHub stars~6.7k tokensUpdated 5 days ago
    DatabasesAuto-check passed
  • Databricks Dbsql

    databricks/databricks-agent-skills

    Official

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

    345 GitHub starsUsed in 1 repo~2.8k tokens
    DatabasesAuto-check passed
  • Mendix Odata Pushdown

    mendixlabs/mxcli

    Push OData query options into the SQL of a Mendix resource served by a read microflow, so $filter, $orderby, $top, $skip, $count and the key lookup reach the database instead of being silently…

    128 GitHub stars~2.5k tokensUpdated today
    DatabasesAuto-check passed
  • Databricks CLI

    aehrc/pathling

    Expert guidance for using the Databricks CLI to manage Databricks workspaces, clusters, jobs, pipelines, Unity Catalog, SQL warehouses, serving endpoints, secrets, bundles, and all other Databricks…

    137 GitHub stars~2.1k tokensUpdated today
    Game DevelopmentAuto-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
  • Databricks Aibi Dashboards

    databricks/databricks-agent-skills

    Official

    Create Databricks AI/BI dashboards. An agent skill from databricks/databricks-agent-skills.

    345 GitHub stars~8.7k tokensUpdated yesterday
    DatabasesAuto-check: notes

More from databricks-solutions/ai-dev-kit

  • Skill Test

    databricks-solutions/ai-dev-kit

    Testing framework for evaluating Databricks skills. An agent skill from databricks-solutions/ai-dev-kit.

    1.9k GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check passed
  • Python Dev

    databricks-solutions/ai-dev-kit

    Python development guidance with code quality standards, error handling, testing practices, and environment management.

    1.9k GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Tool Selection

    databricks-solutions/ai-dev-kit

    Evaluates whether the agent selected appropriate MCP tools instead of shell workarounds.

    1.9k GitHub stars~519 tokensUpdated 1 mo ago
    Auto-check passed
  • General Quality

    databricks-solutions/ai-dev-kit

    General response quality evaluation. An agent skill from databricks-solutions/ai-dev-kit.

    1.9k GitHub stars~358 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about SQL Correctness

What does SQL Correctness do?

SQL evaluation criteria for Databricks. An agent skill from databricks-solutions/ai-dev-kit. SQL Correctness is an agent skill from databricks-solutions/ai-dev-kit. SQL evaluation criteria for Databricks.

When should I use SQL Correctness?

SQL Correctness fits situations like: tasks that involve SQL.

How do I install SQL Correctness in Claude Code?

Run `npx skills add databricks-solutions/ai-dev-kit --skill sql-correctness -a claude-code`. Or copy the skill folder (.test/eval-criteria/sql-correctness in databricks-solutions/ai-dev-kit) into .claude/skills/sql-correctness in your project. Claude Code loads it when a task matches its description.

How do I install SQL Correctness in Codex?

Run `npx skills add databricks-solutions/ai-dev-kit --skill sql-correctness -a codex`. Or copy the skill folder (.test/eval-criteria/sql-correctness in databricks-solutions/ai-dev-kit) into .agents/skills/sql-correctness in your project. Codex loads it when a task matches its description.

Can I use SQL Correctness 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-solutions/ai-dev-kit --skill sql-correctness -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sql-correctness, .gemini/skills/sql-correctness, .github/skills/sql-correctness and .opencode/skills/sql-correctness in your project.

What does SQL Correctness need to run?

Going by SKILL.md and its folder, SQL Correctness needs the command-line tools its instructions call (databricks).

Does SQL Correctness 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 SQL Correctness 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 SQL Correctness use?

SQL Correctness 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 SQL Correctness use?

About 438 tokens (SKILL.md is roughly 1.8k 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 347 tokens, read only when the agent opens those files.

What are the alternatives to SQL Correctness?

Skills that share tags, products or a category with SQL Correctness: Optimizing Databricks SQL (AltimateAI/data-engineering-skills, 127 stars), Databricks Dbsql (databricks/databricks-agent-skills, 345 stars), Mendix Odata Pushdown (mendixlabs/mxcli, 128 stars) and Databricks CLI (aehrc/pathling, 137 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains SQL Correctness?

databricks-solutions (a GitHub organization) maintains it in databricks-solutions/ai-dev-kit, which has 1,938 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on August 13, 2026.

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