/databricks:databricks-lakeflow-connectfrom databricks
Guides creation, running, and debugging of Lakeflow Connect managed ingestion pipelines from SQL Server, PostgreSQL, MySQL, and Oracle into Unity Catalog Delta tables via CDC or query-based modes.
Ships in databricks. 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.
Read when SKILL.md points to them; scripts run unread.
Managed ingestion pipelines from databases into Unity Catalog Delta tables (SaaS apps and Kafka / RabbitMQ topics: databricks-lakeflow-connect-saas).
The docs pages win. Release stage, prerequisites, grants, limits, error text and field names change between releases: read the source's pages below before you build, and the workspace's error before this skill. This skill holds the order of steps, the gates, and the traps the pages don't state.
| If the source is... | Use | Skill |
|---|---|---|
| A database with a managed connector | Lakeflow Connect | this skill |
| A SaaS app (Salesforce, Workday, ServiceNow, SharePoint, ...) or a Kafka / RabbitMQ topic | Lakeflow Connect | databricks-lakeflow-connect-saas |
| Files on cloud object storage | Auto Loader | databricks-pipelines |
| A source to query in place, no copy | Lakehouse Federation | n/a |
| An app or device that pushes events | Zerobus | databricks-zerobus-ingest |
Pages are https://docs.databricks.com/ingestion/lakeflow-connect/<source>-<page>. For a mode marked "-", look for its page first (<source>-integrated-pipeline for integrated CDC, <source>-pipeline for standard CDC): if it exists, follow it; if it isn't found, tell the user Lakeflow Connect's docs have no page for
Source (<source>) | Integrated CDC | Standard CDC (gateway) | Query-based | Setup, limits, errors |
|---|---|---|---|---|
SQL Server (sql-server) | integrated-pipeline | pipeline | yes | source-setup, limits, troubleshoot |
MySQL (mysql) | integrated-pipeline | pipeline | yes | source-setup, limits, troubleshoot |
PostgreSQL (postgresql) | - | pipeline | yes | source-setup, limits, troubleshoot |
Oracle (oracle) | integrated-pipeline | - | yes | integrated-setup, limits, troubleshoot |
| Teradata, MariaDB, any Federation foreign catalog | - | - | yes | query-based overview, limits |
Which mode: CDC without a kind named: ask which (integrated, one pipeline; standard, a gateway that runs and bills continuously), unless the source has one. "Standard", "two-pipeline" or "gateway" → standard. Every change or low source load → CDC (hard deletes with query-based: its limits page); otherwise, or when CDC can't be turned on at the source → query-based. A mode marked "-" with no page found (or the docs not reachable): tell the user as in Modes per source, offer the modes it has, and don't author the requested one, even to try it. Never switch to standard silently: its gateway runs and bills continuously.
Field names and stages: databricks bundle schema (pipelines.IngestionPipelineDefinition). An ingestion pipeline has ingestion_definition, never libraries; CREATE TABLE ... FROM CONNECTION is Federation, not ingestion.
| Mode | Pipelines | Marking fields |
|---|---|---|
| Integrated CDC | one | connection_name + connector_type: CDC; data_staging_options (catalog, schema); every field the source's page says a create request must include (Oracle and MySQL: channel: PREVIEW) |
| Standard CDC | gateway + ingestion | gateway: gateway_definition (connection_name, gateway_storage_catalog, _schema, _name); ingestion: ingestion_gateway_id: ${resources.pipelines.<gateway>.id}; source_type and the source's settings where its page's example has them (PostgreSQL: source_type: POSTGRESQL, source_configurations[].catalog.postgres.slot_config) |
| Query-based, connection | one | connection_name, no connector_type; per table table_configuration.query_based_connector_config.cursor_columns (a list), primary_keys, scd_type |
| Query-based, foreign catalog | one | ingest_from_uc_foreign_catalog: true, no connection_name; source_catalog = the foreign catalog; primary_keys required unless APPEND_ONLY |
Every object: table with source_catalog / source_schema / source_table, destination_catalog / destination_schema (destination_table only to rename), or schema for a whole source schema. Per source: sources.md.
Before creating, find what each pipeline would run on with serverless unset: the mode's pipeline page, and pipelines of the same mode already in this workspace (databricks pipelines list-pipelines; update.config.serverless of their latest update in databricks pipelines get-update <id> <update-id> -o json: true serverless, false classic). Compare that with the compute the user asked for: set serverless (and a clusters block for classic, as the mode's page shows) only when they differ, otherwise leave it unset. After the first update, read the same field to confirm. If the page says a mode or one of its pipelines (a gateway, an ingestion pipeline) can't run on the compute asked for, say so and offer what the page allows.
Details and the two compute failures: modes.md.
Ask for every missing input in one message (source, connection, tables, destination catalog and schema, mode, compute, schedule), list what you'll create, and wait for one "yes"; then run the setup without asking again. Never create a stand-in source without the user's go-ahead. Check:
CONNECTION with the source credentials: password as secret('<scope>', '<key>') (CREATE CONNECTION: use the secret function for any credential). After a rotation, run ALTER CONNECTION <name> OPTIONS (..., password secret('<scope>', '<key>')) with the options from the CREATE (DESCRIBE CONNECTION lists only some), then test the connection with a read. Write a request body with a password to a file only you can read, never on a command line.source-setup page, and its traps in sources.md. Changes to the customer's database (CDC on a table, a slot): give the SQL to the user or their DBA; ask first.<base>_<epoch> for pipeline, schema, job and bundle (standard CDC: <base>_gw_<epoch> and <base>_ap_<epoch>; staging <base>_<epoch>_staging). mode: development prefixes names, so slot and schema names taken from them stop matching.databricks bundle deploy, then databricks bundle run <key> --no-wait (or pipelines start-update <id>), then get-update until COMPLETED or FAILED; integrated CDC updates run long by design (smart closure).pipeline_task; whether the mode can also run continuously, the mode's pipeline page says.COMPLETED status or low lag isn't proof rows landed. Rows per table per run: rows-per-run.md.Read the full message (CLI error, deploy output, ERROR/WARN events with details), then the source's troubleshoot page, then troubleshooting.md and sources.md. Then decide: a setting to change (take the value the message names), a missing grant (report the privilege and who grants it), a feature not enabled ("Ingestion source 'bundle destroy for what a failed deploy left.
| File | When |
|---|---|
| modes.md | Integrated CDC, standard CDC, query-based: how each behaves, one example each, compute failures |
| sources.md | SQL Server, PostgreSQL, MySQL, Oracle: names per source, prerequisite traps, errors from runs |
| troubleshooting.md | Event log, cross-pipeline errors, table limits, runtime per update |
| rows-per-run.md | Rows per table per run (scripts/rows_per_run.sql) |
databricks-pipelines (runtime, event log), databricks-dabs (bundles), databricks-jobs (pipeline_task), databricks-unity-catalog (catalogs, connections), databricks-lakebase (Lakebase projects and roles), databricks-zerobus-ingest (push).
agents/openai.yaml (opens in a new tab)assets/databricks.png (opens in a new tab)assets/databricks.svg (opens in a new tab)references/modes.md (opens in a new tab)references/rows-per-run.md (opens in a new tab)references/sources.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)scripts/rows_per_run.sql (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub databricks/databricks-agent-skills --plugin databricks37 skills in this plugin
/databricks-aibi-dashboardsCreate Databricks AI/BI dashboards. Must use when creating, updating, or deploying Lakeview dashboards as Databricks Dashboard have a unique json structure. CRITICAL: You MUST test ALL SQL queries via CLI BEFORE deploying. Follow guidelines strictly./databricks-ai-functionsUse Databricks built-in AI Functions (ai_classify, ai_decide, ai_extract, ai_summarize, ai_mask, ai_translate, ai_fix_grammar, ai_gen, ai_analyze_sentiment, ai_similarity, ai_parse_document, ai_prep_search, ai_query, ai_forecast) to add AI capabilities directly to SQL and PySpark pipelines without managing model endpoints. Also covers document parsing and building custom RAG pipelines (parse → prep_search → index → query)./databricks-Other plugins' skills for the same job