# databricks-lakebase

This skill guides agents through Databricks Lakebase Postgres projects, app connectivity, scaling, and synced tables. Use it when working with Lakebase databases or OLTP storage.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 903 installs · ★ 372
- Author: databricks
- License: LicenseRef-Unknown · policy=link-only · description only; the file stays with the author
- Source: https://github.com/databricks/databricks-agent-skills/tree/HEAD/skills/databricks-lakebase/SKILL.md
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/databricks-lakebase

## What it does

The skill covers Lakebase Autoscaling through the `databricks postgres` CLI. It guides project and branch management, compute scaling, PostgreSQL connections, and use of the Data API. It also covers syncing Unity Catalog tables into Postgres and integrating Lakebase with Databricks Apps.

You need Databricks CLI version `0.294.0` or later. For CLI basics, authentication, and profile selection, the skill points to `databricks-core`. It recommends checking CLI help before running commands, rather than guessing their syntax. Lakebase commands use the `postgres` group, so instructions written for the retired Provisioned tier may not apply.

## Requirements
- Works with: Databricks, PostgreSQL

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add databricks/databricks-agent-skills --skill databricks-lakebase -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/databricks-lakebase/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/databricks-lakebase/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add databricks/databricks-agent-skills --skill databricks-lakebase -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/databricks-lakebase/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add databricks/databricks-agent-skills --skill databricks-lakebase -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/databricks-lakebase/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install databricks/databricks-agent-skills databricks-lakebase
```

2. **Manually: put the files in place**
- File: `.github/skills/databricks-lakebase/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add databricks/databricks-agent-skills --skill databricks-lakebase -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/databricks/databricks-agent-skills --path skills/databricks-lakebase
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/databricks-lakebase/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add databricks/databricks-agent-skills --skill databricks-lakebase -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/databricks/databricks-agent-skills/tree/HEAD/skills/databricks-lakebase/SKILL.md

## When to use it
- create a Lakebase project and inspect its branches
- connect an app to Databricks-hosted PostgreSQL
- adjust compute capacity and configure scale-to-zero
- sync Unity Catalog tables into Postgres
- make HTTP CRUD requests through the Data API

## Example prompts
- Help me create a Lakebase project and check its branches and endpoints.
- Show me how to connect this app to a Lakebase PostgreSQL database.
- Explain how to sync a Unity Catalog table into Postgres.

## Similar
- [sql-queries](https://affpapa.org/en/nevibecode/skills/sql-queries.md) — skill · 4500 installs
- [neon-ai-gateway](https://affpapa.org/en/nevibecode/skills/neon-ai-gateway.md) — skill · 27700 installs
- [migrating-dbt-project-across-platforms](https://affpapa.org/en/nevibecode/skills/migrating-dbt-project-across-platforms.md) — skill · 526 installs
- [firebase-data-connect](https://affpapa.org/en/nevibecode/skills/firebase-data-connect.md) — skill · 168800 installs
- [neon-object-storage](https://affpapa.org/en/nevibecode/skills/neon-object-storage.md) — skill · 28200 installs
- [cmux-backend](https://affpapa.org/en/nevibecode/skills/cmux-backend.md) — skill · 4700 installs

From the same set: [databricks/databricks-agent-skills](https://affpapa.org/en/nevibecode/by/databricks/databricks-agent-skills.md) — 18 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
