databricks-core

Databricks CLI operations and the parent/entry-point skill for Databricks CLI use: authentication, profile selection, and bundles. Load this first for CLI, auth, profile, and bundle tasks, then load the matching product skill. For finding or exploring data, answering questions about the data, or gen

By databricks · 1,427 installs

npx skills add databricks/databricks-agent-skills --skill databricks-core

Source repository · Upstream listing

Databricks Core skill for Databricks CLI, authentication, and data exploration. Product Skills For specific products, use dedicated skills: databricks jobs Lakeflow Jobs development and deployment databricks pipelines Lakeflow Spark Declarative Pipelines (batch and streaming data pipelines) databricks apps Full stack TypeScript app development and deployment databricks lakebase Lakebase Postgres Autoscaling project management databricks model serving Model Serving endpoint management and inference For data discovery, exploration, and query generation — finding tables, answering natural language questions about the data, or generating SQL — use databricks data discovery (it asks Genie One first, then falls back to manual exploration). If it isn't installed, use the AI tool commands below and [Manual Data Exploration](manual data exploration.md). Prerequisites 1. CLI installed : Run databricks version to check. If the CLI is missing or outdated (< v0.292.0): STOP. Do not proceed or work around a missing CLI. Read the [CLI Installation](databricks cli install.md) reference file and follow the instructions to guide the user through installation. Note: In sandboxed environments (Cursor IDE, containers), install commands write outside the workspace and may be blocked. Present the install command to the user and ask them to run it in their own terminal. Exception: If CLI installation is blocked (sandboxed containers, restricted environments), ask the user whether to fall back to direct REST API calls using DATABRICKS HOST and DATABRICKS TOKEN environment variables if present in the shell. See the [Databricks REST API docs](https://docs.databricks.com/api/workspace/introduction). 2. Authenticated : databricks auth profiles If not: see [CLI Authentication](databricks cli auth.md) Profile Selection CRITICAL NEVER auto select a profile. 1. List profiles: databricks auth profiles 2. Present ALL profiles to user with workspace URLs 3. Let user choose (even if only one exists) 4. Offer to create new profile if needed Claude Code IMPORTANT Each Bash command runs in a separate shell session . Data Exploration — Use AI Tools Use these instead of manually navigating catalogs/schemas/tables: Names are literal. Use catalog/schema/table names exactly as given — never change a hyphen to an underscore or otherwise normalize them. In SQL, backtick quote any name part with special characters (e.g. my catalog .schema.table ); unquoted hyphens cause a parse error. These commands are first class for running known SQL and profiling — Genie isn't required for that. For natural language data questions, locating data you can't pin down, or generating a query from a question, prefer the databricks data discovery skill (above) if it's installed. See [Manual Data Exploration](manual data exploration.md) for the full command surface, quoting rules, and troubleshooting. Quick Reference ⚠️ CRITICAL: Some commands use positional arguments, not flags Troubleshooting Error Solution cannot configure default credentials Use profile flag or authenticate first configuration does not support OAuth tokens The command requires OAuth (e.g., databricks apps logs ). Re authenticate with databricks auth login host <URL profile <PROFILE . See [CLI Authentication](databricks cli auth.md). PERMISSION DENIED Check workspace/UC permissions RESOURCE DOES NOT EXIST Verify resource name/id and profile Required Reading by Task Task READ BEFORE proceeding First time setup [CLI Installation](databricks cli install.md) Auth issues / new workspace [CLI Authentication](databricks cli auth.md) Exploring tables/schemas [Manual Data Exploration](manual data exploration.md) (or databricks data discovery if installed) Deploying jobs/pipelines Use /databricks dabs Reference Guides [CLI Installation](databricks cli install.md) [CLI Authentication](databricks cli auth.md) [Manual Data Exploration](manual data exploration.md)