/oracle-ai-data-platform-workbench-databricks-migrator:aidp-dbx-exportfrom oracle-ai-data-platform-workbench-databricks-migrator
Exports a Databricks job into AIDP by copying notebooks, JARs, init scripts, workflow and cluster specs via python3 -m dbx_export. Run this first before aidp-build-dag or aidp-migrate-job when the workload lives only in Databricks.
Ships in oracle-ai-data-platform-workbench-databricks-migrator. 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.
None: SKILL.md is the whole skill.
aidp-dbx-export — export a Databricks job into AIDPdbx_export is the canonical Databricks ingestion path: it replicates a Databricks Job — notebooks, libraries/JARs, init scripts, workflow + cluster specs — into an AIDP workspace. It does not rewrite code (dbutils.*, s3:// paths, DBFS calls stay exactly as on DBX); code-level migration is the later aidp-migrate-job stage. Think dbx → aidp replication.
aidp-build-dag (which reads the AIDP workflow this export creates).--overwrite).dbx_export is a package — run it with -m from the engine directory:
cd ${CLAUDE_PLUGIN_ROOT}/engine
python3 -m dbx_export --config <customer>.yaml --job-id <dbx-job-id>
--job-id — the Databricks job_id to export (required unless --probe, a connectivity-only check).--config — customer YAML (falls back to $AIDP_CONFIG_PATH, ./aidp_migrator.yaml, ~/aidp_migrator.yaml). Supplies the AIDP coordinates and paths.export_output.DATABRICKS_HOST + DATABRICKS_TOKEN env (direct, from a laptop) OR --dbx-proxy host:port (cluster-side runs; optional --proxy-basic-user/-pass). Prefer the env vars over --dbx-token so the PAT never appears in argv.Useful flags:
| Flag | Purpose |
|---|---|
--export-output <path> | AIDP base path for ALL exported artifacts (default cfg.paths.export_output; --target-base is a back-compat alias) |
--prefix <name> | Prefix for the created AIDP workflow + cluster names (default ai_tool) |
--dry-run | Phase 1 + pre-flight only — no AIDP writes; use it to validate before exporting |
--notebook-only | Upload the notebook tree only; skip files/jars AND Phase 3 (no cluster/workflow creation) |
--overwrite | Force re-upload / re-create (the DEFAULT is no-overwrite — a run never clobbers prior artifacts) |
--strict / --strict-deps / --strict-jars / --strict-unresolved-jars | Fail-loud variants (see below) |
--param KEY=VALUE | Repeatable; resolves widget-based notebook.run paths during discovery |
--cluster-key <key> | Reuse an existing AIDP cluster for all tasks instead of creating new ones |
--max-depth <n> | BFS depth cap for child-job recursion (default 10) |
--lake-ocid / --workspace-id / --oci-profile | Per-run overrides of the YAML |
| Phase | What happens | AIDP writes? |
|---|---|---|
| 1 — Discover + download | Fetch the DBX job, recurse %run / dbutils.notebook.run / child jobs, download every notebook + library + init script, cross-validate formats. A PRE-FLIGHT gate then prints a summary (notebook counts, files, child jobs, cluster/workflow names). | no |
| 2 — Upload | Upload notebooks + jars/init scripts/wheels to AIDP with read-back validation. Writes only under <export-output>. | yes |
| 3 — Clusters + workflow | Create/reuse the <prefix>_<name> cluster(s), install file-backed libraries, create the <prefix>_<name> workflow pointing at the uploaded notebooks. | yes |
If Phase 2 fails partway, partial uploads stay in place (the exporter never deletes anything); a re-run picks up where it left off.
Library/JAR dependencies are resolved AIDP-first: the shared dependency repository paths.lib_repository_dir (default /Workspace/migration-dependencies/libs/) is checked before any Databricks or proxy fetch. A dependency already staged there (matched by name/checksum) is reused; only misses go out to DBX/proxy. Stage recurring customer JARs/wheels in that repository once and every export benefits.
Failure semantics (fail-loud where it matters, non-blocking where decided):
--strict-jars aborts instead.--strict-deps; a 404 for a path inferred only from loose literal scanning is a reported skip.--overwrite is an explicit operator choice.--dry-run / --notebook-only.aidp-build-dag — build the manifest from the created AIDP workflow (--job-key <workflow-key>).aidp-check-data — verify source data availability.aidp-migrate-job — the actual code migration.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 skills in this plugin
/aidp-acceptance-contractManifest-declared acceptance contract for batch and streaming pipelines that need convergence verification, not just "no exceptions". Declares PASS only after K consecutive zero-result windows (consecutive-zero-window convergence). Use for streaming jobs, slowly-draining backfills, or any pipeline whose success is "the pending queue is empty"./aidp-bucket-mappingConfigure the s3:// → oci:// bucket / namespace mapping the migrator uses to rewrite paths during notebook + catalog migration. Use when (a) the user has external tables / files at s3:// paths that need to land on OCI Object Storage, OR (b) check_data_availability reports s3:// paths as NOT FOUND because the bucket isn't mapped, OR (c) the DDL rewriter logs an R02_BUCKET_UNMAPPED warning./aidp-build-dagBuild a migration manifest (the execution DAG) from an AIDP workflow (exported from Databricks by dbx_export). Walks %run dependency chains, captures dbutils.notebook.run invocations, and emits reports/<job>_manifest.json — the input every other execute-skill consumes. Use when the user wants to see what would migrate, or before invoking aidp-migrate-job for the first time on a new workload./aidp-check-dataPre-migration data-availability scan. Reads every notebook in a migration manifest, extracts every spark.read.table / spark.read.parquet / saveAsTable reference, and probes whether each target schema/table/path exists on the AIDP cluster BEFORE you spend Pass-2 cluster time. Use after aidp-build-dag and before aidp-migrate-job, especially the first time you migrate against a target environment./aidp-fixup-cellTargeted rewind of a migrated notebook. Re-executes cells from history index N onwards (or a specific cell range) through the execute+verify+fix loop, with a 'why' reason injected so Claude knows what to fix. Use when aidp-migrate-job left a notebook at RESULT=PARTIAL or the user identifies a specific cell that is wrong post-migration./aidp-migrate-catalogMigrate Databricks Unity Catalog / HMS schemas + tables onto AIDP. Two-stage extract→rewrite→replay pipeline. The rewriter applies 10 implemented DDL rules (3-part→2-part flatten, s3://→oci:// via bucket-map, source-format preserved (Delta stays Delta) with delta.* property scrub, MV/streaming rejection, CREATE SCHEMA COMMENT-colon strip). Batched single-WebSocket DDL replay works around AIDP's per-statement-discard quirk. Use BEFORE aidp-migrate-job — schemas must exist before notebook reads.Other plugins' skills for the same job
Generated from the plugin's indexed repository (oracle-samples/oracle-aidp-samples) — no native marketplace selected
npx claudepluginhub p/oracle-samples-oracle-ai-data-platform-workbench-databricks-migrator-ai-claude-code-plugins-oracle-ai-data-platform-workbench-databricks-migrator