rbutinar/ade-ops / .agents/skills/databricks-status
databricks-status
VerifiedDatabricks Workspace Status
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.6 KB |
SKILL.md
View on GitHub---
name: databricks-status
description: Databricks Workspace Status
---
# /databricks-status — Databricks Workspace Status
You are checking the **operational status** of a Databricks workspace: clusters, recent job runs, SQL warehouses, current user.
This skill is a thin wrapper around the `databricks` MCP tools.
## Prerequisites
- Databricks MCP server `databricks` configured in `.mcp.json`
## Usage
```
/databricks-status # default: clusters + warehouses + user
/databricks-status clusters # only clusters
/databricks-status runs [--limit N] # recent job runs (default 10)
/databricks-status warehouse # SQL warehouses only
/databricks-status user # whoami
```
Arguments via `$ARGUMENTS`:
- positional `what` — one of `clusters` | `runs` | `warehouse` | `user` (default: all)
- `--limit N` — for `runs`, how many to show (default 10)
## Behavior
### Step 1: Resolve User (always)
```
mcp__databricks__get_current_user()
```
Show the authenticated user and home workspace path — verifies that the MCP profile is bound to the expected workspace.
### Step 2: Clusters
```
mcp__databricks__list_clusters()
```
Render as a table:
| Cluster | State | DBR | Driver Type | Notes |
|---|---|---|---|---|
Highlight in bold the cluster_id matching `overlays/{env}.yaml` `databricks.cluster_id` if defined (when an `--env` is supplied or guessed from the active project).
States to display: `RUNNING`, `TERMINATED`, `PENDING`, `RESIZING`, `RESTARTING`, `ERROR`, `UNKNOWN`.
### Step 3: SQL Warehouses
```
mcp__databricks__list_warehouses()
```
Render:
| Warehouse | State | Size | Auto-stop |
|---|---|---|---|
If `databricks.sql_warehouse_id` is defined in any overlay, mark the matching warehouse with `[configured]`.
### Step 4: Recent Runs
```
mcp__databricks__manage_job_runs(action="list", limit={N}, completed_only=False)
```
Render:
| Run | Status | Duration | Run page |
|---|---|---|---|
Status values: `SUCCESS`, `FAILED`, `RUNNING`, `PENDING`, `CANCELED`, `TIMEDOUT`, `INTERNAL_ERROR`.
The run page URL helps the user jump to the Databricks UI for log inspection.
## Logging
Status checks are **read-only**. Do NOT append to `ops.log` for status calls (would create noise).
## Notes
- `list_clusters()` returns all clusters visible to the user (may include shared/other-user clusters). Use overlay highlighting to disambiguate the "right" one for this project.
- `list_warehouses()` lists all warehouses the user can access.
- For lineage queries, use `/databricks-lineage` (separate skill).
- For SQL exec, use `/databricks-query`.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |