Oracle AI Data Platform — Migrator for Databricks (Claude Code plugin)
Migrate Databricks notebooks, jobs, and catalogs onto Oracle AIDP — in natural language.
Drives the AIDP Databricks Migration Toolkit (a Claude-with-tool-use migrator that runs cells live on the AIDP cluster, verifies, and self-fixes) end-to-end from Claude Code.
Canonical home: oracle-samples/oracle-aidp-samples/ai/claude-code-plugins/oracle-ai-data-platform-workbench-databricks-migrator.
End users install via Anthropic's community marketplace (see Install).
This plugin is self-contained — it ships the full Python migrator engine bundled under engine/. After install, skills invoke the engine via ${CLAUDE_PLUGIN_ROOT}/engine/scripts/... — no separate clone required.
Status: v0.3.0 — self-contained release (engine bundled).
What it does
| Area | Skills |
|---|
| Bootstrap & setup | aidp-migrator-overview, aidp-migrator-bootstrap |
| Export from Databricks | aidp-dbx-export |
| Plan & inventory | aidp-build-dag, aidp-check-data |
| Notebook migration | aidp-migrate-job, aidp-fixup-cell, aidp-resume-migration |
| Catalog migration | aidp-migrate-catalog, aidp-bucket-mapping |
| Verification & quality | aidp-acceptance-contract |
Each skill is a single-file Markdown SKILL.md with a clear "When to use" trigger so Claude routes correctly without external direction.
What gets automated end-to-end
Databricks workspace AIDP DataLake
───────────────────── ──────────────
Unity Catalog / HMS schemas + tables (DDL) ──┐
│ ├──→ Catalog migration (batched DDL replay)
External s3:// table locations ──┘ 10 implemented rewrite rules:
• 3-part → 2-part name flatten
• s3://→oci:// via bucket-map
• source format preserved (Delta stays Delta)
• delta.* / spark.sql.* catch-all scrub
• MV / streaming rejection
• CREATE SCHEMA COMMENT-colon strip
Notebooks (.dbc + .ipynb + .py) ──→ dbx_export (3 phases: discover+download →
Jobs + schedules + task DAGs upload → clusters+workflow), then
Notebook migration (per workflow / per task)
Pass 1: %run dep tree, code-only rewrites
Pass 2: cell-by-cell execute on AIDP cluster,
4-way verify (status / stderr / Spark
logs / Opus eval), up to 5 fix attempts,
fixup_cell rewind for replays.
Output: per-job .ipynb + JOB_REPORT.md
Signature differentiators
- Cell-by-cell execute / verify / fix loop — the migrator runs each Databricks-rewritten cell on a live AIDP cluster, parses the output, and self-corrects via Claude with tool use (19 tools in this engine snapshot:
explore_path, suggest_oci_path, search_catalog, run_on_cluster, describe_table, list_schemas_and_tables, read_notebook_source, inspect_package_source, summarize_notebook, submit_code, make_note, get_cell_history, get_history_entry, get_tool_output, get_job_parameters, repair_dependency, scan_sensitive_info, submit_data_recovery_plan, fixup_cell).
- Write-redirect sandbox schema — source data is never touched during migration. Every
.saveAsTable(...) / INSERT INTO is silently redirected to a sandbox schema, then verified post-run.
- Acceptance contract — for batch / streaming pipelines, declare PASS only after K consecutive empty-pending windows (consecutive-zero convergence).
When to use this plugin
You're moving a Databricks workload onto AIDP and want Claude Code to drive the whole port. Typical asks:
- "Migrate this Databricks job to AIDP" / "port my workflow"
- "Build a migration manifest from this Databricks workspace path"
- "My migrated notebook fails at cell 23 — fix it"
- "Migrate the Unity Catalog DDL into the AIDP default catalog"
- "Check whether the source tables are available before I migrate"
- "Resume the migration from task X"
- "Set up the acceptance contract for the streaming task"
Install