databricks/databricks-agent-skills
Databricks AI Tools: skills and plugins for building on Databricks with Claude Code, Cursor, Codex, GitHub Copilot, and other AI coding agents.
Databricks AI Tools (databricks-agent-skills)
What it is
A GitHub repository that gives AI coding agents (Claude Code, Cursor, Codex, GitHub Copilot, and others) Databricks-specific guidance. It ships two things:
- Skills — instruction files that teach an agent how to work with Databricks: building apps, jobs, and data pipelines; using Lakebase and Model Serving; deploying resources with Declarative Automation Bundles.
- Plugins — add hooks (automatic behaviors) and slash commands where the agent supports them.
How installation works
There are two install paths, both loading the same stable skills but into different locations:
- Databricks CLI (canonical path) —
databricks aitools installwritesSKILL.mdfiles directly into each agent's skill directory (e.g.~/.claude/skills/). This is the only path that supports experimental skills and per-skill selection. Requires Databricks CLI v1.0.0+. - Plugin marketplaces — Claude Code, Cursor, GitHub Copilot, and Codex each have a marketplace command to add the plugin. The agent caches the plugin and discovers skills from there. No CLI required. Installs all stable skills (all-or-nothing), plus commands/hooks where supported.
CLI vs marketplace at a glance:
| CLI | Plugin marketplace | |
|---|---|---|
| Stable skills | ✅ | ✅ |
| Experimental skills | ✅ (with --experimental) |
❌ |
| Per-skill selection | ✅ | ❌ |
| Commands & hooks | ❌ (skills only) | ✅ |
| Updates | databricks aitools update |
Marketplace update flow |
| Required outside agent | Databricks CLI v1.0.0+ | None |
The README recommends the CLI if in doubt.
What's inside — stable skills
The repo ships ~40 stable skills from skills/, each a folder with a SKILL.md file plus optional references/. Highlights:
- databricks-core — CLI, authentication, profile selection, data exploration. Parent skill for all product skills.
- databricks-apps — Full-stack TypeScript apps using AppKit.
- databricks-dabs — Declarative Automation Bundles for deploying/managing resources.
- databricks-jobs — Lakeflow Jobs orchestration (task types, triggers, schedules, notifications).
- databricks-lakebase — Lakebase Postgres (projects, branching, autoscaling, synced tables, Data API).
- databricks-model-serving — Model Serving endpoint management, AI Gateway, traffic config.
- databricks-pipelines — Lakeflow Spark Declarative Pipelines (formerly DLT).
- databricks-unity-catalog — Unity Catalog system tables for lineage, audit, billing.
- databricks-vector-search — AI Search endpoints + indexes for RAG and semantic search.
- databricks-mlflow-evaluation / databricks-mlflow-tracing — MLflow evaluation and tracing workflows (adapted from
mlflow/skills). - Plus many more: data discovery, serverless migration, AI functions, AI runtime, dashboards, Python apps, SQL, Iceberg, Lakeflow Connect, metric views, ML training, Python SDK, sandbox, Spark streaming, synthetic data, Unity Gateway, PDF generation, Zerobus ingest.
Experimental skills
A separate experimental/ directory holds skills imported from the now-deprecated databricks-solutions/ai-dev-kit, on a best-effort basis. They are:
- Not officially supported (lower review/quality bar than stable skills).
- Not installed by default — pass
--experimentalto install all, or name one specifically (e.g.databricks aitools install spark-python-data-source --experimental).
Commands and hooks (Claude Code, Cursor)
When installed as a plugin, these are added on top of the skills:
Slash commands (friction-only entry points; everyday work stays with auto-invoked skills):
/databricks:setup [workspace-url]— auth/onboarding: install check, then OAuth/PAT/service-principal profile, then verify./databricks:doctor [profile]— read-only health check (CLI version, auth, workspace reachability, compute, recent job failures).
Hooks (all fail-open — never block or rewrite commands):
- Prompt router — a fast keyword regex (sub-50ms, no LLM, no network) that detects Databricks-related prompts and injects a note steering the agent to load
databricks-coreplus the matching product skill. Fires once per session; later prompts get a one-line reminder. - Context primer — at session start, injects routing rule, CLI version, configured profile names, and auth state (read locally, no network, no token values).
- Auth-failure hint — when a
databrickscommand fails with an auth-shaped error, adds one line suggesting/databricks:doctorordatabricks auth login.
Cursor differences: commands ship as /databricks-setup and /databricks-doctor (flat menu, no namespacing). Only two hooks port (context primer, auth-failure hint); the prompt router doesn't work in Cursor, so routing ships as a Cursor rule file instead.
Distribution parity note: the CLI install path currently packages only skills/, so CLI users don't yet get commands/hooks — that gap is tracked as CLI-side work.
Structure
Each skill follows the Agent Skills Specification:
skill-name/
├── SKILL.md # Main skill file with frontmatter + instructions
└── references/ # Additional documentation loaded on demand
Development notes
- New skills — create a subskill declaring its parent via frontmatter (e.g.
parent: databricks-apps). This keeps main skills stable and allows experimentation. - Manifest —
manifest.jsonis generated byscripts/skills.py; do not edit by hand. CI rejects manual changes. A self-heal workflow re-runs generation on every push tomainand commits refreshed files. - Plugin manifests — one plugin is generated to five targets (Claude Code, Codex, Copilot, Cursor, Antigravity) from a single source of truth (
metaplugin/plugin.meta.json). All bundles, catalogs, andplugin.jsonfiles are generated; edit the meta file and regenerate. A version file (metaplugin/version.meta.json) owns the release version.
Contributing
- Feedback and change proposals go through GitHub issues.
- The repo is published from an internal Databricks source of truth; PRs are restricted to collaborators and used only to publish internal changes.
- All changes require code-owner approval.
- Documentation examples must follow least-privilege defaults.
Security & integrity
- Vulnerability reporting guidelines live in
SECURITY. - Release tags are created by a Release workflow and map 1:1 to a published version.
Related
- Project
- Project
- Project
- Project
- Project