/oracle-ai-data-platform-workbench-databricks-migrator:aidp-check-datafrom oracle-ai-data-platform-workbench-databricks-migrator
Scans migration manifest notebooks for spark.read.table/parquet and saveAsTable references, then probes AIDP cluster to verify target schemas, tables, and paths exist before running expensive Pass-2 migration.
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-check-data — pre-migration data-availability scanPass-2 of the migrator is expensive (live cluster time + Claude-with-tool-use tokens per cell). Running this scan first catches the "no source table" and "wrong bucket" failure modes in seconds instead of hours.
aidp-build-dag, before aidp-migrate-job.aidp-migrate-catalog (verify schemas + tables actually landed).Workflow-based (the normal case — matches aidp-build-dag's workflow path):
python3 ${CLAUDE_PLUGIN_ROOT}/engine/scripts/check_data_availability_for_workflow.py \
--config <customer>.yaml \
--job-key <workflow-key> \
--cluster <CLUSTER_ID> \
[--manifest reports/<MyJob>_manifest.json] \
[--only-tasks <substrings>] \
[--output reports/<MyJob>_data_check.json] \
[--bucket-mapping <path>]
--job-key is the AIDP job key (UUID); --manifest skips the API fetch when you already built one. --config supplies the AIDP coordinates (--lake-ocid / --workspace-id / --oci-profile are per-run overrides).
Or path-rooted, for a workspace folder:
python3 ${CLAUDE_PLUGIN_ROOT}/engine/scripts/check_data_availability.py \
--root "<workspace-root-path>" \
--cluster <CLUSTER_ID> \
[--bucket-mapping <path>] \
[--lake-ocid <LAKE_OCID> --workspace-id <WORKSPACE_UUID> --oci-profile <profile>]
Walks every notebook in the manifest.
Extracts every reference to:
spark.read.table("...") / spark.table("...")spark.read.parquet/csv/json/delta("...").saveAsTable("...") (target — wrote-to)%sql / spark.sql(...) stringsFor each unique reference, opens a Spark session on the cluster and runs a probe:
DESCRIBE TABLE <fq> (and SHOW TABLES IN <schema> to differentiate "schema missing" from "table missing")dbutils.fs.ls(path) via the migrator's helperEmits a report with these classes:
There is no EMPTY class — an existing-but-empty table reports as EXISTS (0 rows); judge emptiness from the printed count.
Sample shape:
Storage Paths (2)
EXISTS (52 items) oci://<bucket>@<ns>/path/to/file (used by: <task_a>)
NOT FOUND oci://<bucket>@<ns>/missing/path
Suggestions: oci://<bucket>@<ns>/other/path
Spark Tables (3)
EXISTS (1234567 rows) <schema>.<table_a>
MISSING <schema>.<table_b>
ERROR <schema>.<table_c>: <probe error>
RESULT: ALL DATA AVAILABLE - ready to migrate ← only when nothing is missing
RESULT: <n> data sources missing - check suggestions above
MISSING / NOT FOUND rows → Pass-2 will definitely fail at those cells. Options:
aidp-migrate-catalog if the underlying schema is missing.aidp-bucket-mapping if s3:// → oci:// rewrites haven't been done.ERROR rows → the probe failed (permissions, malformed reference, cluster hiccup). Root-cause before migrating — an ERROR is not evidence the data exists.
EXISTS (0 rows) → Pass-2 may pass (no error) but produce empty downstream tables. This is the silent failure mode. Decide whether to:
If the manifest references s3:// paths, the scanner consults the S3→OCI bucket mapping CSV (cfg.bucket_mapping.path, default config/bucket_map.csv; per-run override --bucket-mapping <path>) to translate before probing. If the mapping is missing the bucket, the path cannot be translated and probes as NOT FOUND (with suggestions when a fuzzy match exists). Fix via aidp-bucket-mapping and re-run.
DESCRIBE — sub-second on a warm cluster.listObjects against OCI Object Storage — also fast.schema.table (no catalog), the scanner resolves against the cluster's current catalog (default). If the user expects a non-default catalog, surface that mismatch.Stopped cluster will make every probe fail with a connection error — instruct the user to start the cluster first.If RESULT: ALL DATA AVAILABLE: proceed to aidp-migrate-job.
If anything is MISSING / NOT FOUND: resolve via aidp-migrate-catalog or aidp-bucket-mapping and re-run this skill.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-migrator11 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.Other plugins' skills for the same job