Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

databricks

Skill by rocky-data

Databricks is a REST API and SQL reference for Rocky's warehouse adapter. It covers SQL execution, authentication, Unity Catalog and permission reconciliation. It is for developers working in the rocky-databricks crate.

  • Score 73
  • 313 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install databricks

Built from the published package, never by AI.

git clone --depth 1 https://github.com/rocky-data/rocky /tmp/rocky && mkdir -p ~/.claude/skills && cp -r /tmp/rocky/engine/.claude/skills/databricks ~/.claude/skills/databricks

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install databricks in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The databricks skill is a reference document for Rocky's warehouse adapter. It lists Databricks REST endpoints and the SQL statements Rocky generates. It covers statement submission and polling, PAT and OAuth M2M authentication, Unity Catalog catalog isolation and workspace bindings, and permission reconciliation. It also describes incremental copy, schema drift handling, and data quality row counts.

The file also sets validation rules for SQL identifiers and principal names, and a retry strategy for transient errors. Rocky generates SQL statements such as CREATE CATALOG and GRANT itself. It is aimed at developers implementing Databricks integration in the rocky-databricks crate. The source describes the API calls in plain REST, with no SDK required.

Written from the project's SKILL.md and checked against it.

What it can do

  • SQL statement executionSubmits, polls, and cancels SQL statements through the Databricks SQL Statement Execution REST API.
  • AuthenticationExplains PAT and OAuth M2M service principal auth, with token caching and auto-detection logic.
  • Unity Catalog catalog isolationShows how to set a catalog's isolation mode to ISOLATED through the Unity Catalog API.
  • Workspace bindingsCovers reading and adding or removing workspace bindings for a catalog.
  • Incremental copyDescribes full refresh and watermark-based incremental copy SQL generated by Rocky.
  • Schema drift detectionDescribes evolving columns on safe type widening and dropping tables on unsafe changes.
  • Permission reconciliationCovers inspecting, granting, and revoking catalog and schema privileges for principals.
  • Data quality checksShows single and batched row count queries and column introspection SQL.
  • Error handling and retriesLists common Databricks errors and a retry strategy with exponential backoff for transient errors.

What you need

  • A Databricks workspace host
  • A personal access token or OAuth service principal client ID and secret
  • A Databricks SQL warehouse

Try asking

  • Show me how to submit a SQL statement to a Databricks warehouse
  • How do I set up OAuth M2M auth for Databricks in Rocky?
  • Write the GRANT and REVOKE SQL for catalog permissions in Unity Catalog

Good to know

  • Maximum SQL statement size is 100KB.
  • Max concurrent statements per warehouse varies by warehouse size.
  • EXTERNAL_LINKS for large results is noted as future work (Arrow Flight).

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: engine/.claude/skills/databricks/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to databricks

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

databricks: common questions

Does the Databricks skill need an SDK?

No. The source says SQL execution is pure REST with no SDK needed.

Which authentication methods does it cover?

It covers PAT auth using DATABRICKS_TOKEN and OAuth M2M using a client ID and secret. It also describes auto-detection between the two.

How does Rocky handle incremental copies?

Rocky reads the prior watermark from its redb state store and inserts it as a literal in the generated SQL. It does not subquery the target table.

How do I install databricks?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is databricks free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is databricks safe to use?

It scores 73 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to databricks?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

databricks Install

Add to stack

Loading.