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-bundle-medic

Skill by jeremylongshore

Fixes deploy-time failures in Databricks Asset Bundles, including state-file redeploy errors, first-deploy GRANT ordering, customer-managed key rotation, and PrivateLink traffic that still uses the NAT. Built for platform teams that run Databricks bundles.

  • Score 77
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install databricks-bundle-medic

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/databricks-bundle-medic ~/.claude/skills/databricks-bundle-medic

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

Step-by-step: install databricks-bundle-medic in Claude Code

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

About

Databricks Bundle Medic is a Claude Code skill for fixing deploy-time problems in Databricks Asset Bundles (DAB) and the infrastructure around them. It covers five known failures: the bundle bind gap for UC catalogs and external locations, the unexpected EOF reading terraform.tfstate redeploy error, the schema GRANT-ordering bug on first deploy, the workspace drain needed for customer-managed key rotation, and PrivateLink traffic that still crosses the NAT.

It ships two hooks. A PreToolUse hook validates and backs up the bundle's terraform state before each deploy. A PostToolUse hook recognises the exact GRANT-ordering error and recommends one retry. Both are advisory. The skill is aimed at platform teams running Databricks bundles, and its scripts cover UC import plans, drain and resume, and VPC endpoint audits.

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

What it can do

  • Pre-deploy state backupValidates the bundle's terraform state and caches a known-good backup before each deploy.
  • GRANT retry recommendationRecommends one retry when the exact 'does not have CREATE TABLE on Schema' error appears.
  • UC resource import planGenerates a review-first Terraform import plan for an existing UC external location or catalog.
  • Workspace drain and resumePlans an idempotent drain of compute for CMK rotation and resumes from a manifest.
  • VPC endpoint auditChecks for S3, STS and Kinesis endpoints and can emit remediation Terraform.
  • Engine workaround guideExplains switching to DATABRICKS_BUNDLE_ENGINE=direct to avoid the state EOF error.

What you need

  • Databricks CLI, authenticated
  • terraform and jq on PATH
  • Account-level OAuth M2M service principal for CMK rotation
  • AWS, Azure or GCP CLI for cloud-side key and VPC endpoint work
  • databricks-workspace-mcp server (optional)

Try asking

  • My bundle deploy failed with unexpected EOF reading terraform.tfstate. What should I do?
  • Plan a drain of our workspace before we rotate the customer-managed key.
  • Audit our VPC for missing S3, STS and Kinesis endpoints causing NAT costs.

Good to know

  • The hooks are advisory and never block a deploy.
  • The UC import script is temporary and should be removed once databricks/cli#4842 closes.
  • CMK operations are account-scoped and a workspace PAT is not enough.
  • The post-deploy hook only recognises the exact GRANT-ordering error signature.

Security check

B
  • Allowed to use Write, Edit without limitsIn SKILL.md

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

Inside the skill

Allowed tools: ReadWriteEditBash(databricks:*)Bash(terraform:*)Bash(jq:*)Bash(python3:*)Bash(bash:*)Globmcp__databricks-workspace-mcp__external_locations_listmcp__databricks-workspace-mcp__storage_credentials_list

Alternatives to databricks-bundle-medic

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

databricks-bundle-medic: common questions

What does the bundle bind gap affect?

The source says databricks bundle bind cannot yet take UC catalogs or external locations (databricks/cli#4842). The skill generates an import plan as a workaround.

Does the skill change my deployments automatically?

No. The source says the pre-deploy hook never blocks a deploy and the post-deploy hook only recommends a retry, without masking real errors.

Why does PrivateLink still show NAT costs?

The source says PrivateLink covers the control plane only. S3, STS and Kinesis calls from the data plane still traverse the NAT until each has its own VPC endpoint.

How do I install databricks-bundle-medic?

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

Is databricks-bundle-medic free?

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

Is databricks-bundle-medic safe to use?

It scores 77 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.

What are alternatives to databricks-bundle-medic?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

databricks-bundle-medic Install

Add to stack

Loading.