thomazrossito/data-agents/databricks-execution-compute

Claude Code and agent skill by thomazrossito/data-agents

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Execute code and manage compute on Databricks. Use this skill when the user mentions: "run code", "execute", "run on databricks", "serverless", "no cluster", "run python", "run scala", "run sql", "run R", "run file", "push and run", "notebook run", "batch script", "model training", "run script on cluster", "create cluster", "new cluster", "resize cluster", "modify cluster", "delete cluster", "terminate cluster", "create warehouse", "new warehouse", "resize warehouse", "delete warehouse", "node types", "runtime versions", "DBR versions", "spin up compute", "provision cluster".

Install

npx vskill@latest install thomazrossito/data-agents/databricks-execution-compute

SKILL.md

The same SKILL.md was published earlier as thomazrossito/data-agents/databricks-execution-compute.

Databricks Execution & Compute

Run code on Databricks. Three execution modes—choose based on workload.

Execution Mode Decision Matrix

AspectDatabricks Connect ⭐Serverless JobInteractive Cluster
Use forSpark code (ETL, data gen)Heavy processing (ML)State across tool calls, Scala/R
StartupInstant~25-50s cold start~5min if stopped
StateWithin Python processNoneVia context_id
LanguagesPython (PySpark)Python, SQLPython, Scala, SQL, R
DependencieswithDependencies()CLI with environments specInstall on cluster
Decision Flow
Spark-based code? → Databricks Connect (fastest)
└─ Python 3.12 missing? → Install it + databricks-connect
└─ Install fails? → Ask user (don't auto-switch modes)
Heavy/long-running (ML)? → Serverless Job (independent)
Need state across calls? → Interactive Cluster (list and ask which one to use)
Scala/R? → Interactive Cluster (list and ask which one to use)

How to Run Code

Read the reference file for your chosen mode before proceeding.

Databricks Connect (no MCP tool, run locally) → reference
bash
python my_spark_script.py
Serverless Job → reference
python
execute_code(file_path="/path/to/script.py")
Interactive Cluster → reference
python
# Check for running clusters first (or use the one instructed)
list_compute(resource="clusters")
# Ask the customer which one to use
# Run code, reuse context_id for follow-up MCP call
result = execute_code(code="...", compute_type="cluster", cluster_id="...")
execute_code(code="...", context_id=result["context_id"], cluster_id=result["cluster_id"])

MCP Tools

ToolForPurpose
execute_codeServerless, InteractiveRun code remotely
list_computeInteractiveList clusters, check status, auto-select running cluster
manage_clusterInteractiveCreate, start, terminate, delete. COSTLY: start takes 3-8 min—ask user
manage_sql_warehouseSQLCreate, modify, delete SQL warehouses

Related Skills

  • [databricks-synthetic-data-gen](../databricks-synthetic-data-gen/SKILL.md) — Data generation using Spark + Faker
  • [databricks-jobs](../databricks-jobs/SKILL.md) — Production job orchestration
  • [databricks-dbsql](../databricks-dbsql/SKILL.md) — SQL warehouse and AI functions

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
30
Repository forks
20
7-day trend score
17

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/thomazrossito/data-agents/databricks-execution-compute/badge)](https://verified-skill.com/skills/thomazrossito/data-agents/databricks-execution-compute)

Something wrong with this skill or its page? Tell us.