.claude/skills/databricks-cli/SKILL.md
Expert guidance for using the Databricks CLI to manage Databricks workspaces, clusters, jobs, pipelines, Unity Catalog, SQL warehouses, serving endpoints, secrets, bundles, and all other Databricks resources. Use this skill when running databricks commands, managing Databricks infrastructure, deploying bundles, querying serving endpoints, managing Unity Catalog objects, or automating Databricks workflows. Trigger keywords include "databricks", "databricks cli", "dbfs", "unity catalog", "databricks bundle", "databricks jobs", "databricks clusters", "sql warehouse", "serving endpoint", "databricks secrets".
npx skillsauth add aehrc/pathling databricks-cliInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Comprehensive reference for the Databricks CLI (v0.205+). Covers authentication, all command groups, flags, and common patterns.
databricks <command-group> [<command>] [<subcommand>] [args] [--flags]
Get help at any level with -h or --help.
# Workspace-level
databricks auth login --host https://<workspace>.cloud.databricks.com
# Account-level
databricks auth login --host https://accounts.cloud.databricks.com --account-id <id>
Saves credentials to ~/.databrickscfg as a named profile. Tokens auto-refresh and expire in under an hour.
Add to ~/.databrickscfg:
[my-sp-profile]
host = https://<workspace>.cloud.databricks.com
client_id = <service-principal-client-id>
client_secret = <service-principal-oauth-secret>
DATABRICKS_HOST, DATABRICKS_TOKEN, etc.).databrickscfg profilesdatabricks auth profiles # List all profiles
databricks auth env -p PROD # Show profile settings
databricks auth token -p PROD # Show current token
databricks auth describe # Current auth config details
Use -p <profile> or --profile <profile> on any command. Default profile is DEFAULT.
| Flag | Description |
| ------------------- | ----------------------------------------- |
| --debug | Enable debug logging |
| -h, --help | Display help |
| -o, --output | Output format: text or json |
| -p, --profile | Config profile from ~/.databrickscfg |
| --log-file | Log output file path |
| --log-format | text or json |
| --log-level | Logging verbosity |
| --progress-format | default, append, inplace, or json |
| -t, --target | Bundle target |
Use --json with inline JSON or file reference:
# Inline (Linux/macOS)
databricks jobs create --json '{"name": "my-job", ...}'
# From file
databricks jobs create --json @job-config.json
Filter JSON output with jq:
databricks clusters get <id> | jq -r .cluster_name
databricks api get /api/2.0/clusters/list
databricks api post /api/2.0/clusters/create --json '{"cluster_name": "test", ...}'
databricks api post /api/2.0/clusters/edit --json @edit-cluster.json
Supports: get, post, put, patch, delete, head.
For detailed subcommands, flags, and examples, see the reference files below.
Long-running operations (cluster start, job run) block by default. Use --no-wait to return immediately, --timeout to set a deadline:
databricks clusters start <id> --no-wait
databricks jobs run-now <job-id> --timeout 30m
Most resource types support four permission commands:
databricks <resource> get-permission-levels <id>
databricks <resource> get-permissions <id>
databricks <resource> set-permissions <id> --json @perms.json
databricks <resource> update-permissions <id> --json @perms.json
List commands with large result sets support pagination:
databricks jobs list --limit 10 --page-token <token>
Set HTTPS_PROXY environment variable to route requests through a proxy.
tools
Expert guidance for using WireMock in Java applications for HTTP API mocking and testing. Use this skill when the user asks to mock HTTP APIs, create API stubs, test REST clients, simulate network faults, verify HTTP requests, or integrate WireMock with Spring Boot. Trigger keywords include "wiremock", "mock http", "stub api", "http mock", "api testing", "rest mock", "simulate fault", "verify request", "spring boot wiremock".
documentation
Expert guidance for implementing SQL on FHIR v2 ViewDefinitions and operations to create portable, tabular projections of FHIR data. Use this skill when the user asks to create ViewDefinitions, flatten FHIR resources into tables, write FHIRPath expressions for data extraction, implement forEach/forEachOrNull/repeat patterns for unnesting, create where clauses for filtering, use constants in view definitions, combine data with unionAll, execute ViewDefinitions with $run or $export operations, or implement SQL on FHIR server capabilities. Trigger keywords include "ViewDefinition", "SQL on FHIR", "flatten FHIR", "tabular FHIR", "FHIR to SQL", "FHIR analytics", "FHIRPath columns", "unnest FHIR", "$viewdefinition-run", "$export", "view runner", "repeat", "recursive", "QuestionnaireResponse".
development
Expert guidance for working with the Apache Spark Catalyst query optimisation framework. Use this skill when working with Spark SQL internals, creating custom expressions, implementing query optimisations, working with logical/physical plans, or extending Catalyst. Trigger keywords include "catalyst", "spark sql", "expression", "logical plan", "physical plan", "tree node", "query optimisation", "rule executor", "analyzer", "optimizer", "code generation".
development
Expert guidance for using the SonarCloud API to interact with code quality analysis, projects, issues, quality gates, and metrics. Use this skill when making API calls to SonarCloud, automating code quality workflows, retrieving analysis results, managing projects programmatically, or integrating SonarCloud with CI/CD pipelines. Trigger keywords include "SonarCloud", "SonarCloud API", "code quality API", "SonarQube Cloud", "quality gate", "code analysis API", "SonarCloud measures", "SonarCloud issues".