databricks-core

Parent/entry skill for Databricks CLI operations and all Databricks work: handles authentication, profile selection, data exploration, bundles, and Genie natural-language data Q&A. For any Databricks task (CLI actions, authentication, profile management, or catalog/table exploration), load this skill first, then the matching product skill. Includes up-to-date guidance for CLI tasks related to Databricks.

Last repository push
GitHub Stars
212
Forks
664
Issues / PRs
21

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "databricks-core" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-0305670998888e3d12d019c1fa54e4d78b021ecde4e5fcd8dc264714f76b4e90. Verify the upstream source and version against https://github.com/Kilo-Org/kilo-marketplace before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Parent/entry skill for Databricks CLI operations and all Databricks work: handles authentication, profile selection, data exploration, bundles, and Genie natural-language data Q&A. For any Databricks task (CLI actions, authentication, profile management, or catalog/table exploration), load this skill first, then the matching product skill. Includes up-to-date guidance for CLI tasks related to Databricks.

0 Downloads

Introduction source: third_party · Kilo-Org · 0.1.0 Reference

SkillPi interpretation

Tasks
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 generating SQL, load the databricks-data-discovery skill (it routes to Genie One). Contains up-to-date guidelines for Databricks-related CLI tasks.
Software, accounts and paid services
1. **CLI installed and current**: the CLI must be >= v1.0.0. A CLI that is present but too old is not "good enough" — it must be upgraded, not worked around. - **Run the floor check in CLI Installation.** If it reports `UPGRADE` or `INSTALL`: STOP and follow that reference file to upgrade or install — do not proceed or tell the user their CLI is fine. - **If another skill routed you here to upgrade** (it needs a newer CLI than v1.0.0 — e.g. `databricks-setup-local` needs v1.12.0), that skill already detected the gap. A passing v1.0.0 floor check is not enough: follow the Update / repair procedures to install the latest stable, which satisfies any skill's floor. - Note: In sandboxed environme
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "databricks-core"
description: "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 generating SQL, load the databricks-data-discovery skill (it routes to Genie One). Contains up-to-date guidelines for Databricks-related CLI tasks."
compatibility: Requires databricks CLI (>= v1.0.0)
metadata:
  version: "0.1.0"

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.

Prerequisites

  1. CLI installed and current: the CLI must be >= v1.0.0. A CLI that is present but too old is not "good enough" — it must be upgraded, not worked around.

    • Run the floor check in CLI Installation. If it reports UPGRADE or INSTALL: STOP and follow that reference file to upgrade or install — do not proceed or tell the user their CLI is fine.
    • If another skill routed you here to upgrade (it needs a newer CLI than v1.0.0 — e.g. databricks-setup-local needs v1.12.0), that skill already detected the gap. A passing v1.0.0 floor check is not enough: follow the Update / repair procedures to install the latest stable, which satisfies any skill's floor.
    • 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.
  2. Authenticated: databricks auth profiles

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.

# WORKS: --profile flag
databricks apps list --profile my-workspace

# WORKS: chained with &&
export DATABRICKS_CONFIG_PROFILE=my-workspace && databricks apps list

# DOES NOT WORK: separate commands
export DATABRICKS_CONFIG_PROFILE=my-workspace
databricks apps list  # profile not set!

Data Exploration — Use AI Tools

Use these instead of manually navigating catalogs/schemas/tables:

# discover table structure (columns, types, sample data, stats)
databricks experimental aitools tools discover-schema catalog.schema.table --profile <PROFILE>

# run ad-hoc SQL queries
databricks experimental aitools tools query "SELECT * FROM table LIMIT 10" --profile <PROFILE>

# find the default warehouse
databricks experimental aitools tools get-default-warehouse --profile <PROFILE>

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 for the full command surface, quoting rules, and troubleshooting.

Quick Reference

⚠️ CRITICAL: Some commands use positional arguments, not flags

# current user
databricks current-user me --profile <PROFILE>

# list resources
databricks apps list --profile <PROFILE>
databricks jobs list --profile <PROFILE>
databricks clusters list --profile <PROFILE>
databricks warehouses list --profile <PROFILE>
databricks pipelines list --profile <PROFILE>
databricks serving-endpoints list --profile <PROFILE>

# ⚠️ Unity Catalog — POSITIONAL arguments (NOT flags!)
databricks catalogs list --profile <PROFILE>

# ✅ CORRECT: positional args
databricks schemas list <CATALOG> --profile <PROFILE>
databricks tables list <CATALOG> <SCHEMA> --profile <PROFILE>
databricks tables get <CATALOG>.<SCHEMA>.<TABLE> --profile <PROFILE>

# ❌ WRONG: these flags/commands DON'T EXIST
# databricks schemas list --catalog-name <CATALOG>    ← WILL FAIL
# databricks tables list --catalog <CATALOG>           ← WILL FAIL
# databricks sql-warehouses list                       ← doesn't exist, use `warehouses list`
# databricks execute-statement                         ← doesn't exist, use `experimental aitools tools query`
# databricks sql execute                               ← doesn't exist, use `experimental aitools tools query`

# When in doubt, check help:
# databricks schemas list --help

# get details
databricks apps get <NAME> --profile <PROFILE>
databricks jobs get --job-id <ID> --profile <PROFILE>
databricks clusters get --cluster-id <ID> --profile <PROFILE>

# bundles
databricks bundle init --profile <PROFILE>
databricks bundle validate --profile <PROFILE>
databricks bundle deploy -t <TARGET> --profile <PROFILE>
databricks bundle run <RESOURCE> -t <TARGET> --profile <PROFILE>

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.
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
Auth issues / new workspace CLI Authentication
Exploring tables/schemas Manual Data Exploration (or databricks-data-discovery if installed)
Deploying jobs/pipelines Use /databricks-dabs

Reference Guides

Version history

  1. skills-20261103210927-6c1b454 GitHub ↗
    Original release notes

    Automated skills release from commit 6c1b4543cac1d45a80bf5904e4b69ac315117323

  2. skills-20260928190452-ff51758 GitHub ↗
    Original release notes

    Automated skills release from commit ff51758b06b8249007116184096765d47bdb7505

  3. skills-20260924105536-d31110d GitHub ↗
    Original release notes

    Automated skills release from commit d31110d62dc0bd00c22f1d6f6a630d1e702a0049

  4. skills-20260923085113-cea285e GitHub ↗
    Original release notes

    Automated skills release from commit cea285ef0e4d6ec47cd2fd9fdbca03813a3363c7

  5. skills-20260922193956-97d7333 GitHub ↗
    Original release notes

    Automated skills release from commit 97d7333d8200e5ac556c659c8669f3a83ba10866

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.1.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供 Databricks CLI 核心操作功能,包括身份验证、配置文件管理和数据探索
  • 作为 Databricks 工作的入口技能,具有明确的实用价值和广泛受众
Trigger Precision90/100

Highlights

  • 触发描述清晰明确,覆盖 CLI 操作、身份验证、配置文件选择等核心场景
  • 边界定义清晰,避免与其他 Databricks 技能混淆
Structure and Standards95/100

Highlights

  • 文档结构完整,包含前置条件、操作步骤、快速参考和故障排除
  • 提供详细的命令示例和注意事项,便于用户理解和执行
Execution Reliability90/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    SKILL.md 引用了 databricks-cli-install.md、databricks-cli-auth.md、manual-data-exploration.md 三个文件,但这些文件未在传入内容中提供

    Recommendation: 请确保所有被引用的文件都包含在 Skill 包中,或提供替代的在线文档链接

Highlights

  • 工具来源明确,参数说明详细,覆盖主要异常情况
  • 提供完整的故障排除指南和错误解决方案
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • docs.databricks.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

1. **CLI installed and current**: the CLI must be >= v1.0.0. A CLI that is present but too old is not "good enough" — it must be upgraded, not worked around. - **Run the floor check in CLI Installation.** If it reports `UPGRADE` or `INSTALL`: STOP and follow that reference file to upgrade or install — do not proceed or tell the user their CLI is fine. - **If another skill routed you here to upgrade** (it needs a newer CLI than v1.0.0 — e.g. `databricks-setup-local` needs v1.12.0), that skill already detected the gap. A passing v1.0.0 floor check is not enough: follow the Update / repair procedures to install the latest stable, which satisfies any skill's floor. - Note: In sandboxed environme

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.