databricks-solutions avatar

Databricks Python Sdk

This gives Claude everything it needs to work with Databricks: the Python SDK for managing resources, Databricks Connect for running Spark locally, CLI commands, and direct REST API access when the SDK doesn't cut it. The documentation coverage is solid, with clear examples for clusters, jobs, SQL warehouses, and Unity Catalog operations. I like that it includes the predictable URL patterns for the SDK docs and explicitly warns against common mistakes like setting master mode in Databricks Connect. If you're writing code that talks to Databricks instead of just notebooks in the UI, this is the reference you want loaded.

skills.sh installs
183
GitHub stars
2K
last updated
Aug 21, 2026

Install

$ npx -y skills add databricks-solutions/ai-dev-kit --skill databricks-python-sdk --agent claude-code

Installs into .claude/skills of the current project.

Files

Databricks Development Guide

This skill provides guidance for Databricks SDK, Databricks Connect, CLI, and REST API.

SDK Documentation: https://databricks-sdk-py.readthedocs.io/en/latest/ GitHub Repository: https://github.com/databricks/databricks-sdk-py


Environment Setup

  • Use existing virtual environment at .venv or use uv to create one
  • For Spark operations: uv pip install databricks-connect
  • For SDK operations: uv pip install databricks-sdk
  • Databricks CLI version should be 0.278.0 or higher

Configuration

  • Default profile name: DEFAULT
  • Config file: ~/.databrickscfg
  • Environment variables: DATABRICKS_HOST, DATABRICKS_TOKEN

Databricks Connect (Spark Operations)

Use databricks-connect for running Spark code locally against a Databricks cluster.

from databricks.connect import DatabricksSession

# Auto-detects 'DEFAULT' profile from ~/.databrickscfg
spark = DatabricksSession.builder.getOrCreate()

# With explicit profile
spark = DatabricksSession.builder.profile("MY_PROFILE").getOrCreate()

# Use spark as normal
df = spark.sql("SELECT * FROM catalog.schema.table")
df.show()

Sponsors

Details

Repository
github.com/databricks-solutions/ai-dev-kit
Categories
Backend & APIs, AI & Agent Building, Python, CLI & Terminal
First seen
Jun 3, 2026
1charleswiltgen avataraxiom-storekit-refcharleswiltgen/axiomReference — Complete StoreKit 2 API guide covering Product, Transaction, AppTransaction, RenewalInfo, SubscriptionStatus, StoreKit Views, purchase options, serv181skills.sh installs
2iii-hq avatariii-http-endpointsiii-hq/iiiExposes iii functions as REST API endpoints. Use when building HTTP APIs, webhooks, or inbound request handling where iii owns the route.180skills.sh installs
3sendaifun avatardflowsendaifun/skillsComplete DFlow trading protocol SDK - the single source of truth for integrating DFlow on Solana. Covers spot trading, prediction markets, Swap API, Metadata AP179skills.sh installs
4srbhr avatarfastapisrbhr/resume-matcherBuild Python APIs with FastAPI, Pydantic v2, and SQLAlchemy 2.0 async. Covers project structure, JWT auth, validation, and database integration with uv package 179skills.sh installs
5jxxghp avatarmoviepilot-clijxxghp/moviepilotUse this skill when the user asks to operate MoviePilot through the local `moviepilot tool` MCP CLI for normal product workflows: media search, torrent search, 178skills.sh installs
6charleswiltgen avataraxiom-app-compositioncharleswiltgen/axiomUse when structuring app entry points, managing authentication flows, switching root views, handling scene lifecycle, or asking 'how do I structure my @main', '176skills.sh installs