Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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…

databricksот databricks★ 421 звезда на GitHub

Об этом скилле

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-serverless - Compute choice for jobs and pipelines (serverless, performance mode, classic fallback)
  • 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

Finding Data

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). Use the AI-tool commands below and Manual Data Exploration for tables you already know and SQL you already have, or to find tables yourself when Genie One isn't available, that skill isn't installed, or Genie can't find the data or answer the question.

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.16.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!

Tag CLI Commands With Loaded Skills

When databricks --version is v1.27.0 or later, add --skills-invoked <skills> to every databricks CLI command you run, where <skills> is a comma-separated list of the bare names of the Databricks skills loaded for this task, for example databricks jobs list --skills-invoked databricks-core,databricks-jobs. Put it right after the subcommand, before any -- separator, because arguments after -- go to another program (for example databricks psql --skills-invoked databricks-core,databricks-lakebase --project <ID> -- -c "..."). Use bare skill names only, with no plugin: prefix. Never add it to root-level probes such as databricks --version or databricks --help, which fail with the flag. Leave it off on older CLIs, which reject the flag. Do not add it to scripts or code written for the user.

The flag adds only these skill names, as skill/<name> entries in the CLI's User-Agent header. They go to the Databricks workspace or account the command calls and, for some auth types, to the identity provider the CLI gets a token from (for example Microsoft Entra ID). DATABRICKS_CLI_DISABLE_TELEMETRY=1 turns them off.

Data Exploration — Use AI Tools

Use these to inspect tables and run SQL, instead of walking schemas list / tables list one schema at a time:

# discover table structure (col
Полный SKILL.md на GitHub

Установить databricks-core в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlassets/databricks.pngassets/databricks.svgdatabricks-cli-auth.mddatabricks-cli-install.mdmanual-data-exploration.md

FAQ

Что делает скилл 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 generating SQL, load the databricks-data-discovery skill (it routes to Genie One). Contains up-to-date guidelines for Databricks-related CLI tasks.

Как установить скилл databricks-core?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл databricks-core запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить databricks-core с