/oracle-ai-data-platform-fusion-autopilot:oac-dataset-advisorfrom oracle-ai-data-platform-fusion-autopilot
Turn a natural-language dashboard request into a concrete OAC dataset plan, grounded in the LIVE AIDP gold layer. Inspects the actual materialized Delta tables in the AIDP catalog (evidence — never the content-pack YAMLs), checks what OAC datasets already exist via OAC MCP, then tells the operator exactly which OAC dataset to create (which AIDP gold table(s), which columns, which join key) — or that an existing dataset can be reused, or that the current gold layer CANNOT serve the request and a new mart is needed. Use when the user says 'I want a dashboard with X and Y', 'what dataset should I create in OAC', 'can my gold layer serve this dashboard', 'do I have the data for this'. Does NOT create datasets/marts — it advises.
Ships in oracle-ai-data-platform-fusion-autopilot. 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.
A planning skill. Given "I want a dashboard with supplier spend and GL balance", it answers three questions, in order:
It advises only — it never creates datasets or marts. Dataset creation is
an OAC action over the AIDP connection (the OAC MCP server has no
create-dataset tool); hand CREATE recommendations to /oac-dataset-setup.
New marts are the job of the mart-authoring skill.
The evidence is the LIVE AIDP catalog — the Delta tables actually
materialized in <catalog>.<goldSchema> on this tenant — captured at advise
time. Never substitute the content-pack gold/*.yaml outputSchema
declarations. Those are design-time intent: they describe what the pack
would build, not what exists or what the real columns are on this pod. Using
them would let the advisor recommend a dataset over a table that was never
seeded, or with columns that don't match. (Same rule as CLAUDE.md "live
evidence is required for any plugin-portability claim.") Pack metadata such as
PII tags may be layered on as an advisory overlay, never as the evidence.
workbook-authoring: to decide which dataset the workbook will bind to.workbook-authoring (after the
dataset exists).aidp-fusion-autopilot run --mode seed
(or the aidp-fusion-seed skill).| File | Role | Invoked via |
|---|---|---|
../../tests/live/aidp_catalog_probe_live.py | Produces the live listing: dispatches a SHOW TABLES/DESCRIBE notebook to an ACTIVE cluster (the only way — no control-plane metastore REST). | Bash, writes live.json |
catalog_inventory.py | Structures the live AIDP catalog listing (tables→columns) into an inventory + join-key candidates. Evidence of what EXISTS. Refuses to read pack YAMLs. | Bash, JSON in/out |
pack_capability.py | Reads the content pack's gold/silver YAMLs → the buildable menu (what could be materialized if seeded). NOT evidence of existence. Used only to route seed-vs-gap when live is empty/insufficient. | Bash, JSON out |
Two questions, two sources — keep them distinct: the live catalog answers "what exists" (the only thing an OAC dataset can bind to); the content pack answers "what could be built". Never let the pack stand in for live evidence.
Extract: the metrics (measures), the dimensions/grain to slice by, any time grain, filters, and the business concepts named (e.g. "supplier spend", "GL balance", "by currency"). Note when the request implies combining two subjects (→ a join/blend is needed).
List the gold tables that actually exist and their real columns — do NOT read the pack YAMLs.
The AIDP metastore is Spark-side, not on the control plane. A control-plane
GET .../catalogsreturns 404NotAuthorizedOrNotFound(verified live 2026-06-15) — there is no REST metastore browse. The listing MUST come from SQL run on an ACTIVE cluster (SHOW TABLES/DESCRIBE).
Proven method — dispatch a tiny catalog-probe notebook (no wheel, reuses
the bundle's AidpRestClient):
.venv/bin/python tests/live/aidp_catalog_probe_live.py \
--aidp-id <OCID> --workspace-key <key> --cluster-key <key> \
--cluster-name <name> --schema gold --out live.json
It runs SHOW TABLES IN <catalog>.gold + DESCRIBE TABLE for each on the
cluster and writes the live-catalog JSON directly. Coords come from
aidp.config.yaml / the gitignored .env (AIDP_DATALAKE_OCID,
AIDP_WORKSPACE_KEY, AIDP_CLUSTER_ID, …); the cluster must be ACTIVE
(start it first if STOPPED). Resolve <catalog>/<goldSchema> from
bundle.yaml's aidp.catalog / aidp.goldSchema.
Alternative: the workbench aidp-catalog-explore / aidp-analyzing-data
skills run the same SHOW TABLES/DESCRIBE if that plugin is installed.
Then structure the listing:
# live.json = {"catalog":"fusion_catalog","schema":"gold",
# "tables":{"gl_balance":[{"name","type"}...], ...}}
python3 catalog_inventory.py --input live.json
catalog_inventory.py returns the per-table columns plus
joinKeyCandidates (non-audit columns shared across ≥2 tables — the keys a
multi-table dataset can join on, e.g. currency_code).
tableCount: 0) → nothing is materialized. Do NOT
dead-end on "seed" yet, and do NOT proceed off pack declarations as if they
were live. Go to step 2a to decide whether seeding would even help.When the live catalog has no gold tables, or has some but they lack a needed metric/dimension, do not jump to "seed" and do not invent tables. Consult what the pack could build if seeded:
python3 pack_capability.py # buildable marts (design-time, NOT live)
Compare the pack's buildableMarts columns against the dashboard intent:
aidp-fusion-autopilot run --mode seed (or /aidp-fusion-seed) to build it,
then re-run this advisor. (Name which marts seeding will produce.)<name the missing ones>." Then hand off to the mart-authoring skill
(next in the family): it takes the business logic and authors a new mart
(or an additive column) — inspecting the Fusion PVO source schema (not
bronze) to see what raw fields exist, and choosing the lowest-cost,
additive, non-destructive change (new .yaml+.sql, or a new column) that
never reprocesses already-materialized terabyte-scale bronze/silver.Keep the distinction explicit in the message: live = what exists; pack = what's buildable. "Pack covers it" never means the table exists — it means seeding would create it.
When live gold tables DO exist, decide from the live columns which table(s) supply each requested metric and dimension. Three outcomes:
joinKeyCandidate → recommend one OAC dataset combining those tables
joined on that key (e.g. gl_balance + supplier_spend on currency_code).
Name the exact columns to include from each.Before recommending creation, check OAC via MCP:
oracle_analytics-search_catalog {type: "datasets", search: "*"} (and
find_matching_datasources for an intent-ranked shortlist) to find datasets
that already point at the recommended gold table(s).oracle_analytics-describe_data on a candidate to confirm it carries the
needed columns.Then:
xsaExpr); do not create a duplicate.Emit one of:
<path> — it already
covers <tables/columns>."<a>: columns <…><b>: columns <…> (when multi-table)<a>.<key> = <b>.<key>
Creation is an OAC UI action over the AIDP connection — the OAC MCP server
reads/searches the catalog but cannot create datasets. Hand this
recommendation to /oac-dataset-setup; after it verifies the dataset, hand
to workbook-authoring to build the visualization(s)."Governance overlay (advisory): do not recommend exposing high-PII
columns in the dataset/dashboard. PII labels come from the pack's
outputSchema (advisory metadata) layered on top of the live evidence — never
as a substitute for it.
/oac-dataset-setup and workbook-authoring: this skill
decides which dataset; setup guides and verifies the OAC UI checkpoint; the
workbook skill binds visualizations to it (and needs the real XSA(...)
subject area from describe_data)..yaml +
.sql) or an added column — over anything that reprocesses existing data;tests/live/aidp_catalog_probe_live.py, or workbench
aidp-catalog-explore); there is no control-plane metastore REST. Plus OAC
MCP read tools and an ACTIVE cluster.content_packs/*/gold/*.yaml.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ahmedawan-oracle/claude-code-plugins --plugin oracle-ai-data-platform-fusion-autopilot16 skills in this plugin
/aidpf-error-triageRead-only triage router for Oracle AIDP Fusion Autopilot failures. Use when the user pastes CLI output, a traceback, an `.aidp/diagnostics` path, a run id, or says bootstrap, validate, seed, incremental, dashboard, OAC, or workbook failed. Extract `AIDPF-*` codes, affected run id, dataset, layer, variation point, or diagnostic artifact; explain the failure briefly; route to the correct skill or command such as `/aidp-fusion-config`, `/aidp-fusion-bootstrap`, `/medallion-author`, `/fusion-drift-doctor`, `/aidp-fusion-seed`, `/aidp-fusion-incremental`, `/oac-dataset-setup`, or `/workbook-authoring`. Also triage non-AIDPF OAC MCP disconnect symptoms. Never run destructive seed, never edit profiles or overlays, and never bypass drift gates./aidp-fusion-autopilotEnd-to-end conductor for the Fusion to AIDP to OAC dashboard journey. Takes one high-level goal ('I want a supplier-spend vs GL-balance dashboard from Fusion') and drives the whole chain: configure, connect OAC MCP, bootstrap, seed, advise dataset, author mart if needed, create OAC dataset, author workbook, and optionally enable end-user MCP chat by detecting current state and delegating each step to the right sibling skill/command. Auto-advances on clean steps; pauses for real decisions (destructive seed, variation freeze, OAC dataset creation, ambiguous intent, gaps). Use when the user states a dashboard/analytics goal and wants it driven start-to-finish, OR on first run after installing the plugin: 'I just installed this, what now', 'get me started', 'set me up', 'set up Fusion analytics from scratch / end to end', 'autopilot this', 'take me from nothing to a dashboard'. This is the front door for a fresh install (setup scaffolds the bundle). NOT for a single known step (call that skill directly).Other plugins' skills for the same job