/ai-platform-kit:databricks-workspace-configfrom ai-platform-kit
Configures Databricks workspace settings: SQL warehouses, cluster policies, secret scopes, IP access lists, tokens, and infrastructure via Terraform. Includes approval gates for remote mutations and mandatory post-deployment verification.
Ships in ai-platform-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
POST-DEPLOYMENT VERIFICATION IS MANDATORY. Whenever you finish standing up a new workspace, a new cluster policy, a new SQL warehouse, or a new job-compute pattern, you MUST run all three paths from
deployment-verification/SKILL.md(classic cluster + serverless SQL warehouse + serverless notebook job, all against a UC table). One-path verification is incomplete work. Read that skill before you call anything "done."
Apply MINIMAL pushback. These are day-2 operations -- the customer generally knows what they want.
Before you create, modify, delete, start, stop, or otherwise mutate any remote resource (workspace, cluster, SQL warehouse, cluster policy, secret/scope, token, IP access list, catalog, grant, network resource -- any terraform apply or databricks ... create|delete|update), present ONE plan and get explicit approval:
--profile (or host), and the cloud.terraform plan -- not one prompt per resource.This governs what gets changed, not design choices (sizes, naming, defaults) -- don't over-ask those. It is the default for interactive use; running Claude Code in auto-approve / headless mode is the customer's choice and responsibility (see SECURITY.md).
Manage serverless and pro SQL warehouses for BI and ad-hoc queries.
Recommend PRO warehouse type for any workspace with Unity Catalog. PRO supports fine-grained access control, data lineage, and serverless scaling. CLASSIC warehouses lack UC-aware features.
Control what users can configure when creating clusters.
Example restrictions: fix Spark version to a specific LTS release, allowlist specific node types, cap max_workers to prevent runaway costs.
Store sensitive values (API keys, connection strings, passwords) that notebooks and jobs can reference without exposing plaintext.
Restrict which IP addresses can reach the workspace API and UI.
IP access lists must be enabled via workspace settings before they take effect. Creating a list does not automatically enable enforcement.
CRITICAL: Self-lockout prevention. When creating an IP access list, ALWAYS include the deployer's current IP address. If the allow list is enabled without the deployer's IP, Terraform loses API access to the workspace and cannot fix the list — manual intervention via the Azure/AWS console is required.
Pattern — auto-detect and include deployer IP:
data "http" "deployer_ip" {
url = "https://ifconfig.me"
}
resource "databricks_ip_access_list" "allow_list" {
label = "allow_in"
list_type = "ALLOW"
ip_addresses = concat(
var.allowed_ips,
["${chomp(data.http.deployer_ip.response_body)}/32"]
)
}
Recovery if locked out: disable IP access lists via the cloud console (Azure portal > Databricks workspace > Networking), fix the Terraform config, then re-apply.
Manage personal access tokens (PATs) for API authentication.
Read and update workspace-level configuration keys.
Common settings:
enableTokensConfig -- enable/disable PAT creation for the workspace.maxTokenLifetimeDays -- enforce a maximum token lifetime (0 means no limit).enableIpAccessLists -- enable/disable IP access list enforcement.Get a setting to see its current value. Set a setting to change it. Some settings require workspace restart to take effect.
Tear down Terraform-managed infrastructure.
ALWAYS ask for user confirmation before destroying. Show the user what will be destroyed (workspace name, resource group, VPC, etc.) and wait for explicit approval. Terraform destroy is irreversible -- deleted workspaces, storage accounts, and networking resources cannot be recovered.
When you destroy a Databricks workspace, the workspace name enters a BANNED state on the account side for approximately 1 hour before it can be reused. Symptom on immediate re-create:
Error: workspace name "<name>" is currently BANNED — try again later or pick a new name
Two mitigation patterns for stress-test / dev-loop scenarios where destroy/recreate is common:
${var.prefix}-ws-${random_id.suffix.hex}${var.prefix}-ws-$(date +%Y%m%d-%H%M)For real production destroys, the 1-hour cool-down is rarely a blocker. Just communicate it to the customer if they want immediate recreation under the same name.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (databricks-solutions/ai-platform-kit) — no native marketplace selected
npx claudepluginhub p/databricks-solutions-databricks-platform-kit6 skills in this plugin
/databricks-deployment-verificationMANDATORY post-deployment verification. After any workspace + Unity Catalog deployment, you MUST run all THREE compute paths against a UC table — classic cluster, serverless SQL warehouse, serverless notebook job. Skipping any of the three is incomplete work. Use whenever a workspace + UC has been freshly deployed or modified./databricks-identity-governanceManage Databricks identity and governance. Use when the user asks to create groups, users, service principals, set up RBAC, manage permissions, workspace assignments, or configure access control./databricks-platform-provisioningProvision and test Databricks workspaces. Use when the user asks to create a workspace, set up a new environment, provision infrastructure, bootstrap Databricks, test a workspace, verify a deployment, or run validation checks against a Databricks workspace. Covers Azure, AWS, and GCP./databricks-private-networkingSet up private networking for Databricks. Use when the user asks about private link, hub-spoke architecture, NCC (Network Connectivity Configuration), serverless connectivity to private resources, VPC endpoints, or private endpoints./databricks-unity-catalog-setupSet up Unity Catalog on Databricks workspaces. Use when the user asks to configure Unity Catalog, create a metastore, set up catalogs, schemas, external locations, storage credentials, or configure data governance. Covers Azure, AWS, and GCP.Other plugins' skills for the same job