agentleFS
kendrickkendrick/skills/databricks-api/SKILL.md

databricks-api

Skill1 starsChanged 2 months agoMITView on GitHub

Top-level router for Databricks platform REST APIs and the Python SDK. Use for any Databricks API or SDK task: Unity Catalog (catalogs, schemas, tables, grants, lineage, quality monitors), Jobs and Workflows, SQL warehouses and statement execution, Model Serving and AI Gateway, Delta Sharing, Genie, Marketplace, or file management on volumes and DBFS. Also use when you're not sure which Databricks API owns the task.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Grounding rule: every endpoint path, field name, enum value, and permission you emit must come from a bucket file you've read—verified, not …

    line 11
  2. Distinctive:

    Not yet covered (fall back to official docs): Knowledge Assistants, Apps, Compute, Workspace, IAM, Secrets, Pipelines (DLT/Lakeflow), and …

    line 26

≈ “Common” is an estimate: at least 1 in 5 of the 383,637 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Databricks API Reference

Compressed from official Databricks docs. Two-tier routing: this file points you to a domain, each domain's SKILL.md points you to the right bucket file for your task.

Grounding rule: every endpoint path, field name, enum value, and permission you emit must come from a bucket file you've read—verified, not recalled. When a bucket leaves a question open, read the operation's raw doc in {domain}/_docs/raw/.

Quick Routing

What are you trying to do?DomainEntry point
Manage catalogs, schemas, tables, volumes, grants, sharing, lineageUnity Catalogunity-catalog/SKILL.md
List or distribute data products, manage private exchangesMarketplacemarketplace/SKILL.md
Execute SQL, manage warehouses, query historySQLsql/SKILL.md
Create or manage jobs, workflows, runs, complianceJobsjobs-and-workflows/SKILL.md
Serve models, manage endpoints, AI Gateway, provisioned throughputModel Servingmodel-serving/SKILL.md
AI data assistant — Genie spaces, conversations, evalsGeniegenie/SKILL.md
Upload, download, manage files (Files API + DBFS)File Mgmtfile-management/SKILL.md
Manage shares, recipients, providers, activation, federationDelta Sharingdelta-sharing/SKILL.md

Not yet covered (fall back to official docs): Knowledge Assistants, Apps, Compute, Workspace, IAM, Secrets, Pipelines (DLT/Lakeflow), and Dashboards (Lakeview). The roadmap lives in README.md.

Auth (all domains)

REST — all requests

Authorization: Bearer <PAT-or-OAuth-token>
Base URL: https://<workspace-host>

For account-level APIs (metastore admin, user management):

Base URL: https://accounts.cloud.databricks.com

Python SDK

export DATABRICKS_HOST=https://<workspace-host>
export DATABRICKS_TOKEN=dapi...
from databricks.sdk import WorkspaceClient
w = WorkspaceClient()  # auto-detects from env or .databrickscfg

# For account-level APIs:
from databricks.sdk import AccountClient
a = AccountClient()

Auth patterns

  • Local dev: PAT via env var or .databrickscfg profile
  • Deployed Apps (OAuth M2M): Service principal with client_id + client_secret
  • Notebooks: Auto-auth via runtime (no config needed in DBR 13.1+)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.