dialect-databricks

dialect-databricks is a skill for Claude Code, Codex from calvinchengx/data-agent-service. It costs 18 tokens per session (307 once invoked), scanned A, original, Apache-2.0.

A set of rules for writing Databricks SQL, the query language used with Databricks data platforms. It covers names, dates, text, calculations, null values, and allowed read operations.

In plain words
What is it for?
Writing read queries against Databricks tables, including date calculations, text matching, ratios, conditional aggregates, and null handling.
Why use it?
It helps queries match Databricks syntax and the executor's limits, including restrictions on commands that change or maintain data.

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/calvinchengx/data-agent-service/dialect-databricks
Any agent
npx skills add calvinchengx/data-agent-service --skill dialect-databricks
Clone the repo
git clone --depth 1 https://github.com/calvinchengx/data-agent-service

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 dialect-databricks

README.md
[![agentmods](https://agentmods.dev/badge/skills/calvinchengx/data-agent-service/dialect-databricks.svg)](https://agentmods.dev/skills/calvinchengx/data-agent-service/dialect-databricks)
Your own site
<a href="https://agentmods.dev/skills/calvinchengx/data-agent-service/dialect-databricks"><img src="https://agentmods.dev/badge/skills/calvinchengx/data-agent-service/dialect-databricks.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 307 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00018 $0.00307
Opus 5 $0.00009 $0.00153
Sonnet 5 $0.00004 $0.00061
Haiku 4.5 $0.00002 $0.00031

Measured 4d ago against content hash ec53d60c002d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dialect-databricks 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 4d 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.

agent/skills/dialect-databricks/SKILL.md · 17 lines

What it actually says

Applies to sources whose dialect is databricks.

  • Row ceiling: the executor appends LIMIT n. Do not write it yourself.
  • Identifiers: three-part catalog.schema.table as describe_table reports them; backticks for quoting.
  • Dates: date_trunc('MONTH', col), year(col), date_format(col, 'yyyy-MM'), datediff(b, a), date_add(col, n), timestampdiff(MINUTE, a, b).
  • Strings: concat, ||, lower, like; ilike is available.
  • Division: / on integers returns a double already; div is integer division. Cast explicitly when the catalog gives a decimal unit.
  • Conditional aggregation: count_if(cond), sum(if(cond, 1, 0)), avg(if(cond, 1.0, 0.0)).
  • Nulls: avg/sum skip nulls; count(col) skips, count(*) does not.
  • Not for reads: OPTIMIZE, VACUUM, COPY INTO, MERGE — the guard refuses them regardless.
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. 4d ago First seen · 17 lines · 18 tokens per session scan A ec53d60c002d

Subscribe to this mod's changes

dialect-databricks is a skill published in the GitHub repository calvinchengx/data-agent-service (0 stars, last pushed 2d ago), licensed Apache-2.0. It adds 18 tokens to every session and 307 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

azure-resource-manager-mysql-dotnet

Azure MySQL Flexible Server SDK for .NET. Database management for MySQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "MySQL", "MySqlFlexibleServer", "MySQL Flexible Server", "Azure Database for MySQL", "MySQL database…

microsoft/skills · 87 tokens

azure-resource-manager-postgresql-dotnet

Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "PostgreSQL", "PostgreSqlFlexibleServer", "PostgreSQL Flexible Server", "Azure Database for…

microsoft/skills · 97 tokens

azure-postgres-ts

Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package. Use for PostgreSQL queries, connection pooling, transactions, and Microsoft Entra ID (passwordless) authentication. Triggers: "PostgreSQL", "postgres", "pg client", "node-postgres", "Azure PostgreSQL…

microsoft/skills · 94 tokens

azure-mgmt-mongodbatlas-dotnet

Manage MongoDB Atlas Organizations as Azure ARM resources using Azure.ResourceManager.MongoDBAtlas SDK. Use when creating, updating, listing, or deleting MongoDB Atlas organizations through Azure Marketplace integration. This SDK manages the Azure-side organization resource, not Atlas clusters/databases directly.

microsoft/skills · 64 tokens

azure-resource-manager-redis-dotnet

Azure Resource Manager SDK for Redis in .NET. Use for MANAGEMENT PLANE operations: creating/managing Azure Cache for Redis instances, firewall rules, access keys, patch schedules, linked servers (geo-replication), and private endpoints via Azure Resource Manager. NOT for data plane operations (get/set keys, pub/sub) …

microsoft/skills · 114 tokens

azure-resource-manager-sql-dotnet

Azure Resource Manager SDK for Azure SQL in .NET. Use for MANAGEMENT PLANE operations: creating/managing SQL servers, databases, elastic pools, firewall rules, and failover groups via Azure Resource Manager. NOT for data plane operations (executing queries) - use Microsoft.Data.SqlClient for that. Triggers: "SQL…

microsoft/skills · 109 tokens