databricks-execution-compute
Skill by databricks
Runs Python, Scala, SQL and R code on Databricks and manages clusters and SQL warehouses. Built for developers and data engineers who work in a Databricks workspace through the Databricks CLI.
Install databricks-execution-compute
Built from the published package, never by AI.
git clone --depth 1 https://github.com/databricks/databricks-agent-skills /tmp/databricks-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/databricks-agent-skills/skills/databricks-execution-compute ~/.claude/skills/databricks-execution-computeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install databricks-execution-compute in Claude Code
git clone --depth 1 https://github.com/databricks/databricks-agent-skills /tmp/databricks-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/databricks-agent-skills/skills/databricks-execution-compute ~/.gemini/antigravity-cli/skills/databricks-execution-computeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install databricks-execution-compute in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill lets an AI assistant run Python, Scala, SQL and R code on Databricks and manage compute. It picks an execution mode based on the workload: Databricks Connect for Spark code, a serverless job for heavy processing, an interactive cluster for state or Scala and R, or the Databricks Sandbox for untrusted code. It also creates, starts, stops, resizes and deletes clusters and SQL warehouses through the Databricks CLI.
The skill is aimed at data engineers and developers working in a Databricks workspace. It advises against starting interactive clusters by default, since they are slow to start and cost money while running. If a Declarative Automation Bundles project is present, it directs the assistant to the databricks-dabs skill first. It depends on the databricks-core skill for CLI install and authentication.
Written from the project's SKILL.md and checked against it.
What it can do
- Serverless job executionUploads a notebook, submits a one-time run, polls its state and fetches the output.
- Databricks ConnectRuns local PySpark scripts against Databricks using a configured profile.
- Interactive cluster executionRuns stateful code through execution contexts for Python, Scala, SQL and R.
- Cluster managementLists, gets, starts, restarts, deletes and permanently deletes clusters.
- SQL warehouse managementCreates, lists, starts, stops, edits and deletes SQL warehouses.
- Sandbox handoffDirects untrusted or agent-generated code to the Databricks Sandbox skill.
What you need
- Databricks CLI version 1.0.0 or later
- Python 3.12 for Databricks Connect
- The databricks-core skill for install and authentication
Try asking
- Run this PySpark script on Databricks with Databricks Connect.
- Create a small serverless SQL warehouse that auto stops after 10 minutes.
- Submit this training script as a serverless job and show the output.
Good to know
- Interactive clusters take 3-8 minutes to start and cost money while running.
- Serverless job runs are ephemeral, with no Jobs UI entry and no retry.
- Deleting a SQL warehouse is irreversible.
- Editing a stopped warehouse needs the --no-wait flag, or the command blocks.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/databricks-execution-compute/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to databricks-execution-compute
All alternatives →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.
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.
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.
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.
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.
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.
Compare with kaggle-cli, bigquery-bigframes or data-loading
databricks-execution-compute: common questions
Which execution mode should I use for Spark code?
The source prefers Databricks Connect for all Spark-based workloads, then serverless. Interactive clusters are used only when needed for state, Scala or R.
Why does the skill avoid interactive clusters by default?
Interactive clusters are slow to start, taking 3-8 minutes, and cost money while running. The skill starts one only if a running cluster exists, stateful debugging is needed, or the user asks.
Can the skill resize a SQL warehouse?
Yes, through the warehouses edit command. The full desired configuration must be passed, because omitted fields revert to defaults.
How do I install databricks-execution-compute?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is databricks-execution-compute free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is databricks-execution-compute safe to use?
It scores 73 of 100. Grades: maintenance A, licence F, 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-execution-compute?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
